Changeset 20d50a1 in mainline for arch/ia32/src/userspace.c


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
  • arch/ia32/src/userspace.c

    r0369911 r20d50a1  
    3232#include <arch.h>
    3333#include <proc/thread.h>
    34 #include <mm/vm.h>
     34#include <mm/as.h>
    3535
    3636
     
    4848        __asm__ volatile (
    4949                /* CLNT */
    50                 "pushfl;"
    51                 "pop %%eax;"
    52                 "and $0xFFFFBFFF,%%eax;"
    53                 "push %%eax;"
    54                 "popfl;"
     50                "pushfl\n"
     51                "pop %%eax\n"
     52                "and $0xffffbfff,%%eax\n"
     53                "push %%eax\n"
     54                "popfl\n"
    5555
    5656                "pushl %0\n"
     
    6565       
    6666        /* Unreachable */
    67         for(;;);
     67        for(;;)
     68                ;
    6869}
Note: See TracChangeset for help on using the changeset viewer.