Changeset View
Changeset View
Standalone View
Standalone View
sys/arm/arm/machdep_boot.c
Show All 12 Lines | |||||
#define LBABI_MAX_BANKS 10 | #define LBABI_MAX_BANKS 10 | ||||
#define CMDLINE_GUARD "FreeBSD:" | #define CMDLINE_GUARD "FreeBSD:" | ||||
static uint32_t board_id; | static uint32_t board_id; | ||||
static struct arm_lbabi_tag *atag_list; | static struct arm_lbabi_tag *atag_list; | ||||
static char linux_command_line[LBABI_MAX_COMMAND_LINE + 1]; | static char linux_command_line[LBABI_MAX_COMMAND_LINE + 1]; | ||||
static char atags[LBABI_MAX_COMMAND_LINE * 2]; | static char atags[LBABI_MAX_COMMAND_LINE * 2]; | ||||
#endif /* defined(LINUX_BOOT_ABI) */ | #endif /* defined(LINUX_BOOT_ABI) */ | ||||
SYSCTL_NODE(_hw, OID_AUTO, board, CTLFLAG_RD, 0, "Board attributes"); | SYSCTL_NODE(_hw, OID_AUTO, board, CTLFLAG_RD | CTLFLAG_MPSAFE, 0, | ||||
"Board attributes"); | |||||
SYSCTL_UINT(_hw_board, OID_AUTO, revision, CTLFLAG_RD, | SYSCTL_UINT(_hw_board, OID_AUTO, revision, CTLFLAG_RD, | ||||
&board_revision, 0, "Board revision"); | &board_revision, 0, "Board revision"); | ||||
SYSCTL_STRING(_hw_board, OID_AUTO, serial, CTLFLAG_RD, | SYSCTL_STRING(_hw_board, OID_AUTO, serial, CTLFLAG_RD, | ||||
board_serial, 0, "Board serial"); | board_serial, 0, "Board serial"); | ||||
int vfp_exists; | int vfp_exists; | ||||
SYSCTL_INT(_hw, HW_FLOATINGPT, floatingpoint, CTLFLAG_RD, | SYSCTL_INT(_hw, HW_FLOATINGPT, floatingpoint, CTLFLAG_RD, | ||||
&vfp_exists, 0, "Floating point support enabled"); | &vfp_exists, 0, "Floating point support enabled"); | ||||
Show All 12 Lines |