From b45cfb5ede9f1a3dd7f7323bd218a4dcaaf76b76 Mon Sep 17 00:00:00 2001 From: Bobby <30593201+luciferreeves@users.noreply.github.com> Date: Fri, 27 Mar 2026 18:52:18 +0530 Subject: 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. --- shared/fs/afs/constants/magic.zig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'shared') 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, }; -- cgit v1.2.3