Changeset 3debedec in mainline for arch/ppc32/src/mm/frame.c


Ignore:
Timestamp:
2006-02-16T20:26:14Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ba52899
Parents:
2a46e10
Message:

Made powerpc to get on PearPC to the version print when compiled with -O1:

  • create proper memory zones
  • switch to real mode on boot

TODO

  • kernel relocation during boot
  • autodetection of framebuffer settings (PCI?) - now includes hardcoded settings for PearPc.
File:
1 edited

Legend:

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

    r2a46e10 r3debedec  
    2828
    2929#include <arch/mm/frame.h>
     30#include <arch/mm/memory_init.h>
    3031#include <mm/frame.h>
    3132#include <config.h>
     
    3435void frame_arch_init(void)
    3536{
    36         /* First page is exception vector,
    37          * second is 'implementation specific', evade it too
    38          */
    39         zone_create(0, SIZE2FRAMES(config.memory_size), 2, 0);
     37        ppc_init_zones();
     38        /* First is exception vector, second is 'implementation specific' */
    4039        frame_mark_unavailable(0, 2);
    4140}
Note: See TracChangeset for help on using the changeset viewer.