Changeset 5dc9622 in mainline for uspace/lib/libc
- 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
- Location:
- uspace/lib/libc/include
- Files:
-
- 2 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 -
uspace/lib/libc/include/ipc/dev_iface.h
rc1a8ae52 r5dc9622 47 47 48 48 49 50 // HW resource provider interface51 52 typedef enum {53 GET_RESOURCE_LIST = 0,54 ENABLE_INTERRUPT55 } hw_res_funcs_t;56 57 /** HW resource types. */58 typedef enum {59 INTERRUPT,60 IO_RANGE,61 MEM_RANGE62 } hw_res_type_t;63 64 typedef enum {65 LITTLE_ENDIAN = 0,66 BIG_ENDIAN67 } endianness_t;68 69 49 #endif
Note:
See TracChangeset
for help on using the changeset viewer.