Changes in kernel/arch/ia32/src/ddi/ddi.c [c5396c1:7de18418] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia32/src/ddi/ddi.c
rc5396c1 r7de18418 68 68 */ 69 69 70 void *store = malloc(bitmap_size(elements ), FRAME_ATOMIC);70 void *store = malloc(bitmap_size(elements, 0), FRAME_ATOMIC); 71 71 if (!store) 72 72 return ENOMEM; 73 73 74 74 bitmap_t oldiomap; 75 bitmap_initialize(&oldiomap, task->arch.iomap.elements, 75 bitmap_initialize(&oldiomap, task->arch.iomap.elements, 0, 76 76 task->arch.iomap.bits); 77 77 78 bitmap_initialize(&task->arch.iomap, elements, store);78 bitmap_initialize(&task->arch.iomap, elements, 0, store); 79 79 80 80 /* … … 129 129 130 130 bitmap_t iomap; 131 bitmap_initialize(&iomap, TSS_IOMAP_SIZE * 8, 131 bitmap_initialize(&iomap, TSS_IOMAP_SIZE * 8, 0, 132 132 CPU->arch.tss->iomap); 133 133 bitmap_copy(&iomap, &TASK->arch.iomap, elements); … … 157 157 158 158 descriptor_t *gdt_p = (descriptor_t *) cpugdtr.base; 159 size_t size = bitmap_size(elements );159 size_t size = bitmap_size(elements, 0); 160 160 gdt_setlimit(&gdt_p[TSS_DES], TSS_BASIC_SIZE + size); 161 161 gdtr_load(&cpugdtr);
Note:
See TracChangeset
for help on using the changeset viewer.