mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-31 12:13:10 +00:00
Add the hw.machine sysctl.
This commit is contained in:
parent
a7e3e43349
commit
f0c85e996a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=135652
@ -49,12 +49,16 @@ __FBSDID("$FreeBSD$");
|
||||
#include <sys/time.h>
|
||||
#include <sys/proc.h>
|
||||
#include <sys/conf.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/sysctl.h>
|
||||
#include <machine/cpu.h>
|
||||
|
||||
#include <machine/cpuconf.h>
|
||||
|
||||
char machine[] = "arm";
|
||||
|
||||
SYSCTL_STRING(_hw, HW_MACHINE, machine, CTLFLAG_RD,
|
||||
machine, 0, "Machine class");
|
||||
enum cpu_class {
|
||||
CPU_CLASS_NONE,
|
||||
CPU_CLASS_ARM2,
|
||||
|
Loading…
Reference in New Issue
Block a user