Changes in kernel/arch/amd64/src/proc/task.c [2ddcc7b:df4ed85] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/amd64/src/proc/task.c
r2ddcc7b rdf4ed85 35 35 #include <proc/task.h> 36 36 #include <mm/slab.h> 37 #include < typedefs.h>37 #include <arch/types.h> 38 38 39 39 /** Perform amd64 specific task initialization. 40 40 * 41 * @param task Task to be initialized. 42 * 41 * @param t Task to be initialized. 43 42 */ 44 void task_create_arch(task_t *t ask)43 void task_create_arch(task_t *t) 45 44 { 46 t ask->arch.iomapver = 0;47 bitmap_initialize(&t ask->arch.iomap, NULL, 0);45 t->arch.iomapver = 0; 46 bitmap_initialize(&t->arch.iomap, NULL, 0); 48 47 } 49 48 50 49 /** Perform amd64 specific task destruction. 51 50 * 52 * @param task Task to be initialized. 53 * 51 * @param t Task to be initialized. 54 52 */ 55 void task_destroy_arch(task_t *t ask)53 void task_destroy_arch(task_t *t) 56 54 { 57 if (t ask->arch.iomap.map)58 free(t ask->arch.iomap.map);55 if (t->arch.iomap.map) 56 free(t->arch.iomap.map); 59 57 } 60 58
Note:
See TracChangeset
for help on using the changeset viewer.