diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2014-10-21 14:39:47 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2014-10-27 10:56:54 -0400 |
commit | 78c42e504c4a93cc5802415ae5e4f69534e6c0fd (patch) | |
tree | 2020fb5f71e5a33dfc2c81adfa531d8f5d90af65 /src/entryfuncs.S | |
parent | 99cb8f3e9af516954b2f2fba97ce1856e3d7b93f (diff) | |
download | seabios-hppa-78c42e504c4a93cc5802415ae5e4f69534e6c0fd.zip seabios-hppa-78c42e504c4a93cc5802415ae5e4f69534e6c0fd.tar.gz seabios-hppa-78c42e504c4a93cc5802415ae5e4f69534e6c0fd.tar.bz2 |
Remove unused macro ENTRY_ST
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/entryfuncs.S')
-rw-r--r-- | src/entryfuncs.S | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/entryfuncs.S b/src/entryfuncs.S index 4e6151e..cc1f433 100644 --- a/src/entryfuncs.S +++ b/src/entryfuncs.S @@ -93,29 +93,6 @@ popl %eax .endm - // As above, but get calling function from stack. - .macro ENTRY_ST - cli - cld - pushl %ecx - pushl %edx - pushw %es - pushw %ds - movw %ss, %cx // Move %ss to %ds - movw %cx, %ds - pushl %esp // Backup %esp, then clear high bits - movzwl %sp, %esp - movl 16(%esp), %ecx // Get calling function - movl %eax, 16(%esp) // Save %eax - calll *%ecx - popl %esp // Restore %esp (including high bits) - popw %ds // Restore registers saved above - popw %es - popl %edx - popl %ecx - popl %eax - .endm - // Call a C function with current register list as an // argument. This backs up the registers and sets %eax // to point to the backup. On return, the registers are |