Commit Graph

32 Commits

Author SHA1 Message Date
Zhang Junyang c7a2c81366 Miscellaneous clippy fixes for Rust 2024 2025-12-09 09:23:58 +08:00
Zhang Junyang fc9f47a019 Fix manual implementations of `.is_multiple_of()` 2025-12-09 09:23:58 +08:00
Zhang Junyang 559ce94aba Fix elided lifetimes in return values 2025-12-09 09:23:58 +08:00
Zhang Junyang ad6b5ed856 Fix all direct casts of function items into integers 2025-12-09 09:23:58 +08:00
Zhang Junyang 2a6436d05f Fix unsafe API change and unsafe external block 2025-12-09 09:23:58 +08:00
Zhang Junyang aae136865a Mark unsafe attributes 2025-12-09 09:23:58 +08:00
Zhang Junyang dd410444e5 Format with new `rustfmt` 2025-12-09 09:23:58 +08:00
Ruihan Li 2919f43c65 Query EFI framebuffer via shared access 2025-12-08 20:04:21 +08:00
Ruihan Li e61c8ce56a Unify styles of assembly code 2025-10-28 09:21:44 +08:00
Ruihan Li 3b606f5b6c Use `size_of`/`align_of` in the prelude 2025-09-04 09:26:56 +08:00
Ruihan Li 344ce59ca3 Reserve more regions in linux-legacy32 2025-03-27 09:13:41 +08:00
Ruihan Li 78a9ec9e96 Support PE/COFF entry point 2025-03-27 09:13:41 +08:00
Ruihan Li 5633263182 Avoid segment overlapping in EFI stub 2025-03-22 09:52:57 +08:00
Ruihan Li a64fa94404 Set the correct memory type in EFI stub 2025-03-22 09:52:57 +08:00
Ruihan Li dbf0987a4b Clean up Rust code in EFI stub 2025-03-22 09:52:57 +08:00
Ruihan Li cfbbc99df2 Revise console implementation in EFI stub 2025-03-22 09:52:57 +08:00
Ruihan Li 8c6521c2df Do assembly relocations in EFI stub 2025-03-22 09:52:57 +08:00
Hsy-Intel 148695194f Support TDX SMP 2025-03-20 17:25:22 +08:00
Ruihan Li 10926ce547 Include payload as bytes in EFI stub 2025-03-17 13:30:59 +08:00
Ruihan Li 1488219c4f Revise the link script in EFI stub 2025-03-17 13:30:59 +08:00
Ruihan Li 81bfa6ed6e Revise headers and entry points in EFI stub 2025-03-17 13:30:59 +08:00
Ruihan Li ca9ec119e4 Retire page table implementation in EFI stub 2025-03-14 12:29:13 +08:00
Fabing Li cbb4b4e631 Fix lint errors 2025-02-27 11:36:41 +08:00
Ruihan Li 0dca168717 Use `#[expect(lint)]`, not `#[allow(lint)]` 2025-02-08 15:10:04 +08:00
Hsy-Intel dbee797bca Accept pending private pages in TDX environment 2024-12-11 19:36:51 +08:00
Zhang Junyang dc7e0d7a63 Use the HUGE/PAT bit to track the validity of x86 PTEs 2024-10-16 10:25:39 +08:00
Zhang Junyang 662894ee90 Refine relocations in x86-64 EFI boot 2024-10-16 10:05:34 +08:00
Zhang Junyang 68adca4b40 Migrate to latest UEFI dependencies 2024-10-16 10:05:34 +08:00
Zhang Junyang 9e4257b655 Fix multiple issues pointed out by the new compiler 2024-10-13 22:32:05 +08:00
Zhang Junyang 0c9b7c03bb Get ACPI RSDP from EFI tables if not provided in `boot_params` 2024-08-17 18:14:27 +08:00
azongchang 6752baf166 Utilize libflate crate to compress and decompress payload 2024-08-05 15:36:55 +08:00
Jianfeng Jiang 59350a8578 Rename aster-frame to ostd 2024-06-27 15:45:49 +08:00