Changeset b07769b6 in mainline for arch/ia32/src/pm.c


Ignore:
Timestamp:
2005-08-19T13:12:32Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f4a61ef
Parents:
6a4177a
Message:

Switch over to per vm_t page tables. (breaks ia32 userspace)

Define dummy memcopy() for amd64 and ppc to satisfy compiler.

Get rid of problematic #include <arch/mm/page.h> in mm/page.h.

Indentation fixes and small changes here and there.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/ia32/src/pm.c

    r6a4177a rb07769b6  
    3535#include <arch/context.h>
    3636#include <panic.h>
     37#include <arch/mm/page.h>
    3738
    3839/*
     
    132133static void clean_IOPL_NT_flags(void)
    133134{
    134   asm
     135        asm
    135136        (
    136     "pushfl;"
     137                "pushfl;"
    137138                "pop %%eax;"
    138139                "and $0xffff8fff,%%eax;"
     
    148149static void clean_AM_flag(void)
    149150{
    150   asm
     151        asm
    151152        (
    152     "mov %%cr0,%%eax;"
     153                "mov %%cr0,%%eax;"
    153154                "and $0xFFFBFFFF,%%eax;"
    154155                "mov %%eax,%%cr0;"
     
    158159        );
    159160}
    160 
    161 
    162 
    163 
    164161
    165162void pm_init(void)
Note: See TracChangeset for help on using the changeset viewer.