Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/bus.h
Show First 20 Lines • Show All 731 Lines • ▼ Show 20 Lines | |||||
#define BUS_PASS_DEFAULT __INT_MAX /* Everything else. */ | #define BUS_PASS_DEFAULT __INT_MAX /* Everything else. */ | ||||
#define BUS_PASS_ORDER_FIRST 0 | #define BUS_PASS_ORDER_FIRST 0 | ||||
#define BUS_PASS_ORDER_EARLY 2 | #define BUS_PASS_ORDER_EARLY 2 | ||||
#define BUS_PASS_ORDER_MIDDLE 5 | #define BUS_PASS_ORDER_MIDDLE 5 | ||||
#define BUS_PASS_ORDER_LATE 7 | #define BUS_PASS_ORDER_LATE 7 | ||||
#define BUS_PASS_ORDER_LAST 9 | #define BUS_PASS_ORDER_LAST 9 | ||||
#define BUS_LOCATOR_ACPI "ACPI" | |||||
#define BUS_LOCATOR_FREEBSD "FreeBSD" | #define BUS_LOCATOR_FREEBSD "FreeBSD" | ||||
jhb: Maybe sort these somehow, e.g. alphabetically? Probably make the first commit that adds UEFI… | |||||
Done Inline Actionssure. imp: sure. | |||||
extern int bus_current_pass; | extern int bus_current_pass; | ||||
void bus_set_pass(int pass); | void bus_set_pass(int pass); | ||||
/** | /** | ||||
* Routines to lock / unlock the newbus lock. | * Routines to lock / unlock the newbus lock. | ||||
* Must be taken out to interact with newbus. | * Must be taken out to interact with newbus. | ||||
*/ | */ | ||||
▲ Show 20 Lines • Show All 247 Lines • Show Last 20 Lines |
Maybe sort these somehow, e.g. alphabetically? Probably make the first commit that adds UEFI follow whatever convention you decide to follow?