Print this page
de-linting of .s files
*** 23,50 ****
* Copyright 2010 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
- #if defined(__lint)
- #pragma pack(1)
- 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;
- } global_descriptor_table[8];
- struct {
- uint16_t limit; /* sizeof (global_descriptor_table) - 1 */
- void *base; /* &global_descriptor_table */
- } gdt_info;
- #pragma pack()
-
- #else /* __lint */
-
.align 16
.data
/*
* This must remain in sync with the entries in intel/sys/gdt.h; in
* particular kmdb uses B64CODE_SEL or B32CODE_SEL in perpetuity for
--- 23,32 ----
*** 141,146 ****
.globl fake_cpu_ptr
fake_cpu_ptr:
.4byte 0
.skip 0x6c0, 0
- #endif /* __lint */
--- 123,127 ----