Commit Graph

178 Commits

Author SHA1 Message Date
0b617dd76c Allow booting without initramfs 2024-03-23 09:12:38 +08:00
5941d3e6eb Fix format errors 2024-03-22 15:01:18 +08:00
52f07458f7 Understanding memory space and move higher the stack 2024-03-19 16:19:54 +08:00
b49e11a25e Fix all doc warnings 2024-03-17 19:12:33 +08:00
3f402d2d88 Add syscall alarm 2024-03-14 17:26:23 +08:00
f7a9ed8739 Refactor TSC Frequency Determination Method 2024-03-13 11:25:08 +08:00
37c3a7a48c Handle TDX MMIO and DMA direct 2024-03-13 11:25:08 +08:00
461c872c43 Implement read/write functions for IoBar 2024-03-08 11:46:49 +08:00
e0d92b5203 Add support for converting from VmFrame to VmSegment 2024-03-07 10:56:20 +08:00
a51b3c7076 Format OSDK documentation 2024-03-01 13:41:49 +08:00
f415585dff Fix workspace clippy usage 2024-02-28 16:30:48 +08:00
7eac2772d0 Gone with x86_64-custom 2024-02-28 16:30:48 +08:00
e3c227ae06 Refactor project structure 2024-02-28 16:30:48 +08:00
bd878dd1c9 Update dev image for OSDK and bump version to 0.4.0 2024-02-28 16:30:48 +08:00
3494bc45af Apply the new format policy 2024-02-28 16:30:48 +08:00
60e996ea2f Use cargo install for bzImage setup building 2024-02-28 16:30:48 +08:00
f97d0f1260 Implement OSDK functionalities and opt-in OSDK for asterinas 2024-02-28 16:30:48 +08:00
cfcef6965a Adjust the format of imports in Asterinas 2024-02-26 10:03:45 +08:00
22c2cebdec Add in_interrupt and refactor line discipline 2024-02-23 15:45:44 +08:00
748a92d278 Refactor timer in framework 2024-02-06 21:11:40 +08:00
8d6915d0e6 Fix typo 2024-02-06 21:11:40 +08:00
12d338dd9b Replace VmFrame::zero with VmWriter::fill 2024-02-02 16:59:34 +08:00
a6ff38bf2b Add license for tdx-guest 2024-01-18 08:22:58 +08:00
0920a084e4 License Makefile, shell scripts, assembly source code, Dockerfile 2024-01-18 08:22:58 +08:00
faaa4438d6 License rust and c source files 2024-01-18 08:22:58 +08:00
5fb8a9f7e5 Clean up waiter correctly when the timer expires 2024-01-15 13:59:19 +08:00
2fe84663ab Remove unused is_woken_up method 2024-01-15 13:59:19 +08:00
98bb9c5256 Fix a race condition in Waiter 2024-01-15 13:59:19 +08:00
11ff35d34e Style improvements on the boot code 2024-01-02 07:21:36 +08:00
501894652f Refactor the crate linux-boot-params 2024-01-02 07:21:36 +08:00
327e991477 Rename boot-wrapper to bzimage-setup 2024-01-02 07:21:36 +08:00
302b547a0d Bump version to 0.3.0 2024-01-02 07:21:36 +08:00
85d4cfdeb7 Do mapping in the wrapper 2024-01-02 07:21:36 +08:00
e922eaa428 Fix errors raised by the new clippy 2024-01-02 07:21:36 +08:00
6c50c10001 Remove unnecessary #[allow(unused)] 2024-01-02 07:21:36 +08:00
9d2be39b83 Add unit test for linux-boot-params 2024-01-02 07:21:36 +08:00
432f0c34b0 Bring both EFI and legacy to test 2024-01-02 07:21:36 +08:00
487e0cdd15 Recognize kernel memory regions in the Linux boot path 2024-01-02 07:21:36 +08:00
e71c2701d6 Rename trojan to wrapper and add docs 2024-01-02 07:21:36 +08:00
12d01ca1e4 Update image and Rust toolchain 2024-01-02 07:21:36 +08:00
97323f612b Fix boot phase mappings 2024-01-02 07:21:36 +08:00
ebbe451cc4 Apply relocations to enable vtable 2024-01-02 07:21:36 +08:00
32e62080ce Add EFI stub 2024-01-02 07:21:36 +08:00
acf4a057d9 Make trojan compile in 64-bit mode 2024-01-02 07:21:36 +08:00
953ff66fcc Introduce the boot trojan 2024-01-02 07:21:36 +08:00
9473889c6b Add Ext2 fs and basic bio layer 2023-12-28 04:54:48 +08:00
1616f2d32c Change block device trait 2023-12-28 04:54:48 +08:00
7b7e3c4b7a Rename the path of dependent crates 2023-12-26 11:49:24 +08:00
99f6765ced Rename jinux to asterinas in documentation and code 2023-12-26 11:49:24 +08:00
93781df27b Rename crates from jinux-* to aster-* 2023-12-26 11:49:24 +08:00