Changeset fc1e4f6 in mainline for arch/ia32/src/drivers/ega.c


Ignore:
Timestamp:
2006-01-31T00:44:08Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ef67bab
Parents:
6a3c9a7
Message:

Change page_mapping_find/insert interfaces to take as_t * as first argument
and not asid_t as second argument. This change was necessitated by the
removal of mapping array from as_area_t and the fact that an address
space doesn't have an ASID when it is created.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/ia32/src/drivers/ega.c

    r6a3c9a7 rfc1e4f6  
    3030#include <putchar.h>
    3131#include <mm/page.h>
    32 #include <mm/asid.h>
     32#include <mm/as.h>
    3333#include <arch/mm/page.h>
    3434#include <synch/spinlock.h>
     
    6060        __u8 hi, lo;
    6161
    62         page_mapping_insert(PA2KA(VIDEORAM), ASID_KERNEL, VIDEORAM, PAGE_NOT_CACHEABLE, 0);
     62        page_mapping_insert(AS_KERNEL, PA2KA(VIDEORAM), VIDEORAM, PAGE_NOT_CACHEABLE, 0);
    6363        outb(0x3d4,0xe);
    6464        hi = inb(0x3d5);
Note: See TracChangeset for help on using the changeset viewer.