Changeset 778c1e1 in mainline for arch/sparc64/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/sparc64/src/mm/frame.c

    reffee6f r778c1e1  
    2828
    2929#include <arch/mm/frame.h>
     30#include <genarch/ofw/memory_init.h>
    3031#include <mm/frame.h>
    3132#include <config.h>
     
    3435void frame_arch_init(void)
    3536{
    36         zone_create(0, config.memory_size >> FRAME_WIDTH, 1, 0);
     37        ofw_init_zones();
    3738
    3839        /*
Note: See TracChangeset for help on using the changeset viewer.