]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Changed to pass the build with Visual Studio 2005
authorjwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 10 Oct 2007 07:04:15 +0000 (07:04 +0000)
committerjwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 10 Oct 2007 07:04:15 +0000 (07:04 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4075 6f19259b-4bc3-4df7-8a09-765794883524

MdeModulePkg/Bus/Pci/EhciDxe/EhciUrb.c
MdeModulePkg/Universal/EbcDxe/x64/EbcLowLevel.asm

index 005e0596b68fa6fe42ce4eb61af3cbd234171beb..bb272cc8dee8a43bb85115aa382d4d91829b247f 100644 (file)
@@ -294,7 +294,7 @@ EhcConvertPollRate (
     BitCount++;\r
   }\r
 \r
-  return 1 << (BitCount - 1);\r
+  return (UINTN)1 << (BitCount - 1);\r
 }\r
 \r
 \r
index 7b59e93aa1f935a498f0aac05bd499073368b9f0..3262ea93783d2fd7471f45c9f7f2388ef0352028 100644 (file)
@@ -53,7 +53,7 @@ text SEGMENT
 CopyMem  PROTO  Destination:PTR DWORD, Source:PTR DWORD, Count:DWORD\r
 \r
 \r
-EbcLLCALLEXNative        PROC    NEAR    PUBLIC\r
+EbcLLCALLEXNative        PROC    PUBLIC\r
       push   rbp\r
       push   rbx\r
       mov    rbp, rsp\r
@@ -101,7 +101,7 @@ EbcLLCALLEXNative    ENDP
 ; Returns:\r
 ;     The contents of the register in which the entry point is passed.\r
 ;\r
-EbcLLGetEbcEntryPoint        PROC    NEAR    PUBLIC\r
+EbcLLGetEbcEntryPoint        PROC    PUBLIC\r
     ret\r
 EbcLLGetEbcEntryPoint    ENDP\r
 \r
@@ -124,7 +124,7 @@ EbcLLGetEbcEntryPoint    ENDP
 ;--*/\r
 \r
 ; UINTN EbcLLGetStackPointer()            \r
-EbcLLGetStackPointer        PROC    NEAR    PUBLIC\r
+EbcLLGetStackPointer        PROC    PUBLIC\r
     mov    rax, rsp      ; get current stack pointer\r
     ; Stack adjusted by this much when we were called,\r
     ; For this function, it's 4.\r
@@ -145,7 +145,7 @@ EbcLLGetStackPointer    ENDP
 ; Returns:\r
 ;     The unmodified value returned by the native code.\r
 ;\r
-EbcLLGetReturnValue   PROC    NEAR    PUBLIC\r
+EbcLLGetReturnValue   PROC    PUBLIC\r
     ret\r
 EbcLLGetReturnValue    ENDP\r
 \r