Changeset 11928d5 in mainline for arch/ia32/src
- Timestamp:
- 2006-04-28T14:32:44Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a98cdc7
- Parents:
- 040e4e9
- Location:
- arch/ia32/src
- Files:
-
- 2 edited
-
pm.c (modified) (2 diffs)
-
proc/scheduler.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
arch/ia32/src/pm.c
r040e4e9 r11928d5 200 200 gdt_p[TSS_DES].access = AR_PRESENT | AR_TSS | DPL_KERNEL; 201 201 gdt_p[TSS_DES].special = 1; 202 gdt_p[TSS_DES].granularity = 1;202 gdt_p[TSS_DES].granularity = 0; 203 203 204 204 gdt_setbase(&gdt_p[TSS_DES], (__address) tss_p); 205 gdt_setlimit(&gdt_p[TSS_DES], sizeof(tss_t)- 1);205 gdt_setlimit(&gdt_p[TSS_DES], TSS_BASIC_SIZE - 1); 206 206 207 207 /* … … 211 211 tr_load(selector(TSS_DES)); 212 212 213 clean_IOPL_NT_flags(); /* Disable I/O on nonprivileged levels */213 clean_IOPL_NT_flags(); /* Disable I/O on nonprivileged levels and clear NT flag. */ 214 214 clean_AM_flag(); /* Disable alignment check */ 215 215 } -
arch/ia32/src/proc/scheduler.c
r040e4e9 r11928d5 37 37 #include <arch/asm.h> 38 38 #include <adt/bitmap.h> 39 #include <print.h> 39 40 40 41 /** Perform ia32 specific tasks needed before the new task is run. … … 56 57 if ((bits = TASK->arch.iomap.bits)) { 57 58 bitmap_t iomap; 58 59 59 60 ASSERT(TASK->arch.iomap.map); 60 61 bitmap_initialize(&iomap, CPU->arch.tss->iomap, TSS_IOMAP_SIZE * 8);
Note:
See TracChangeset
for help on using the changeset viewer.
