diff options
author | Tobias Weingartner <weingart@cvs.openbsd.org> | 1997-04-04 17:24:48 +0000 |
---|---|---|
committer | Tobias Weingartner <weingart@cvs.openbsd.org> | 1997-04-04 17:24:48 +0000 |
commit | d58d9b94b6156c4a9349463dcbec5a3d85255061 (patch) | |
tree | 3e2217c20dfc3daae258297177c11850da80d352 /sys/arch/i386/stand | |
parent | 7d0780fa95d78e4f0a3a01bd1a9bf5745a0fe5dd (diff) |
Nuke.
Diffstat (limited to 'sys/arch/i386/stand')
-rw-r--r-- | sys/arch/i386/stand/libsa/exec_i386.S | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/sys/arch/i386/stand/libsa/exec_i386.S b/sys/arch/i386/stand/libsa/exec_i386.S deleted file mode 100644 index 541a2db4ed3..00000000000 --- a/sys/arch/i386/stand/libsa/exec_i386.S +++ /dev/null @@ -1,42 +0,0 @@ -/* $OpenBSD: exec_i386.S,v 1.2 1997/03/31 23:08:37 mickey Exp $ */ - -#include <machine/asm.h> - -/* - * machdep_start(phyaddr) - * start the program on protected mode where phyaddr is the entry point - */ - .globl _cnvmem, _extmem -ENTRY(machdep_start) - pushl %ebp - movl %esp, %ebp - - # get things we need into registers - movl 8(%ebp), %ecx # entry offset - movl 12(%ebp), %edi # howto - movl 16(%ebp), %edx # loadaddr - movl 24(%ebp), %esi # esym - - # make a new stack at 0:0x90000 (big segs) - movl $0x10, %eax - movw %ax, %ss - movl $0x90000, %eax - movl %eax, %esp - - # push some number of args onto the stack - pushl _cnvmem - pushl _extmem - pushl %esi # esym - pushl $0 # cyloff - pushl $0 # bootdev - pushl %edi # howto - pushl $0 # dummy 'return' address - - # push on our entry address - movl 0x8, %eax # segment - pushw %ax - andl $0xffffff, %ecx - pushl %ecx - - # convert the PC (and code seg) - lret |