| Current File : //usr/share/src/uts/i86pc/sys/zvmm/zvmm_gdt.h |
/*
* Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
*/
#ifndef _SYS_ZVMM_GDT_H
#define _SYS_ZVMM_GDT_H
#ifdef __cplusplus
extern "C" {
#endif
/*
* the boot descriptor tables we build for the kernel
*/
#pragma pack(1)
typedef struct {
uint16_t limit_low;
uint16_t base_low;
uint8_t base_middle;
uint8_t attr;
uint8_t attr_and_limit;
uint8_t base_high;
} descriptor_t;
#pragma pack()
#ifdef __cplusplus
}
#endif
#endif /* _SYS_ZVMM_GDT_H */