Changeset 5dc9622 in mainline for uspace/lib/libc/include/device/hw_res.h
- Timestamp:
- 2010-04-18T19:44:17Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5fe1c32
- Parents:
- c1a8ae52
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libc/include/device/hw_res.h
rc1a8ae52 r5dc9622 39 39 #include <bool.h> 40 40 41 // HW resource provider interface 42 43 typedef enum { 44 GET_RESOURCE_LIST = 0, 45 ENABLE_INTERRUPT 46 } hw_res_funcs_t; 47 48 /** HW resource types. */ 49 typedef enum { 50 INTERRUPT, 51 IO_RANGE, 52 MEM_RANGE 53 } hw_res_type_t; 54 55 typedef enum { 56 LITTLE_ENDIAN = 0, 57 BIG_ENDIAN 58 } endianness_t; 59 60 41 61 /** HW resource (e.g. interrupt, memory register, i/o register etc.). */ 42 62 typedef struct hw_resource { … … 74 94 75 95 96 76 97 bool get_hw_resources(int dev_phone, hw_resource_list_t *hw_resources); 77 98
Note:
See TracChangeset
for help on using the changeset viewer.