Commit Graph

382 Commits

Author SHA1 Message Date
e9330eea7d Prefer ManuallyDrop than mem::forget 2024-07-16 21:38:09 +08:00
7966719e6a Wrap mutable data into UnsafeCell 2024-07-16 21:38:09 +08:00
4f2d537516 Remove the level in RawPageTableNode 2024-07-16 21:38:09 +08:00
6cfccccab1 Enable AVX-512 flags in XCR0 2024-07-16 21:26:20 +08:00
4292ec2ebb Make intel_tdx feature as default 2024-07-16 21:22:29 +08:00
9e5f3123e1 Log messages to the serial atomically and rename arch::serial
Co-authored-by: Chuandong Li <lichuand@pku.edu.cn>
2024-07-09 21:56:03 +08:00
d43fbd88ba Add documentation to bus 2024-07-09 19:42:15 +08:00
0970adb37b Add documentation to x86/device 2024-07-09 19:42:15 +08:00
9cbbcf63a7 Switch the dependency of unwinding back to crates.io 2024-07-09 09:45:58 +08:00
02bf6a9b47 Bump version to 0.6.2 2024-07-08 17:13:16 +08:00
defb563541 Bump version to 0.6.1 2024-07-08 15:26:29 +08:00
28f5480f70 Add notes about the volatile memory copy 2024-07-08 15:03:23 +08:00
608eba369c Format logger output 2024-07-04 10:56:55 +08:00
cf56bce57c Pass kernel command line option to logger 2024-07-04 10:56:55 +08:00
0cf954801d Support sending IPI using APIC
Co-authored-by: Chuandong Li <lichuand@pku.edu.cn>
2024-07-03 17:50:10 +08:00
fef8eebadc Reverse the page table unlock order 2024-07-03 17:42:31 +08:00
02912e19cb Add documentations for the page table cursors' validity 2024-07-03 17:42:31 +08:00
0f8d8da372 Refactor code related to CPU local memory
Co-authored-by: Chuandong Li <lichuand@pku.edu.cn>
2024-07-03 17:40:53 +08:00
98619f3482 Init RNG with rdrand directly (without getrandom) 2024-07-03 14:56:33 +08:00
9932ea0797 Remove PDPE's global bit of boot page table 2024-07-03 14:56:33 +08:00
ece62cf806 Add missing TLB flushes for coherent DMA mappings 2024-07-02 16:16:54 +08:00
8cd8cf3938 Add missing TLB flushes for the kernel stack guard pages 2024-07-02 16:16:54 +08:00
57ecfa2fec Add #[must_use] to all guard types 2024-07-02 12:41:52 +08:00
b7a3f1a540 Use volatile copy in VmReader/VmWriter 2024-06-28 20:23:24 +08:00
cd2b305fa8 Modify the userspace read/write usage location 2024-06-28 15:36:21 +08:00
af908c29cf Refactor the read/write operations to userspace 2024-06-28 15:36:21 +08:00
09b6153d29 Refactor VmReader/Writer to support both kernel space and user space 2024-06-28 15:36:21 +08:00
994427c71a Add function memcpy_fallible 2024-06-28 15:36:21 +08:00
5f7cf245ac Enable exception table mechanism 2024-06-28 15:36:21 +08:00
3de8a9330a Fix the OSDK CI failure 2024-06-27 15:45:49 +08:00
fe7251c413 Rename aster_main as ostd::main 2024-06-27 15:45:49 +08:00
59350a8578 Rename aster-frame to ostd 2024-06-27 15:45:49 +08:00