Sync with sys/i386/i386/machdep.c revision 1.302.
This commit is contained in:
parent
5c44894fdb
commit
a4c716e98f
@ -35,7 +35,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
|
||||
* $Id: machdep.c,v 1.87 1998/06/17 16:30:16 kato Exp $
|
||||
* $Id: machdep.c,v 1.88 1998/06/22 08:05:12 kato Exp $
|
||||
*/
|
||||
|
||||
#include "apm.h"
|
||||
@ -204,6 +204,17 @@ sysctl_hw_usermem SYSCTL_HANDLER_ARGS
|
||||
SYSCTL_PROC(_hw, HW_USERMEM, usermem, CTLTYPE_INT|CTLFLAG_RD,
|
||||
0, 0, sysctl_hw_usermem, "I", "");
|
||||
|
||||
static int
|
||||
sysctl_hw_availpages SYSCTL_HANDLER_ARGS
|
||||
{
|
||||
int error = sysctl_handle_int(oidp, 0,
|
||||
i386_btop(avail_end - avail_start), req);
|
||||
return (error);
|
||||
}
|
||||
|
||||
SYSCTL_PROC(_hw, OID_AUTO, availpages, CTLTYPE_INT|CTLFLAG_RD,
|
||||
0, 0, sysctl_hw_availpages, "I", "");
|
||||
|
||||
int bootverbose = 0, Maxmem = 0;
|
||||
#ifdef PC98
|
||||
int Maxmem_under16M = 0;
|
||||
@ -1126,7 +1137,6 @@ init386(first)
|
||||
unsigned biosbasemem, biosextmem;
|
||||
struct gate_descriptor *gdp;
|
||||
int gsel_tss;
|
||||
char *cp;
|
||||
|
||||
struct isa_device *idp;
|
||||
#ifndef SMP
|
||||
|
@ -35,7 +35,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
|
||||
* $Id: machdep.c,v 1.87 1998/06/17 16:30:16 kato Exp $
|
||||
* $Id: machdep.c,v 1.88 1998/06/22 08:05:12 kato Exp $
|
||||
*/
|
||||
|
||||
#include "apm.h"
|
||||
@ -204,6 +204,17 @@ sysctl_hw_usermem SYSCTL_HANDLER_ARGS
|
||||
SYSCTL_PROC(_hw, HW_USERMEM, usermem, CTLTYPE_INT|CTLFLAG_RD,
|
||||
0, 0, sysctl_hw_usermem, "I", "");
|
||||
|
||||
static int
|
||||
sysctl_hw_availpages SYSCTL_HANDLER_ARGS
|
||||
{
|
||||
int error = sysctl_handle_int(oidp, 0,
|
||||
i386_btop(avail_end - avail_start), req);
|
||||
return (error);
|
||||
}
|
||||
|
||||
SYSCTL_PROC(_hw, OID_AUTO, availpages, CTLTYPE_INT|CTLFLAG_RD,
|
||||
0, 0, sysctl_hw_availpages, "I", "");
|
||||
|
||||
int bootverbose = 0, Maxmem = 0;
|
||||
#ifdef PC98
|
||||
int Maxmem_under16M = 0;
|
||||
@ -1126,7 +1137,6 @@ init386(first)
|
||||
unsigned biosbasemem, biosextmem;
|
||||
struct gate_descriptor *gdp;
|
||||
int gsel_tss;
|
||||
char *cp;
|
||||
|
||||
struct isa_device *idp;
|
||||
#ifndef SMP
|
||||
|
Loading…
Reference in New Issue
Block a user