diff options
Diffstat (limited to 'contrib/syslinux-4.02/sample/c32exit.S')
-rw-r--r-- | contrib/syslinux-4.02/sample/c32exit.S | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/contrib/syslinux-4.02/sample/c32exit.S b/contrib/syslinux-4.02/sample/c32exit.S new file mode 100644 index 0000000..5c5ba03 --- /dev/null +++ b/contrib/syslinux-4.02/sample/c32exit.S @@ -0,0 +1,10 @@ +# $Id# +# +# Implementation of exit() for com32 based on c32entry.S +# + .text + .globl exit +exit: + movl 4(%esp),%eax # Exit code in %eax = return value + movl (__entry_esp),%esp # Return stack pointer to entry value + ret # Return to termination address |