//kernel/trunk/arch/ia32/include/pm.h |
---|
56,6 → 56,7 |
#define DPL_USER (PL_USER<<5) |
#define TSS_BASIC_SIZE 104 |
#define TSS_IOMAP_SIZE (16*1024+1) /* 16K for bitmap + 1 terminating byte for convenience */ |
#ifndef __ASM__ |
131,7 → 132,7 |
unsigned : 16; |
unsigned : 16; |
__u16 iomap_base; |
__u8 iomap[0x10000+1]; /* 64K + 1 terminating byte */ |
__u8 iomap[TSS_IOMAP_SIZE]; |
} __attribute__ ((packed)); |
typedef struct tss tss_t; |
//kernel/trunk/arch/ia32/include/proc/task.h |
---|
31,10 → 31,10 |
#include <typedefs.h> |
#include <arch/types.h> |
#include <adt/bitmap.h> |
typedef struct { |
count_t iomap_size; |
__u8 *iomap; |
bitmap_t iomap; |
} task_arch_t; |
#endif |