Changeset 9a5b556 in mainline for boot/genarch/ofw.c


Ignore:
Timestamp:
2006-09-12T13:03:55Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6eabb6e6
Parents:
7bb6b06
Message:

sparc64 work:

  • find a CPU node and read its clock_frequency attribute
  • implement asm_delay_loop()
  • set TICK_COMPARE register according to processor frequency
  • small improvements at random places

OpenFirmware work:

  • two new functions for walking the device tree

Generic boot loader work:

  • added basic string functions

Usual pile of indentation and formatting fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • boot/genarch/ofw.c

    r7bb6b06 r9a5b556  
    146146}
    147147
     148phandle ofw_get_child_node(const phandle node)
     149{
     150        return ofw_call("child", 1, 1, NULL, node);
     151}
     152
     153phandle ofw_get_peer_node(const phandle node)
     154{
     155        return ofw_call("peer", 1, 1, NULL, node);
     156}
    148157
    149158static ihandle ofw_open(const char *name)
Note: See TracChangeset for help on using the changeset viewer.