Changeset 1084a784 in mainline for include/arch.h


Ignore:
Timestamp:
2005-10-04T22:09:41Z (20 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
342de62
Parents:
8e3f47b3
Message:

mips32 memory management work.
TLB Refill Exception implemented (passed basic testing).
Remove bit g from struct entry_hi.
Add generic find_mapping().
Add asid to vm_t type, define asid_t to hide architecture specific differences.
Implement ASID allocation for mips32, dummy for other architectures.
Add THE→vm (a.k.a. VM).
Add vm_install_arch().
Move pte_t definition to arch/types.h on each architecture.
Fix PTL manipulating functions on mips32 to shift pfn by 12 instead of by 14.
Fix tlb_init_arch() to initialize all entries.

Other.
Remove unnecessary header files from arch.h
Add missing headers here and there.
Remove two unnecessary ld flags from mips32 makefile.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/arch.h

    r8e3f47b3 r1084a784  
    3737#include <arch/asm.h>
    3838
    39 #include <proc/thread.h>
    40 #include <proc/task.h>
    41 
    4239#define CPU                     THE->cpu
    4340#define THREAD                  THE->thread
    4441#define TASK                    THE->task
     42#define VM                      THE->vm
    4543#define PREEMPTION_DISABLED     THE->preemption_disabled
    4644
     
    5957        task_t *task;                   /* current task */
    6058        cpu_t *cpu;                     /* executing cpu */
     59        vm_t *vm;                       /* current vm */
    6160};
    6261
Note: See TracChangeset for help on using the changeset viewer.