Module aster_frame::arch::x86  
source · Expand description
Platform-specific code for the x86 platform.
Modules
- The x86 boot module defines the entrypoints of Asterinas and the corresponding headers for different x86 boot protocols.
 - The console I/O.
 - Device-related APIs. This module mainly contains the APIs that should exposed to the device driver like PCI, RTC
 - The IOMMU support.
 - Provides the ability to exit QEMU and return a value as debug result.
 - The architecture support of context switch.
 - The timer support.
 - Handles trap.
 
Functions
- Reads the current value of the processor’s time-stamp counter (TSC).
 - Returns the frequency of TSC. The unit is Hz.