Changeset 5dc9622 in mainline for uspace/lib/libc


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)

Location:
uspace/lib/libc/include
Files:
2 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
  • uspace/lib/libc/include/ipc/dev_iface.h

    rc1a8ae52 r5dc9622  
    4747
    4848
    49 
    50 // HW resource provider interface
    51 
    52 typedef enum {
    53         GET_RESOURCE_LIST = 0,
    54         ENABLE_INTERRUPT       
    55 } hw_res_funcs_t;
    56 
    57 /** HW resource types. */
    58 typedef enum {
    59         INTERRUPT,
    60         IO_RANGE,
    61         MEM_RANGE
    62 } hw_res_type_t;
    63 
    64 typedef enum {
    65         LITTLE_ENDIAN = 0,
    66         BIG_ENDIAN
    67 } endianness_t;
    68 
    6949#endif
Note: See TracChangeset for help on using the changeset viewer.