Ignore:
Timestamp:
2010-04-18T19:44:17Z (15 years ago)
Author:
Lenka Trochtova <trochtova.lenka@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5fe1c32
Parents:
c1a8ae52
Message:

finished pseudo enumeration of ISA legacy devices (the ISA bus driver enumerates legacy devices specified in a configuration file)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/libc/include/device/hw_res.h

    rc1a8ae52 r5dc9622  
    3939#include <bool.h>
    4040
     41// HW resource provider interface
     42
     43typedef enum {
     44        GET_RESOURCE_LIST = 0,
     45        ENABLE_INTERRUPT       
     46} hw_res_funcs_t;
     47
     48/** HW resource types. */
     49typedef enum {
     50        INTERRUPT,
     51        IO_RANGE,
     52        MEM_RANGE
     53} hw_res_type_t;
     54
     55typedef enum {
     56        LITTLE_ENDIAN = 0,
     57        BIG_ENDIAN
     58} endianness_t;
     59
     60
    4161/** HW resource (e.g. interrupt, memory register, i/o register etc.). */
    4262typedef struct hw_resource {
     
    7494
    7595
     96
    7697bool get_hw_resources(int dev_phone, hw_resource_list_t *hw_resources);
    7798
Note: See TracChangeset for help on using the changeset viewer.