diff options
| author | Bobby <[email protected]> | 2026-03-27 18:52:18 +0530 |
|---|---|---|
| committer | Bobby <[email protected]> | 2026-03-27 18:52:18 +0530 |
| commit | b45cfb5ede9f1a3dd7f7323bd218a4dcaaf76b76 (patch) | |
| tree | 7ea4ab655b3c37cd2a5d35d21a228b763ba413aa /shared | |
| parent | aec48b60740d9ea7060da6d494e3cf95b1aa8e18 (diff) | |
| download | akiba-b45cfb5ede9f1a3dd7f7323bd218a4dcaaf76b76.tar.xz akiba-b45cfb5ede9f1a3dd7f7323bd218a4dcaaf76b76.zip | |
Refactor and implement interrupt handling and PIT driver
- Refactored CPU context structure for better readability.
- Enhanced corpse and exception structures with clearer formatting.
- Improved frame structure for consistency.
- Added interrupt flag operations for enabling and disabling interrupts.
- Implemented IDT (Interrupt Descriptor Table) operations including loading and setting gates.
- Created PIC (Programmable Interrupt Controller) initialization and masking functions.
- Developed PIT (Programmable Interval Timer) driver with initialization and handler functions.
- Established common interrupt handler structure and exception handling stubs.
- Added hardware IRQ handling for IRQs 0-15.
- Introduced IDT entry and gate descriptor types for better organization.
- Ensured proper handling of interrupt and exception vectors.
Diffstat (limited to 'shared')
| -rw-r--r-- | shared/fs/afs/constants/magic.zig | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/shared/fs/afs/constants/magic.zig b/shared/fs/afs/constants/magic.zig index 757bcab..84f46db 100644 --- a/shared/fs/afs/constants/magic.zig +++ b/shared/fs/afs/constants/magic.zig @@ -12,7 +12,7 @@ pub const journal_signature: u32 = 0x4A4E524C; /// AFS partition type GUID: 414B4942-4146-5300-0000-000000000001 pub const partition_type_guid = [16]u8{ 0x42, 0x49, 0x4B, 0x41, - 0x46, 0x41, - 0x00, 0x53, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, + 0x46, 0x41, 0x00, 0x53, + 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x01, }; |
