Changes in kernel/arch/ia32/src/proc/task.c [c5396c1:9d58539] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia32/src/proc/task.c
rc5396c1 r9d58539 40 40 /** Perform ia32 specific task initialization. 41 41 * 42 * @param task Task to be initialized. 43 * 42 * @param t Task to be initialized. 44 43 */ 45 void task_create_arch(task_t *t ask)44 void task_create_arch(task_t *t) 46 45 { 47 t ask->arch.iomapver = 0;48 bitmap_initialize(&t ask->arch.iomap, 0, NULL);46 t->arch.iomapver = 0; 47 bitmap_initialize(&t->arch.iomap, NULL, 0); 49 48 } 50 49 51 50 /** Perform ia32 specific task destruction. 52 51 * 53 * @param task Task to be initialized. 54 * 52 * @param t Task to be initialized. 55 53 */ 56 void task_destroy_arch(task_t *t ask)54 void task_destroy_arch(task_t *t) 57 55 { 58 if (t ask->arch.iomap.bits != NULL)59 free(t ask->arch.iomap.bits);56 if (t->arch.iomap.map) 57 free(t->arch.iomap.map); 60 58 } 61 59
Note:
See TracChangeset
for help on using the changeset viewer.