Ignore:
File:
1 edited

Legend:

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

    r2ddcc7b rdf4ed85  
    3535#include <proc/task.h>
    3636#include <mm/slab.h>
    37 #include <typedefs.h>
     37#include <arch/types.h>
    3838
    3939/** Perform amd64 specific task initialization.
    4040 *
    41  * @param task Task to be initialized.
    42  *
     41 * @param t Task to be initialized.
    4342 */
    44 void task_create_arch(task_t *task)
     43void task_create_arch(task_t *t)
    4544{
    46         task->arch.iomapver = 0;
    47         bitmap_initialize(&task->arch.iomap, NULL, 0);
     45        t->arch.iomapver = 0;
     46        bitmap_initialize(&t->arch.iomap, NULL, 0);
    4847}
    4948
    5049/** Perform amd64 specific task destruction.
    5150 *
    52  * @param task Task to be initialized.
    53  *
     51 * @param t Task to be initialized.
    5452 */
    55 void task_destroy_arch(task_t *task)
     53void task_destroy_arch(task_t *t)
    5654{
    57         if (task->arch.iomap.map)
    58                 free(task->arch.iomap.map);
     55        if (t->arch.iomap.map)
     56                free(t->arch.iomap.map);
    5957}
    6058
Note: See TracChangeset for help on using the changeset viewer.