Changeset 4285f384 in mainline for uspace/lib/device/include
- Timestamp:
- 2025-02-25T20:25:43Z (5 months ago)
- Branches:
- master
- Children:
- d30e067, f35749e
- Parents:
- d231a54
- Location:
- uspace/lib/device/include
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/device/include/bd.h
rd231a54 r4285f384 1 1 /* 2 * Copyright (c) 20 12Jiri Svoboda2 * Copyright (c) 2025 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 51 51 extern errno_t bd_get_block_size(bd_t *, size_t *); 52 52 extern errno_t bd_get_num_blocks(bd_t *, aoff64_t *); 53 extern errno_t bd_eject(bd_t *); 53 54 54 55 #endif -
uspace/lib/device/include/bd_srv.h
rd231a54 r4285f384 1 1 /* 2 * Copyright (c) 20 12Jiri Svoboda2 * Copyright (c) 2025 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 66 66 errno_t (*get_block_size)(bd_srv_t *, size_t *); 67 67 errno_t (*get_num_blocks)(bd_srv_t *, aoff64_t *); 68 errno_t (*eject)(bd_srv_t *); 68 69 }; 69 70 -
uspace/lib/device/include/ipc/bd.h
rd231a54 r4285f384 1 1 /* 2 * Copyright (c) 20 09Jiri Svoboda2 * Copyright (c) 2025 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 44 44 BD_SYNC_CACHE, 45 45 BD_WRITE_BLOCKS, 46 BD_READ_TOC 46 BD_READ_TOC, 47 BD_EJECT 47 48 } bd_request_t; 48 49 -
uspace/lib/device/include/ipc/vol.h
rd231a54 r4285f384 1 1 /* 2 * Copyright (c) 20 15 Jiri Svoboda2 * Copyright (c) 2025 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 54 54 } vol_request_t; 55 55 56 /** Volume eject flags */ 57 typedef enum { 58 /** No flags */ 59 vef_none = 0x0, 60 /** Physically eject medium */ 61 vef_physical = 0x1 62 } vol_eject_flags_t; 63 56 64 #endif 57 65 -
uspace/lib/device/include/types/vol.h
rd231a54 r4285f384 1 1 /* 2 * Copyright (c) 20 15 Jiri Svoboda2 * Copyright (c) 2025 Jiri Svoboda 3 3 * All rights reserved. 4 4 * -
uspace/lib/device/include/vol.h
rd231a54 r4285f384 1 1 /* 2 * Copyright (c) 20 15 Jiri Svoboda2 * Copyright (c) 2025 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 48 48 extern errno_t vol_part_add(vol_t *, service_id_t); 49 49 extern errno_t vol_part_info(vol_t *, service_id_t, vol_part_info_t *); 50 extern errno_t vol_part_eject(vol_t *, service_id_t );50 extern errno_t vol_part_eject(vol_t *, service_id_t, vol_eject_flags_t); 51 51 extern errno_t vol_part_empty(vol_t *, service_id_t); 52 52 extern errno_t vol_part_insert(vol_t *, service_id_t);
Note:
See TracChangeset
for help on using the changeset viewer.