summaryrefslogtreecommitdiff
path: root/include/isr.h
blob: 831a2f4d56e953444c0257fb329aad663ad8ad31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#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