Changeset e8194664 in mainline
- Timestamp:
- 2006-05-05T15:09:40Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f58af46
- Parents:
- 4c89b09
- Location:
- arch
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/amd64/include/pm.h
r4c89b09 re8194664 37 37 38 38 #define IDT_ITEMS 64 39 #define GDT_ITEMS 939 #define GDT_ITEMS 8 40 40 41 #define VESA_INIT_SEGMENT 0x800042 41 43 42 #define NULL_DES 0 … … 50 49 /* EndOfWarning */ 51 50 #define TSS_DES 6 51 52 53 54 #ifdef CONFIG_FB 55 52 56 #define VESA_INIT_DES 8 57 #define VESA_INIT_SEGMENT 0x8000 58 #undef GDT_ITEMS 59 #define GDT_ITEMS 9 60 61 #endif /*CONFIG_FB*/ 62 63 53 64 54 65 #define gdtselector(des) ((des)<<3) -
arch/amd64/src/pm.c
r4c89b09 re8194664 111 111 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, 112 112 /* VESA Init descriptor */ 113 #ifdef CONFIG_FB 113 114 { 0xffff, 0, VESA_INIT_SEGMENT>>12, AR_PRESENT | AR_CODE | DPL_KERNEL, 0xf, 0, 0, 0, 0, 0 } 115 #endif 114 116 }; 115 117 -
arch/ia32/include/pm.h
r4c89b09 re8194664 31 31 32 32 #define IDT_ITEMS 64 33 #define GDT_ITEMS 833 #define GDT_ITEMS 7 34 34 35 35 #define VESA_INIT_SEGMENT 0x8000 … … 42 42 #define TSS_DES 5 43 43 #define TLS_DES 6 /* Pointer to Thread-Local-Storage data */ 44 45 #ifdef CONFIG_FB 46 47 #define VESA_INIT_SEGMENT 0x8000 44 48 #define VESA_INIT_DES 7 49 #undef GDT_ITEMS 50 #define GDT_ITEMS 8 51 52 #endif /* CONFIG_FB */ 53 45 54 46 55 #define selector(des) ((des)<<3) -
arch/ia32/src/drivers/vesa.c
r4c89b09 re8194664 78 78 79 79 fb_init( videoram_lin_addr,vesa_width,vesa_height,vesa_bpp,vesa_scanline); 80 putchar('\n');81 80 } 82 81 -
arch/ia32/src/pm.c
r4c89b09 re8194664 69 69 { 0xffff, 0, 0, AR_PRESENT | AR_DATA | AR_WRITABLE | DPL_USER, 0xf, 0, 0, 1, 1, 0 }, 70 70 /* VESA Init descriptor */ 71 #ifdef CONFIG_FB 71 72 { 0xffff, 0, VESA_INIT_SEGMENT>>12, AR_PRESENT | AR_CODE | DPL_KERNEL, 0xf, 0, 0, 0, 0, 0 } 72 73 #endif 73 74 }; 74 75
Note:
See TracChangeset
for help on using the changeset viewer.