mirror of https://github.com/acidanthera/audk.git
Changed to pass the build with Visual Studio 2005
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4075 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
15d10a4c78
commit
db01f13e00
|
@ -294,7 +294,7 @@ EhcConvertPollRate (
|
||||||
BitCount++;
|
BitCount++;
|
||||||
}
|
}
|
||||||
|
|
||||||
return 1 << (BitCount - 1);
|
return (UINTN)1 << (BitCount - 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -53,7 +53,7 @@ text SEGMENT
|
||||||
CopyMem PROTO Destination:PTR DWORD, Source:PTR DWORD, Count:DWORD
|
CopyMem PROTO Destination:PTR DWORD, Source:PTR DWORD, Count:DWORD
|
||||||
|
|
||||||
|
|
||||||
EbcLLCALLEXNative PROC NEAR PUBLIC
|
EbcLLCALLEXNative PROC PUBLIC
|
||||||
push rbp
|
push rbp
|
||||||
push rbx
|
push rbx
|
||||||
mov rbp, rsp
|
mov rbp, rsp
|
||||||
|
@ -101,7 +101,7 @@ EbcLLCALLEXNative ENDP
|
||||||
; Returns:
|
; Returns:
|
||||||
; The contents of the register in which the entry point is passed.
|
; The contents of the register in which the entry point is passed.
|
||||||
;
|
;
|
||||||
EbcLLGetEbcEntryPoint PROC NEAR PUBLIC
|
EbcLLGetEbcEntryPoint PROC PUBLIC
|
||||||
ret
|
ret
|
||||||
EbcLLGetEbcEntryPoint ENDP
|
EbcLLGetEbcEntryPoint ENDP
|
||||||
|
|
||||||
|
@ -124,7 +124,7 @@ EbcLLGetEbcEntryPoint ENDP
|
||||||
;--*/
|
;--*/
|
||||||
|
|
||||||
; UINTN EbcLLGetStackPointer()
|
; UINTN EbcLLGetStackPointer()
|
||||||
EbcLLGetStackPointer PROC NEAR PUBLIC
|
EbcLLGetStackPointer PROC PUBLIC
|
||||||
mov rax, rsp ; get current stack pointer
|
mov rax, rsp ; get current stack pointer
|
||||||
; Stack adjusted by this much when we were called,
|
; Stack adjusted by this much when we were called,
|
||||||
; For this function, it's 4.
|
; For this function, it's 4.
|
||||||
|
@ -145,7 +145,7 @@ EbcLLGetStackPointer ENDP
|
||||||
; Returns:
|
; Returns:
|
||||||
; The unmodified value returned by the native code.
|
; The unmodified value returned by the native code.
|
||||||
;
|
;
|
||||||
EbcLLGetReturnValue PROC NEAR PUBLIC
|
EbcLLGetReturnValue PROC PUBLIC
|
||||||
ret
|
ret
|
||||||
EbcLLGetReturnValue ENDP
|
EbcLLGetReturnValue ENDP
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue