Ignore:
Timestamp:
2007-09-05T20:01:36Z (17 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c785296
Parents:
267ab56
Message:

Experimental support for the cgsix framebuffer, which is found on old Ultra 1
worksations, and the SBUS bus and devices. Not tested.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/genarch/include/ofw/ofw_tree.h

    r267ab56 r9b35499  
    141141typedef struct ofw_pci_range ofw_pci_range_t;
    142142
     143struct ofw_sbus_reg {
     144        uint64_t addr;
     145        uint32_t size;
     146} __attribute__ ((packed));
     147typedef struct ofw_sbus_reg ofw_sbus_reg_t;
     148
     149struct ofw_sbus_range {
     150        uint64_t child_base;
     151        uint64_t parent_base;
     152        uint32_t size;
     153} __attribute__ ((packed));
     154typedef struct ofw_sbus_range ofw_sbus_range_t;
     155
    143156struct ofw_upa_reg {
    144157        uint64_t addr;
     
    161174extern bool ofw_ebus_apply_ranges(ofw_tree_node_t *node, ofw_ebus_reg_t *reg, uintptr_t *pa);
    162175extern bool ofw_pci_apply_ranges(ofw_tree_node_t *node, ofw_pci_reg_t *reg, uintptr_t *pa);
     176extern bool ofw_sbus_apply_ranges(ofw_tree_node_t *node, ofw_sbus_reg_t *reg, uintptr_t *pa);
    163177extern bool ofw_upa_apply_ranges(ofw_tree_node_t *node, ofw_upa_reg_t *reg, uintptr_t *pa);
    164178
Note: See TracChangeset for help on using the changeset viewer.