Changeset 832cbe7 in mainline for uspace/lib/c/include/device/hw_res.h
- Timestamp:
- 2025-02-05T12:30:20Z (7 days ago)
- Branches:
- master
- Children:
- accdf882
- Parents:
- 0dab4850
- git-author:
- Jiri Svoboda <jiri@…> (2025-02-04 21:30:06)
- git-committer:
- Jiri Svoboda <jiri@…> (2025-02-05 12:30:20)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/device/hw_res.h
r0dab4850 r832cbe7 1 1 /* 2 * Copyright (c) 202 4Jiri Svoboda2 * Copyright (c) 2025 Jiri Svoboda 3 3 * Copyright (c) 2010 Lenka Trochtova 4 4 * All rights reserved. … … 57 57 HW_RES_DMA_CHANNEL_SETUP, 58 58 HW_RES_DMA_CHANNEL_REMAIN, 59 HW_RES_GET_FLAGS 59 HW_RES_QUERY_LEGACY_IO, 60 HW_RES_CLAIM_LEGACY_IO 60 61 } hw_res_method_t; 61 62 … … 118 119 } 119 120 121 /** Claims to legacy devices */ 120 122 typedef enum { 121 /** This is an PCI/ISA bridge, not 'classic' ISA bus */122 hw f_isa_bridge = 0x1123 } hw_res_ flags_t;123 /** 'Legacy' ISA IDE I/O ranges */ 124 hwc_isa_ide = 0x1 125 } hw_res_claims_t; 124 126 125 127 extern errno_t hw_res_get_resource_list(async_sess_t *, hw_resource_list_t *); … … 131 133 uint32_t, uint8_t); 132 134 extern errno_t hw_res_dma_channel_remain(async_sess_t *, unsigned, size_t *); 133 extern errno_t hw_res_get_flags(async_sess_t *, hw_res_flags_t *); 135 extern errno_t hw_res_query_legacy_io(async_sess_t *, hw_res_claims_t *); 136 extern errno_t hw_res_claim_legacy_io(async_sess_t *, hw_res_claims_t); 134 137 135 138 #endif
Note:
See TracChangeset
for help on using the changeset viewer.