summaryrefslogtreecommitdiff
path: root/libc/kinclude/arch/types.h
blob: f59faf690ea968b99b5e4d7e52b64f1d0c4df2b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* arch/i86/include/asm/types.h - Basic Linux/MT data types. */

#ifndef __LINUXMT_8086_TYPES
#define __LINUXMT_8086_TYPES

#include <asm/types.h>
	
struct _registers {
	__u16 ksp, sp, ss, ax, bx, cx, dx, di, si, ds, es, bp, ip, cs, flags;
};

typedef struct _registers __registers; 
typedef struct _registers * __pregisters;

typedef __u32 __pptr;

struct _mminit {
	__u16 cs, endcs, ds, endds, ss, endss, lowss;
};

typedef struct _mminit __arch_mminit;
typedef struct _mminit * __parch_mminit;

#endif