diff options
Diffstat (limited to 'libc/kinclude/arch/types.h')
-rw-r--r-- | libc/kinclude/arch/types.h | 28 |
1 files changed, 2 insertions, 26 deletions
diff --git a/libc/kinclude/arch/types.h b/libc/kinclude/arch/types.h index 00afeed..f59faf6 100644 --- a/libc/kinclude/arch/types.h +++ b/libc/kinclude/arch/types.h @@ -2,33 +2,9 @@ #ifndef __LINUXMT_8086_TYPES #define __LINUXMT_8086_TYPES - -/* First we define all of the __u and __s types...*/ - -typedef unsigned char __u8; -typedef unsigned char * __pu8; -typedef char __s8; -typedef char * __ps8; - -typedef unsigned short __u16; -typedef unsigned short * __pu16; -typedef short __s16; -typedef short * __ps16; - -typedef unsigned long __u32; -typedef unsigned long * __pu32; -typedef long __s32; -typedef long * __ps32; - -/* __uint == 16bit here */ - -typedef unsigned int __uint; -typedef int __sint; -typedef unsigned int * __puint; -typedef int * __psint; - -/* Then we define registers, etc... */ +#include <asm/types.h> + struct _registers { __u16 ksp, sp, ss, ax, bx, cx, dx, di, si, ds, es, bp, ip, cs, flags; }; |