Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/systm.h
Show First 20 Lines • Show All 64 Lines • ▼ Show 20 Lines | |||||
extern long physmem; /* physical memory */ | extern long physmem; /* physical memory */ | ||||
extern long realmem; /* 'real' memory */ | extern long realmem; /* 'real' memory */ | ||||
extern char *rootdevnames[2]; /* names of possible root devices */ | extern char *rootdevnames[2]; /* names of possible root devices */ | ||||
extern int boothowto; /* reboot flags, from console subsystem */ | extern int boothowto; /* reboot flags, from console subsystem */ | ||||
extern int bootverbose; /* nonzero to print verbose messages */ | extern int bootverbose; /* nonzero to print verbose messages */ | ||||
extern enum firmware_types { | |||||
FW_NONE = 0, | |||||
FW_UEFI, | |||||
FW_DEVTREE, | |||||
FW_BIOS, | |||||
FW_HYPER, | |||||
FW_LAST | |||||
} firmware_type; | |||||
kib: I do not think sys/systm.h is the right trash bin for this definition. More, I suspect… | |||||
Done Inline ActionsI was following vm_guest since that is what I was looking at. State where you think it should go instead and I'll be happy to adjust. ehem_freebsd_m5p.com: I was following `vm_guest` since that is what I was looking at. State where you think it… | |||||
extern int maxusers; /* system tune hint */ | extern int maxusers; /* system tune hint */ | ||||
extern int ngroups_max; /* max # of supplemental groups */ | extern int ngroups_max; /* max # of supplemental groups */ | ||||
extern int vm_guest; /* Running as virtual machine guest? */ | extern int vm_guest; /* Running as virtual machine guest? */ | ||||
extern u_long maxphys; /* max raw I/O transfer size */ | extern u_long maxphys; /* max raw I/O transfer size */ | ||||
/* | /* | ||||
* Detected virtual machine guest types. The intention is to expand | * Detected virtual machine guest types. The intention is to expand | ||||
▲ Show 20 Lines • Show All 592 Lines • Show Last 20 Lines |
I do not think sys/systm.h is the right trash bin for this definition. More, I suspect usermode might want to see this enum, in which case sys/systm.h is even more inappropriate.