Changeset 3abe07f5 in mainline for boot/genarch/ofw.c


Ignore:
Timestamp:
2006-09-19T19:03:55Z (18 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
61e90dd
Parents:
19dba2b
Message:

Add prototype implementation for creating canonical copy of OpenFirmware device tree.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • boot/genarch/ofw.c

    r19dba2b r3abe07f5  
    110110}
    111111
    112 
    113112phandle ofw_find_device(const char *name)
    114113{
     
    116115}
    117116
    118 
    119117int ofw_get_property(const phandle device, const char *name, const void *buf, const int buflen)
    120118{
     
    122120}
    123121
     122int ofw_get_proplen(const phandle device, const char *name)
     123{
     124        return ofw_call("getproplen", 2, 1, NULL, device, name);
     125}
     126
     127int ofw_next_property(const phandle device, char *previous, char *buf)
     128{
     129        return ofw_call("nextprop", 3, 1, NULL, device, previous, buf);
     130}
    124131
    125132unsigned int ofw_get_address_cells(const phandle device)
Note: See TracChangeset for help on using the changeset viewer.