Changeset 34bd143 in mainline


Ignore:
Timestamp:
2006-09-30T10:28:50Z (18 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
36db5ac
Parents:
398e7688
Message:

Add node handle to in-memory ofw tree node.
This is essential for interrupt mapping on sparc64
and perhaps on other platforms that have OpenFirmware.

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • boot/genarch/ofw_tree.c

    r398e7688 r34bd143  
    9494        current_node->peer = NULL;
    9595        current_node->child = NULL;
     96        current_node->node_handle = current;
    9697        current_node->properties = 0;
    9798        current_node->property = NULL;
  • boot/genarch/ofw_tree.h

    r398e7688 r34bd143  
    4444        ofw_tree_node_t *child;
    4545
     46        uint32_t node_handle;                   /**< Old OpenFirmware node handle. */
     47
    4648        char *da_name;                          /**< Disambigued name. */
    4749
  • kernel/genarch/include/ofw/ofw_tree.h

    r398e7688 r34bd143  
    4444        ofw_tree_node_t *child;
    4545
    46         char *da_name;                                  /**< Disambigued name. */
     46        uint32_t node_handle;                   /**< Old OpenFirmware node handle. */
    4747
    48         unsigned properties;                            /**< Number of properties. */
     48        char *da_name;                          /**< Disambigued name. */
     49
     50        unsigned properties;                    /**< Number of properties. */
    4951        ofw_tree_property_t *property;
    5052};
Note: See TracChangeset for help on using the changeset viewer.