IMPLEMENTED TASKS!

This commit is contained in:
2025-04-30 18:27:18 +02:00
parent f4b10746d6
commit a48fa362d0
10 changed files with 404 additions and 43 deletions
+3 -2
View File
@@ -6,8 +6,8 @@
// Interrupt frame (ie. what's on the stack on interrupt)
struct isr_int_frame {
// Pushed by OS
uint32_t esp, ebx, ecx, edx, esi, edi, ebp;
uint32_t ds, es, fs, gs, eax;
uint32_t gs, fs, es, ds;
uint32_t edi, esi, ebp, esp, ebx, edx, ecx, eax;
uint32_t interrupt, error;
// Pushed by CPU
@@ -20,6 +20,7 @@ void isr_register(uint8_t i, isr_handler_ptr handler);
int isr_handle_interrupt(struct isr_int_frame iframe);
// Assembly definitions (isr.s)
extern void isr_return(void);
extern void* isr_redirect_table[48]; // ISR Table
extern void isr128(); // int 0x80 - syscall