axfeat/lib.rs
1//! Top-level feature selection for [ArceOS].
2//!
3//! # Cargo Features
4//!
5//! - CPU
6//! - `smp`: Enable SMP (symmetric multiprocessing) support.
7//! - `fp-simd`: Enable floating point and SIMD support.
8//! - Interrupts:
9//! - `irq`: Enable interrupt handling support.
10//! - `ipi`: Enable Inter-Processor Interrupts (IPIs).
11//! - Memory
12//! - `alloc`: Enable dynamic memory allocation.
13//! - `alloc-tlsf`: Use the TLSF allocator.
14//! - `alloc-slab`: Use the slab allocator.
15//! - `alloc-buddy`: Use the buddy system allocator.
16//! - `paging`: Enable page table manipulation.
17//! - `tls`: Enable thread-local storage.
18//! - Task management
19//! - `multitask`: Enable multi-threading support.
20//! - `sched-fifo`: Use the FIFO cooperative scheduler.
21//! - `sched-rr`: Use the Round-robin preemptive scheduler.
22//! - `sched-cfs`: Use the Completely Fair Scheduler (CFS) preemptive scheduler.
23//! - Upperlayer stacks (fs, net, display)
24//! - `fs`: Enable file system support.
25//! - `myfs`: Allow users to define their custom filesystems to override the default.
26//! - `net`: Enable networking support.
27//! - `display`: Enable graphics support.
28//! - Device drivers
29//! - `bus-mmio`: Use device tree to probe all MMIO devices.
30//! - `bus-pci`: Use PCI bus to probe all PCI devices.
31//! - `driver-ramdisk`: Use the RAM disk to emulate the block device.
32//! - `driver-ixgbe`: Enable the Intel 82599 10Gbit NIC driver.
33//! - `driver-bcm2835-sdhci`: Enable the BCM2835 SDHCI driver (Raspberry Pi SD card).
34//! - Logging
35//! - `log-level-off`: Disable all logging.
36//! - `log-level-error`, `log-level-warn`, `log-level-info`, `log-level-debug`,
37//! `log-level-trace`: Keep logging only at the specified level or higher.
38//!
39//! [ArceOS]: https://github.com/arceos-org/arceos
40
41#![no_std]