Make cpu_model public (otherwise there's no way to set it) and bump it
to 80 characters. Add hw.board to export board information, if known, from the mips kernel.
This commit is contained in:
parent
2fea643112
commit
b54e5c906c
@ -103,9 +103,12 @@ __FBSDID("$FreeBSD$");
|
||||
char machine[] = "mips";
|
||||
SYSCTL_STRING(_hw, HW_MACHINE, machine, CTLFLAG_RD, machine, 0, "Machine class");
|
||||
|
||||
static char cpu_model[30];
|
||||
char cpu_model[80];
|
||||
SYSCTL_STRING(_hw, HW_MODEL, model, CTLFLAG_RD, cpu_model, 0, "Machine model");
|
||||
|
||||
char cpu_board[80];
|
||||
SYSCTL_STRING(_hw, OID_AUTO, board, CTLFLAG_RD, cpu_board, 0, "Machine board");
|
||||
|
||||
int cold = 1;
|
||||
long realmem = 0;
|
||||
long Maxmem = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user