Commit Graph

13 Commits

Author SHA1 Message Date
108e04a8f0 Page fault handler now allocates new page tables
Rather than contantly checking if a page table exists before access, the fault handler will automatically allocate them as needed.
2023-11-07 12:44:23 -06:00
a52f06f81e Massive backlog of changes 2022-06-15 15:59:31 -05:00
755f2a3d69 Wrote syscall interrupt handler in assembly 2021-04-19 06:53:39 -05:00
5efc389935 Finished basic task switching mechansim
PCB is local to a process's address space.
Context switches are written in assembly.
Moved x86 headers to include/x86
2021-04-19 03:40:33 -05:00
c39cbb79cd Task contexts now load segment registers correctly
Interrupt enable bit set in saved EFLAGS register
2021-04-18 02:10:03 -05:00
ce6371f0c3 Added ISR for preemption of processes 2021-04-17 00:59:15 -05:00
6138766c49 Added sequence to remap PIC
Wrote GDT code in C
Added routines to initialize GDT and IDT
2021-04-16 01:45:40 -05:00
50fcaa2673 Added timer ISR 2021-04-15 07:22:01 -05:00
923057ee1c Removed 'interrupt' attribute from isr_ap_start()
Added message to division by 0 exception
2021-04-15 04:55:28 -05:00
d2617e4488 Wrote new ISR for AP entry 2021-04-15 04:51:23 -05:00
3130b07fd1 Removed generic_isr() definition 2021-04-14 03:39:25 -05:00
507b0fa53e Renamed ISR functions to fit convention 2021-04-14 03:25:55 -05:00
4e6f487a0a Moved ISRs and multiboot2 code to separate files 2021-04-14 00:11:44 -05:00