diff options
author | jwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-10-10 07:04:15 +0000 |
---|---|---|
committer | jwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-10-10 07:04:15 +0000 |
commit | db01f13e00e74bccde63152ef75a82f6bb8e1e81 (patch) | |
tree | a6c9be622a84c8ae1bd734d806f2f01d065ba3d4 /MdeModulePkg | |
parent | 15d10a4c78279190cc8aeef0ab9a8b7a9dedff23 (diff) | |
download | edk2-db01f13e00e74bccde63152ef75a82f6bb8e1e81.zip edk2-db01f13e00e74bccde63152ef75a82f6bb8e1e81.tar.gz edk2-db01f13e00e74bccde63152ef75a82f6bb8e1e81.tar.bz2 |
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
Diffstat (limited to 'MdeModulePkg')
-rw-r--r-- | MdeModulePkg/Bus/Pci/EhciDxe/EhciUrb.c | 2 | ||||
-rw-r--r-- | MdeModulePkg/Universal/EbcDxe/x64/EbcLowLevel.asm | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/MdeModulePkg/Bus/Pci/EhciDxe/EhciUrb.c b/MdeModulePkg/Bus/Pci/EhciDxe/EhciUrb.c index 005e059..bb272cc 100644 --- a/MdeModulePkg/Bus/Pci/EhciDxe/EhciUrb.c +++ b/MdeModulePkg/Bus/Pci/EhciDxe/EhciUrb.c @@ -294,7 +294,7 @@ EhcConvertPollRate ( BitCount++;
}
- return 1 << (BitCount - 1);
+ return (UINTN)1 << (BitCount - 1);
}
diff --git a/MdeModulePkg/Universal/EbcDxe/x64/EbcLowLevel.asm b/MdeModulePkg/Universal/EbcDxe/x64/EbcLowLevel.asm index 7b59e93..3262ea9 100644 --- a/MdeModulePkg/Universal/EbcDxe/x64/EbcLowLevel.asm +++ b/MdeModulePkg/Universal/EbcDxe/x64/EbcLowLevel.asm @@ -53,7 +53,7 @@ text SEGMENT CopyMem PROTO Destination:PTR DWORD, Source:PTR DWORD, Count:DWORD
-EbcLLCALLEXNative PROC NEAR PUBLIC
+EbcLLCALLEXNative PROC PUBLIC
push rbp
push rbx
mov rbp, rsp
@@ -101,7 +101,7 @@ EbcLLCALLEXNative ENDP ; Returns:
; The contents of the register in which the entry point is passed.
;
-EbcLLGetEbcEntryPoint PROC NEAR PUBLIC
+EbcLLGetEbcEntryPoint PROC PUBLIC
ret
EbcLLGetEbcEntryPoint ENDP
@@ -124,7 +124,7 @@ EbcLLGetEbcEntryPoint ENDP ;--*/
; UINTN EbcLLGetStackPointer()
-EbcLLGetStackPointer PROC NEAR PUBLIC
+EbcLLGetStackPointer PROC PUBLIC
mov rax, rsp ; get current stack pointer
; Stack adjusted by this much when we were called,
; For this function, it's 4.
@@ -145,7 +145,7 @@ EbcLLGetStackPointer ENDP ; Returns:
; The unmodified value returned by the native code.
;
-EbcLLGetReturnValue PROC NEAR PUBLIC
+EbcLLGetReturnValue PROC PUBLIC
ret
EbcLLGetReturnValue ENDP
|