Ported the EBC driver to use the MDE Base Math lib functions. Removed math functions from EBC driver. Need to check to see if MDE Math lib ASSERT behavior will cause any issues with EBC driver?

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1814 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
ajfish
2006-10-22 08:15:46 +00:00
parent 1babed138f
commit 6d7338ae38
9 changed files with 84 additions and 2055 deletions

View File

@@ -234,73 +234,7 @@ EbcExecute (
)
;
//
// Math library routines
//
INT64
DivS64x64 (
IN INT64 Value1,
IN INT64 Value2,
OUT INT64 *Remainder,
OUT UINT32 *Error
)
;
#if 0
UINT64
DivU64x64 (
IN UINT64 Value1,
IN UINT64 Value2,
OUT UINT64 *Remainder,
OUT UINT32 *Error
)
;
#endif
INT64
MulS64x64 (
IN INT64 Value1,
IN INT64 Value2,
OUT INT64 *ResultHigh
)
;
UINT64
MulU64x64 (
IN UINT64 Value1,
IN UINT64 Value2,
OUT UINT64 *ResultHigh
)
;
UINT64
DivU64x64 (
IN UINT64 Value1,
IN UINT64 Value2,
OUT UINT64 *Remainder,
OUT UINT32 *Error
)
;
INT64
ARightShift64 (
IN INT64 Operand,
IN INT64 Count
)
;
UINT64
LeftShiftU64 (
IN UINT64 Operand,
IN UINT64 Count
)
;
UINT64
RightShiftU64 (
IN UINT64 Operand,
IN UINT64 Count
)
;
UINT64
GetVmVersion (