simponicOS/include/isr.h

14 lines
255 B
C
Raw Normal View History

2021-03-01 17:17:24 -05:00
#ifndef ISR_H
#define ISR_H
#include "types.h"
struct registers{
uint32_t ds;
uint32_t edi, esi, ebp, esp, ebx, edx, ecx, eax;
uint32_t int_no, err_code;
uint32_t eip, cs, eflags, useresp, ss;
} __attribute__((packed));
#endif // ISR_H