summaryrefslogtreecommitdiff
path: root/sys/arch/i386/stand/libsa/cmd_i386.c
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1997-10-22 23:34:42 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1997-10-22 23:34:42 +0000
commit75ff2b524f49004c6afee07d65b8dfa530bf747d (patch)
treee13109ca012cc4313c16dbcbc5585a2cb1bed8b9 /sys/arch/i386/stand/libsa/cmd_i386.c
parent0acb196dd2eff01035465ba82dbfe4ee14f19107 (diff)
newer, better stuff; some parts by toby@
Diffstat (limited to 'sys/arch/i386/stand/libsa/cmd_i386.c')
-rw-r--r--sys/arch/i386/stand/libsa/cmd_i386.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/sys/arch/i386/stand/libsa/cmd_i386.c b/sys/arch/i386/stand/libsa/cmd_i386.c
index 241a052b8c2..823ab7a858c 100644
--- a/sys/arch/i386/stand/libsa/cmd_i386.c
+++ b/sys/arch/i386/stand/libsa/cmd_i386.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd_i386.c,v 1.14 1997/10/21 02:42:31 mickey Exp $ */
+/* $OpenBSD: cmd_i386.c,v 1.15 1997/10/22 23:34:37 mickey Exp $ */
/*
* Copyright (c) 1997 Michael Shalayeff, Tobias Weingartner
@@ -48,12 +48,6 @@ static int Xmemory __P((void));
/* From gidt.S */
int bootbuf __P((int, int));
-/* From probedisk.c */
-extern bios_diskinfo_t bios_diskinfo[];
-
-/* From probemem.c */
-extern bios_memmap_t *memory_map;
-
const struct cmd_table cmd_machine[] = {
{ "diskinfo", CMDT_CMD, Xdiskinfo },
{ "regs", CMDT_CMD, Xregs },
@@ -120,7 +114,7 @@ Xboot()
printf("[%x,%d]\n", dev, part);
/* Read boot sector from device */
- st = biosd_rw(F_READ, dev, 0, 0, 1, 1, buf);
+ st = biosd_io(F_READ, dev, 0, 0, 1, 1, buf);
if(st) goto bad;
/* Frob boot flag in buffer from HD */