Also clean up some missing EFIAPI.
signed-off-by: andrewfish
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11855
6f19259b-4bc3-4df7-8a09-
765794883524
);\r
\r
UINT64 \r
+EFIAPI\r
GasketQueryPerformanceFrequency (\r
VOID\r
);\r
\r
UINT64\r
+EFIAPI\r
GasketQueryPerformanceCounter (\r
VOID\r
);\r
\r
typedef\r
void\r
-(*CALL_BACK) (\r
+(EFIAPI *CALL_BACK) (\r
UINT64 Delta\r
);\r
\r
);\r
\r
EFI_STATUS\r
+EFIAPI\r
GasketEmuBlockIoReadBlocks (\r
IN EMU_BLOCK_IO_PROTOCOL *This,\r
IN UINT32 MediaId,\r
);\r
\r
EFI_STATUS\r
+EFIAPI\r
GasketEmuBlockIoFlushBlocks (\r
IN EMU_BLOCK_IO_PROTOCOL *This,\r
IN OUT EFI_BLOCK_IO2_TOKEN *Token\r
);\r
\r
EFI_STATUS\r
+EFIAPI\r
GasketEmuBlockIoCreateMapping (\r
IN EMU_BLOCK_IO_PROTOCOL *This,\r
IN EFI_BLOCK_IO_MEDIA *Media\r
ASM_PFX(GasketEmuBlockIoReadBlocks):
pushl %ebp
movl %esp, %ebp
- subl $40, %esp // sub extra 16 from the stack for alignment
+ subl $56, %esp // sub extra 16 from the stack for alignment
and $-16, %esp // stack needs to end in 0xFFFFFFF0 before call
+ movl 32(%ebp), %eax
+ movl %eax, 24(%esp)
movl 28(%ebp), %eax
movl %eax, 20(%esp)
movl 24(%ebp), %eax
movl %eax, 16(%esp)
- movl 20(%ebp), %eax
- movl %eax, 12(%esp)
movl 16(%ebp), %eax
+ movl 20(%ebp), %edx
+ movl %edx, 12(%esp)
movl %eax, 8(%esp)
movl 12(%ebp), %eax
movl %eax, 4(%esp)
ASM_PFX(GasketEmuBlockIoWriteBlocks):
pushl %ebp
movl %esp, %ebp
- subl $40, %esp // sub extra 16 from the stack for alignment
+ subl $56, %esp // sub extra 16 from the stack for alignment
and $-16, %esp // stack needs to end in 0xFFFFFFF0 before call
+ movl 32(%ebp), %eax
+ movl %eax, 24(%esp)
movl 28(%ebp), %eax
movl %eax, 20(%esp)
movl 24(%ebp), %eax
movl %eax, 16(%esp)
- movl 20(%ebp), %eax
- movl %eax, 12(%esp)
movl 16(%ebp), %eax
+ movl 20(%ebp), %edx
+ movl %edx, 12(%esp)
movl %eax, 8(%esp)
movl 12(%ebp), %eax
movl %eax, 4(%esp)