diff options
author | Tobias Weingartner <weingart@cvs.openbsd.org> | 1997-10-17 15:03:29 +0000 |
---|---|---|
committer | Tobias Weingartner <weingart@cvs.openbsd.org> | 1997-10-17 15:03:29 +0000 |
commit | 41093f286d691912ac4dbf211375b21dbff49e4e (patch) | |
tree | 2921090c2b4c87b93ba68120400a50ef8a5cfec7 /sys/arch/i386/stand/libsa/gidt.S | |
parent | 82b80c5d2e1dea90de4bcb7b3dda8c4854d6564a (diff) |
Use BIOS to probe for memory map.
Probe for BIOS supported disks.
Use BIOS to get geometry for supported disks.
All in preparation to passing the whole thing
to the kernel.
Diffstat (limited to 'sys/arch/i386/stand/libsa/gidt.S')
-rw-r--r-- | sys/arch/i386/stand/libsa/gidt.S | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/arch/i386/stand/libsa/gidt.S b/sys/arch/i386/stand/libsa/gidt.S index dcba77861a4..db4d7da3295 100644 --- a/sys/arch/i386/stand/libsa/gidt.S +++ b/sys/arch/i386/stand/libsa/gidt.S @@ -1,4 +1,4 @@ -/* $OpenBSD: gidt.S,v 1.15 1997/09/02 17:05:12 mickey Exp $ */ +/* $OpenBSD: gidt.S,v 1.16 1997/10/17 15:03:24 weingart Exp $ */ /* * Copyright (c) 1997 Michael Shalayeff @@ -416,3 +416,11 @@ intno = . - 1 popal iret +/* Call buffer at 07c0:0000 in real mode to simulate a BIOS boot */ +ENTRY(bootbuf) + popl %eax /* Don't need return address */ + popl %edx /* Device */ + popl %eax /* Partition - Not used, overwritten */ + prot2real /* Switch */ + ljmp $0x7c0, $0x000 + |