Skip to main content

Module consts

Module consts 

Source
Expand description

The kernel configuration as const items.

While this module can be used as an alternative to the sel4_cfg_*! macros for accessing the kernel configuration at the value level, its primary purpose is to provide a reference within Rustdoc for the active configuration. Towards that end, the generated source of this module is also provided in this module’s Rustdoc to make browsing easier.

pub const ARCH : & str = "riscv" ; pub const ARCH_AARCH32 : bool = false ; pub const ARCH_AARCH64 : bool = false ; pub const ARCH_ARM : bool = false ; pub const ARCH_ARM_HYP : bool = false ; pub const ARCH_ARM_V7A : bool = false ; pub const ARCH_ARM_V7VE : bool = false ; pub const ARCH_ARM_V8A : bool = false ; pub const ARCH_IA32 : bool = false ; pub const ARCH_RISCV : bool = true ; pub const ARCH_RISCV32 : bool = false ; pub const ARCH_RISCV64 : bool = true ; pub const ARCH_X86 : bool = false ; pub const ARCH_X86_64 : bool = false ; pub const ARM_CORTEX_A15 : bool = false ; pub const ARM_CORTEX_A35 : bool = false ; pub const ARM_CORTEX_A53 : bool = false ; pub const ARM_CORTEX_A55 : bool = false ; pub const ARM_CORTEX_A57 : bool = false ; pub const ARM_CORTEX_A7 : bool = false ; pub const ARM_CORTEX_A72 : bool = false ; pub const ARM_CORTEX_A76 : bool = false ; pub const ARM_CORTEX_A8 : bool = false ; pub const ARM_CORTEX_A9 : bool = false ; pub const BENCHMARK_GENERIC : bool = false ; pub const BENCHMARK_TRACEPOINTS : bool = false ; pub const BENCHMARK_TRACK_KERNEL_ENTRIES : bool = false ; pub const BENCHMARK_TRACK_UTILISATION : bool = false ; pub const BINARY_VERIFICATION_BUILD : bool = false ; pub const CLZ_32 : bool = false ; pub const CLZ_64 : bool = true ; pub const CLZ_NO_BUILTIN : bool = false ; pub const COLOUR_PRINTING : bool = true ; pub const CTZ_32 : bool = false ; pub const CTZ_64 : bool = true ; pub const CTZ_NO_BUILTIN : bool = false ; pub const DANGEROUS_CODE_INJECTION : bool = false ; pub const DEBUG_BUILD : bool = true ; pub const DEBUG_DISABLE_PREFETCHERS : bool = false ; pub const ENABLE_BENCHMARKS : bool = false ; pub const ENABLE_SMP_SUPPORT : bool = true ; pub const EXCEPTION_FASTPATH : bool = false ; pub const EXPORT_PCNT_USER : bool = false ; pub const EXPORT_PTMR_USER : bool = false ; pub const EXPORT_VCNT_USER : bool = false ; pub const EXPORT_VTMR_USER : bool = false ; pub const FASTPATH : bool = true ; pub const FIRST_HART_ID : & str = "0" ; pub const HARDWARE_DEBUG_API : bool = false ; pub const HAVE_FPU : bool = true ; pub const IRQ_REPORTING : bool = true ; pub const KERNEL_BENCHMARK : & str = "none" ; pub const KERNEL_FWHOLE_PROGRAM : bool = false ; pub const KERNEL_INVOCATION_REPORT_ERROR_IPC : bool = false ; pub const KERNEL_LOG_BUFFER : bool = false ; pub const KERNEL_MCS : bool = false ; pub const KERNEL_OPTIMISATION_CLONE_FUNCTIONS : bool = true ; pub const KERNEL_OPT_LEVEL : & str = "-O2" ; pub const KERNEL_OPT_LEVEL_O0 : bool = false ; pub const KERNEL_OPT_LEVEL_O1 : bool = false ; pub const KERNEL_OPT_LEVEL_O2 : bool = true ; pub const KERNEL_OPT_LEVEL_O3 : bool = false ; pub const KERNEL_OPT_LEVEL_OS : bool = false ; pub const KERNEL_STACK_BITS : & str = "12" ; pub const LIB_SEL4_DEFAULT_FUNCTION_ATTRIBUTES : bool = false ; pub const LIB_SEL4_FUNCTION_ATTRIBUTE : & str = "inline" ; pub const LIB_SEL4_INLINE_INVOCATIONS : bool = true ; pub const LIB_SEL4_PRINT_INVOCATION_ERRORS : & str = "0" ; pub const LIB_SEL4_PUBLIC_SYMBOLS : bool = false ; pub const LIB_SEL4_STUBS_USE_IPC_BUFFER_ONLY : bool = false ; pub const LIB_SEL4_USE_THREAD_LOCALS : bool = true ; pub const MAX_NUM_BOOTINFO_UNTYPED_CAPS : & str = "230" ; pub const MAX_NUM_NODES : & str = "4" ; pub const MAX_NUM_TRACE_POINTS : & str = "0" ; pub const MAX_NUM_WORK_UNITS_PER_PREEMPTION : & str = "100" ; pub const NO_BENCHMARKS : bool = true ; pub const NUM_DOMAINS : & str = "1" ; pub const NUM_DOMAIN_SCHEDULES : & str = "2" ; pub const NUM_PRIORITIES : & str = "256" ; pub const OPENSBI_PLATFORM : & str = "generic" ; pub const PADDR_USER_DEVICE_TOP : & str = "549755813888" ; pub const PLAT : & str = "qemu-riscv-virt" ; pub const PLAT_ALLWINNERA20 : bool = false ; pub const PLAT_AM335X : bool = false ; pub const PLAT_ARIANE : bool = false ; pub const PLAT_BANANAPIF3 : bool = false ; pub const PLAT_BCM2711 : bool = false ; pub const PLAT_BCM2712 : bool = false ; pub const PLAT_BCM2837 : bool = false ; pub const PLAT_CHESHIRE : bool = false ; pub const PLAT_EXYNOS5 : bool = false ; pub const PLAT_FVP : bool = false ; pub const PLAT_HIFIVE : bool = false ; pub const PLAT_HIFIVE_P550 : bool = false ; pub const PLAT_IMX6 : bool = false ; pub const PLAT_IMX7 : bool = false ; pub const PLAT_IMX7_SABRE : bool = false ; pub const PLAT_IMX8MM_EVK : bool = false ; pub const PLAT_IMX8MP_EVK : bool = false ; pub const PLAT_IMX8MQ_EVK : bool = false ; pub const PLAT_IMX93 : bool = false ; pub const PLAT_MAAXBOARD : bool = false ; pub const PLAT_ODROIDC2 : bool = false ; pub const PLAT_ODROIDC4 : bool = false ; pub const PLAT_OMAP3 : bool = false ; pub const PLAT_PC99 : bool = false ; pub const PLAT_POLARFIRE : bool = false ; pub const PLAT_QEMU_ARM_VIRT : bool = false ; pub const PLAT_QEMU_RISCV_VIRT : bool = true ; pub const PLAT_QUARTZ64 : bool = false ; pub const PLAT_RK3568 : bool = false ; pub const PLAT_ROCKETCHIP : bool = false ; pub const PLAT_ROCKPRO64 : bool = false ; pub const PLAT_SPIKE : bool = false ; pub const PLAT_STAR64 : bool = false ; pub const PLAT_STM32MP2 : bool = false ; pub const PLAT_TK1 : bool = false ; pub const PLAT_TQMA8XQP1GB : bool = false ; pub const PLAT_TX1 : bool = false ; pub const PLAT_TX2 : bool = false ; pub const PLAT_ZYNQ7000 : bool = false ; pub const PLAT_ZYNQMP : bool = false ; pub const PRINTING : bool = true ; pub const PT_LEVELS : & str = "3" ; pub const RESET_CHUNK_BITS : & str = "8" ; pub const RETYPE_FAN_OUT_LIMIT : & str = "256" ; pub const RISCV_EXT_D : bool = true ; pub const RISCV_EXT_F : bool = true ; pub const RISCV_USE_CLINT_MTIME : bool = false ; pub const ROOT_CNODE_SIZE_BITS : & str = "20" ; pub const SEL4_ARCH : & str = "riscv64" ; pub const SET_TLS_BASE_SELF : bool = false ; pub const SIGNAL_FASTPATH : bool = false ; pub const TIMER_FREQUENCY : & str = "10000000" ; pub const TIMER_TICK_MS : & str = "2" ; pub const TIME_SLICE : & str = "5" ; pub const USER_STACK_TRACE_LENGTH : & str = "16" ; pub const VERIFICATION_BUILD : bool = false ; pub const VTIMER_UPDATE_VOFFSET : bool = false ; pub const WORD_SIZE : & str = "64" ;```

Constants§

ARCH
ARCH_AARCH32
ARCH_AARCH64
ARCH_ARM
ARCH_ARM_HYP
ARCH_ARM_V7A
ARCH_ARM_V7VE
ARCH_ARM_V8A
ARCH_IA32
ARCH_RISCV
ARCH_RISCV32
ARCH_RISCV64
ARCH_X86
ARCH_X86_64
ARM_CORTEX_A7
ARM_CORTEX_A8
ARM_CORTEX_A9
ARM_CORTEX_A15
ARM_CORTEX_A35
ARM_CORTEX_A53
ARM_CORTEX_A55
ARM_CORTEX_A57
ARM_CORTEX_A72
ARM_CORTEX_A76
BENCHMARK_GENERIC
BENCHMARK_TRACEPOINTS
BENCHMARK_TRACK_KERNEL_ENTRIES
BENCHMARK_TRACK_UTILISATION
BINARY_VERIFICATION_BUILD
CLZ_32
CLZ_64
CLZ_NO_BUILTIN
COLOUR_PRINTING
CTZ_32
CTZ_64
CTZ_NO_BUILTIN
DANGEROUS_CODE_INJECTION
DEBUG_BUILD
DEBUG_DISABLE_PREFETCHERS
ENABLE_BENCHMARKS
ENABLE_SMP_SUPPORT
EXCEPTION_FASTPATH
EXPORT_PCNT_USER
EXPORT_PTMR_USER
EXPORT_VCNT_USER
EXPORT_VTMR_USER
FASTPATH
FIRST_HART_ID
HARDWARE_DEBUG_API
HAVE_FPU
IRQ_REPORTING
KERNEL_BENCHMARK
KERNEL_FWHOLE_PROGRAM
KERNEL_INVOCATION_REPORT_ERROR_IPC
KERNEL_LOG_BUFFER
KERNEL_MCS
KERNEL_OPTIMISATION_CLONE_FUNCTIONS
KERNEL_OPT_LEVEL
KERNEL_OPT_LEVEL_O0
KERNEL_OPT_LEVEL_O1
KERNEL_OPT_LEVEL_O2
KERNEL_OPT_LEVEL_O3
KERNEL_OPT_LEVEL_OS
KERNEL_STACK_BITS
LIB_SEL4_DEFAULT_FUNCTION_ATTRIBUTES
LIB_SEL4_FUNCTION_ATTRIBUTE
LIB_SEL4_INLINE_INVOCATIONS
LIB_SEL4_PRINT_INVOCATION_ERRORS
LIB_SEL4_PUBLIC_SYMBOLS
LIB_SEL4_STUBS_USE_IPC_BUFFER_ONLY
LIB_SEL4_USE_THREAD_LOCALS
MAX_NUM_BOOTINFO_UNTYPED_CAPS
MAX_NUM_NODES
MAX_NUM_TRACE_POINTS
MAX_NUM_WORK_UNITS_PER_PREEMPTION
NO_BENCHMARKS
NUM_DOMAINS
NUM_DOMAIN_SCHEDULES
NUM_PRIORITIES
OPENSBI_PLATFORM
PADDR_USER_DEVICE_TOP
PLAT
PLAT_ALLWINNERA20
PLAT_AM335X
PLAT_ARIANE
PLAT_BANANAPIF3
PLAT_BCM2711
PLAT_BCM2712
PLAT_BCM2837
PLAT_CHESHIRE
PLAT_EXYNOS5
PLAT_FVP
PLAT_HIFIVE
PLAT_HIFIVE_P550
PLAT_IMX6
PLAT_IMX7
PLAT_IMX7_SABRE
PLAT_IMX8MM_EVK
PLAT_IMX8MP_EVK
PLAT_IMX8MQ_EVK
PLAT_IMX93
PLAT_MAAXBOARD
PLAT_ODROIDC2
PLAT_ODROIDC4
PLAT_OMAP3
PLAT_PC99
PLAT_POLARFIRE
PLAT_QEMU_ARM_VIRT
PLAT_QEMU_RISCV_VIRT
PLAT_QUARTZ64
PLAT_RK3568
PLAT_ROCKETCHIP
PLAT_ROCKPRO64
PLAT_SPIKE
PLAT_STAR64
PLAT_STM32MP2
PLAT_TK1
PLAT_TQMA8XQP1GB
PLAT_TX1
PLAT_TX2
PLAT_ZYNQ7000
PLAT_ZYNQMP
PRINTING
PT_LEVELS
RESET_CHUNK_BITS
RETYPE_FAN_OUT_LIMIT
RISCV_EXT_D
RISCV_EXT_F
RISCV_USE_CLINT_MTIME
ROOT_CNODE_SIZE_BITS
SEL4_ARCH
SET_TLS_BASE_SELF
SIGNAL_FASTPATH
TIMER_FREQUENCY
TIMER_TICK_MS
TIME_SLICE
USER_STACK_TRACE_LENGTH
VERIFICATION_BUILD
VTIMER_UPDATE_VOFFSET
WORD_SIZE