Changeset 16529d5 in mainline for boot/genarch/ofw.c


Ignore:
Timestamp:
2006-09-20T20:31:44Z (18 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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • boot/genarch/ofw.c

    r61e90dd r16529d5  
    115115}
    116116
    117 int ofw_get_property(const phandle device, const char *name, const void *buf, const int buflen)
     117int ofw_get_property(const phandle device, const char *name, void *buf, const int buflen)
    118118{
    119119        return ofw_call("getprop", 4, 1, NULL, device, name, buf, buflen);
     
    128128{
    129129        return ofw_call("nextprop", 3, 1, NULL, device, previous, buf);
     130}
     131
     132int ofw_package_to_path(const phandle device, char *buf, const int buflen)
     133{
     134        return ofw_call("package-to-path", 3, 1, NULL, device, buf, buflen);
    130135}
    131136
Note: See TracChangeset for help on using the changeset viewer.