diff options
author | Marvin Borner | 2020-05-07 00:16:52 +0200 |
---|---|---|
committer | Marvin Borner | 2020-05-07 00:16:52 +0200 |
commit | 31767b532e69c5a63df0106fa08e137e3106a449 (patch) | |
tree | ea7a91347e030c0b120361b7d9975547a5af19d1 /src/kernel/system.h | |
parent | 8083536f321ad8a12ad4668c2bf41a65c3e3b2f6 (diff) |
Some fixes here and there...
Also implemented serial console in userspace
Diffstat (limited to 'src/kernel/system.h')
-rw-r--r-- | src/kernel/system.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kernel/system.h b/src/kernel/system.h index 4c2673d..29d0f31 100644 --- a/src/kernel/system.h +++ b/src/kernel/system.h @@ -9,8 +9,8 @@ * The ASM registers as packed structure */ typedef struct __attribute__((packed)) { - unsigned short di, si, bp, sp, bx, dx, cx, ax; - unsigned short gs, fs, es, ds, eflags; + u16 di, si, bp, sp, bx, dx, cx, ax; + u16 gs, fs, es, ds, eflags; } regs16_t; /** @@ -18,7 +18,7 @@ typedef struct __attribute__((packed)) { * @param intnum The interrupt number (e.g. 0x10) * @param regs The ASM registers */ -extern void int32(unsigned char intnum, regs16_t *regs); +extern void int32(u8 intnum, regs16_t *regs); /** * Display a general log message |