diff options
Diffstat (limited to 'InOsEmuPkg/Unix/Sec/Ia32/Gasket.S')
-rw-r--r-- | InOsEmuPkg/Unix/Sec/Ia32/Gasket.S | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/InOsEmuPkg/Unix/Sec/Ia32/Gasket.S b/InOsEmuPkg/Unix/Sec/Ia32/Gasket.S index b8d9c0470f..aa031ecece 100644 --- a/InOsEmuPkg/Unix/Sec/Ia32/Gasket.S +++ b/InOsEmuPkg/Unix/Sec/Ia32/Gasket.S @@ -121,6 +121,20 @@ ASM_PFX(GasketSecMalloc): leave ret +ASM_GLOBAL ASM_PFX(GasketSecValloc) +ASM_PFX(GasketSecValloc): + pushl %ebp + movl %esp, %ebp + subl $24, %esp // sub extra 16 from the stack for alignment + and $-16, %esp // stack needs to end in 0xFFFFFFF0 before call + movl 8(%ebp), %eax + movl %eax, (%esp) + + call ASM_PFX(SecValloc) + + leave + ret + ASM_GLOBAL ASM_PFX(GasketSecFree) ASM_PFX(GasketSecFree): pushl %ebp |