Changeset 16529d5 in mainline for kernel/arch/sparc64


Ignore:
Timestamp:
2006-09-20T20:31:44Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
28ecadb
Parents:
61e90dd
Message:

More ofw_tree work and fixes.
Add ofw_tree_lookup().
Every ofw_tree_node now also contains a disambigued name which is essential for tree lookups.

Location:
kernel/arch/sparc64
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc64/Makefile.inc

    r61e90dd r16529d5  
    6161CONFIG_FB = y
    6262
     63## Compile with support for OpenFirmware device tree.
     64#
     65
     66CONFIG_OFW_TREE = y
    6367
    6468ifeq ($(MACHINE),enterprise)
  • kernel/arch/sparc64/src/sparc64.c

    r61e90dd r16529d5  
    4646#include <arch/mm/page.h>
    4747#include <arch/stack.h>
     48#include <genarch/ofw/ofw_tree.h>
    4849#include <userspace.h>
    4950
     
    6566        ballocs.base = bootinfo.ballocs.base;
    6667        ballocs.size = bootinfo.ballocs.size;
     68       
     69        ofw_tree_init(bootinfo.ofw_root);
    6770}
    6871
Note: See TracChangeset for help on using the changeset viewer.