diff options
author | Tobias Weingartner <weingart@cvs.openbsd.org> | 1997-10-17 18:47:01 +0000 |
---|---|---|
committer | Tobias Weingartner <weingart@cvs.openbsd.org> | 1997-10-17 18:47:01 +0000 |
commit | 743e0a15d53ec40dc90929a6aa44dad3b0793308 (patch) | |
tree | 36fabd9bdea3eef8a5232eaf76abe32e2c4d2e1b /sys/arch/i386/stand/libsa/cmd_i386.c | |
parent | 41093f286d691912ac4dbf211375b21dbff49e4e (diff) |
Cleanup, make it all compile.
Move APM stuff to apmprobe.c
Diffstat (limited to 'sys/arch/i386/stand/libsa/cmd_i386.c')
-rw-r--r-- | sys/arch/i386/stand/libsa/cmd_i386.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/i386/stand/libsa/cmd_i386.c b/sys/arch/i386/stand/libsa/cmd_i386.c index 1934e21dff8..9b087eda4ab 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.10 1997/10/17 15:03:23 weingart Exp $ */ +/* $OpenBSD: cmd_i386.c,v 1.11 1997/10/17 18:46:55 weingart Exp $ */ /* * Copyright (c) 1997 Michael Shalayeff, Tobias Weingartner @@ -51,6 +51,8 @@ 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 }, @@ -144,7 +146,7 @@ bad: int Xmemory() { - struct BIOS_MAP *tm = memory_map; + bios_memmap_t *tm = memory_map; int count, total = 0; for(count = 0; tm[count].type != BIOS_MAP_END; count++){ |