OpenCore  1.0.4
OpenCore Bootloader
Loading...
Searching...
No Matches
UserMath.c File Reference
#include <Uefi.h>
#include <Library/UefiLib.h>
#include <Library/UefiApplicationEntryPoint.h>
#include <Library/DebugLib.h>

Go to the source code of this file.

Functions

UINT64 EFIAPI DivU64x32 (IN UINT64 Dividend, IN UINT32 Divisor)
 
UINT64 EFIAPI DivU64x32Remainder (IN UINT64 Dividend, IN UINT32 Divisor, OUT UINT32 *Remainder OPTIONAL)
 
INT64 EFIAPI DivS64x64Remainder (IN INT64 Dividend, IN INT64 Divisor, OUT INT64 *Remainder OPTIONAL)
 
UINT64 EFIAPI DivU64x64Remainder (IN UINT64 Dividend, IN UINT64 Divisor, OUT UINT64 *Remainder OPTIONAL)
 
UINT64 EFIAPI LShiftU64 (IN UINT64 Operand, IN UINTN Count)
 
UINT64 EFIAPI RShiftU64 (IN UINT64 Operand, IN UINTN Count)
 
UINT64 EFIAPI MultU64x32 (IN UINT64 Multiplicand, IN UINT32 Multiplier)
 
INT64 EFIAPI MultS64x64 (IN INT64 Multiplicand, IN INT64 Multiplier)
 
UINT64 EFIAPI MultU64x64 (IN UINT64 Multiplicand, IN UINT64 Multiplier)
 
UINT64 SwapBytes64 (UINT64 Operand)
 

Detailed Description

Copyright (c) 2020, PMheart. All rights reserved. SPDX-License-Identifier: BSD-3-Clause

Definition in file UserMath.c.

Function Documentation

◆ DivS64x64Remainder()

INT64 EFIAPI DivS64x64Remainder ( IN INT64 Dividend,
IN INT64 Divisor,
OUT INT64 *Remainder OPTIONAL )

Definition at line 42 of file UserMath.c.

◆ DivU64x32()

UINT64 EFIAPI DivU64x32 ( IN UINT64 Dividend,
IN UINT32 Divisor )

Definition at line 13 of file UserMath.c.

◆ DivU64x32Remainder()

UINT64 EFIAPI DivU64x32Remainder ( IN UINT64 Dividend,
IN UINT32 Divisor,
OUT UINT32 *Remainder OPTIONAL )

Definition at line 25 of file UserMath.c.

◆ DivU64x64Remainder()

UINT64 EFIAPI DivU64x64Remainder ( IN UINT64 Dividend,
IN UINT64 Divisor,
OUT UINT64 *Remainder OPTIONAL )

Definition at line 59 of file UserMath.c.

◆ LShiftU64()

UINT64 EFIAPI LShiftU64 ( IN UINT64 Operand,
IN UINTN Count )

Definition at line 76 of file UserMath.c.

◆ MultS64x64()

INT64 EFIAPI MultS64x64 ( IN INT64 Multiplicand,
IN INT64 Multiplier )

Definition at line 106 of file UserMath.c.

◆ MultU64x32()

UINT64 EFIAPI MultU64x32 ( IN UINT64 Multiplicand,
IN UINT32 Multiplier )

Definition at line 96 of file UserMath.c.

◆ MultU64x64()

UINT64 EFIAPI MultU64x64 ( IN UINT64 Multiplicand,
IN UINT64 Multiplier )

Definition at line 116 of file UserMath.c.

◆ RShiftU64()

UINT64 EFIAPI RShiftU64 ( IN UINT64 Operand,
IN UINTN Count )

Definition at line 86 of file UserMath.c.

◆ SwapBytes64()

UINT64 SwapBytes64 ( UINT64 Operand)

Definition at line 125 of file UserMath.c.