Changeset 778c1e1 in mainline for arch/ppc32/src/mm/frame.c


Ignore:
Timestamp:
2006-02-22T14:52:18Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7d53ef4
Parents:
effee6f
Message:

Move OFW functionality of ppc32 memory_init to genarch so that the code can also be used by sparc64.
sparc64 is now close to broken as it lacks functionality to provide identity mapping for the whole phyisical memory.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/ppc32/src/mm/frame.c

    reffee6f r778c1e1  
    3030#include <arch/mm/memory_init.h>
    3131#include <mm/frame.h>
    32 #include <config.h>
    33 #include <panic.h>
     32#include <genarch/ofw/memory_init.h>
    3433
    3534void frame_arch_init(void)
    3635{
    37         ppc_init_zones();
     36        ofw_init_zones();
    3837        /* First is exception vector, second is 'implementation specific' */
    3938        frame_mark_unavailable(0, 2);
Note: See TracChangeset for help on using the changeset viewer.