Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia32/src/proc/task.c

    rc5396c1 r9d58539  
    4040/** Perform ia32 specific task initialization.
    4141 *
    42  * @param task Task to be initialized.
    43  *
     42 * @param t Task to be initialized.
    4443 */
    45 void task_create_arch(task_t *task)
     44void task_create_arch(task_t *t)
    4645{
    47         task->arch.iomapver = 0;
    48         bitmap_initialize(&task->arch.iomap, 0, NULL);
     46        t->arch.iomapver = 0;
     47        bitmap_initialize(&t->arch.iomap, NULL, 0);
    4948}
    5049
    5150/** Perform ia32 specific task destruction.
    5251 *
    53  * @param task Task to be initialized.
    54  *
     52 * @param t Task to be initialized.
    5553 */
    56 void task_destroy_arch(task_t *task)
     54void task_destroy_arch(task_t *t)
    5755{
    58         if (task->arch.iomap.bits != NULL)
    59                 free(task->arch.iomap.bits);
     56        if (t->arch.iomap.map)
     57                free(t->arch.iomap.map);
    6058}
    6159
Note: See TracChangeset for help on using the changeset viewer.