Changeset 20d50a1 in mainline for generic/include/proc/task.h


Ignore:
Timestamp:
2006-01-13T13:02:45Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f9425006
Parents:
0369911
Message:

Memory management work.

  • vm.* → as.* (as like address space is, imho, more fitting)
  • Don't do TLB shootdown on vm_install(). Some architectures only need to call tlb_invalidate_asid().
  • Don't allocate all frames for as_area in as_area_create(), but let them be allocated on-demand by as_page_fault().
  • Add high-level page fault handler as_page_fault().
  • Add as_area_load_mapping().
File:
1 edited

Legend:

Unmodified
Added
Removed
  • generic/include/proc/task.h

    r0369911 r20d50a1  
    3434#include <list.h>
    3535
     36/** Task structure. */
    3637struct task {
    3738        SPINLOCK_DECLARE(lock);
    3839        link_t th_head;         /**< List of threads contained in this task. */
    3940        link_t tasks_link;      /**< Link to other tasks within the system. */
    40         vm_t *vm;
     41        as_t *as;               /**< Address space. */
    4142};
    4243
     
    4546
    4647extern void task_init(void);
    47 extern task_t *task_create(vm_t *m);
     48extern task_t *task_create(as_t *as);
    4849
    4950#endif
Note: See TracChangeset for help on using the changeset viewer.