forked from pepper-org/pepperOS
End the _t nonsense
This commit is contained in:
+3
-3
@@ -108,7 +108,7 @@ static inline uint64_t read_cr2(void)
|
||||
* Also displays an interpretation of the thrown error code.
|
||||
* Then halts the system. We could implement demand paging later.
|
||||
*/
|
||||
static void page_fault_handler(struct cpu_status_t* ctx)
|
||||
static void page_fault_handler(struct cpu_status* ctx)
|
||||
{
|
||||
// It could be used to remap pages etc. to fix the fault, but right now what I'm more
|
||||
// interested in is getting more info out of those numbers cause i'm lost each time i have
|
||||
@@ -149,7 +149,7 @@ static void page_fault_handler(struct cpu_status_t* ctx)
|
||||
* Shows detail about a General Protection Fault,
|
||||
* and what may have caused it. Halts the system.
|
||||
*/
|
||||
static void gp_fault_handler(struct cpu_status_t* ctx)
|
||||
static void gp_fault_handler(struct cpu_status* ctx)
|
||||
{
|
||||
DEBUG("\x1b[38;5;231mGeneral Protection Fault at rip=0x%p, err=%u (%s)\x1b[0m",
|
||||
ctx->iret_rip,
|
||||
@@ -185,7 +185,7 @@ static void gp_fault_handler(struct cpu_status_t* ctx)
|
||||
* Return:
|
||||
* <context> - CPU context after interrupt
|
||||
*/
|
||||
struct cpu_status_t* interrupt_dispatch(struct cpu_status_t* context)
|
||||
struct cpu_status* interrupt_dispatch(struct cpu_status* context)
|
||||
{
|
||||
if (context == NULL) {
|
||||
panic(NULL, "Interrupt dispatch recieved NULL context!");
|
||||
|
||||
Reference in New Issue
Block a user