Changeset 802898f in mainline for uspace/lib/c/include


Ignore:
Timestamp:
2013-09-02T20:14:11Z (12 years ago)
Author:
Dominik Taborsky (AT DOT) <brembyseznamcz>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8c95dff
Parents:
0435fe41 (diff), 61ab4a9 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

mainline update

Location:
uspace/lib/c/include
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/async.h

    r0435fe41 r802898f  
    399399extern int async_data_read_start(async_exch_t *, void *, size_t);
    400400extern bool async_data_read_receive(ipc_callid_t *, size_t *);
     401extern bool async_data_read_receive_call(ipc_callid_t *, ipc_call_t *, size_t *);
    401402extern int async_data_read_finalize(ipc_callid_t, const void *, size_t);
    402403
     
    437438extern int async_data_write_start(async_exch_t *, const void *, size_t);
    438439extern bool async_data_write_receive(ipc_callid_t *, size_t *);
     440extern bool async_data_write_receive_call(ipc_callid_t *, ipc_call_t *, size_t *);
    439441extern int async_data_write_finalize(ipc_callid_t, void *, size_t);
    440442
  • uspace/lib/c/include/device/hw_res.h

    r0435fe41 r802898f  
    5353        HW_RES_ENABLE_INTERRUPT,
    5454        HW_RES_DMA_CHANNEL_SETUP,
     55        HW_RES_DMA_CHANNEL_REMAIN,
    5556} hw_res_method_t;
    5657
     
    115116
    116117extern int hw_res_dma_channel_setup(async_sess_t *, unsigned int, uint32_t,
    117     uint16_t, uint8_t);
     118    uint32_t, uint8_t);
     119extern int hw_res_dma_channel_remain(async_sess_t *, unsigned);
    118120
    119121#endif
  • uspace/lib/c/include/device/hw_res_parsed.h

    r0435fe41 r802898f  
    139139}
    140140
    141 extern int hw_res_list_parse(hw_resource_list_t *, hw_res_list_parsed_t *, int);
     141extern int hw_res_list_parse(const hw_resource_list_t *,
     142    hw_res_list_parsed_t *, int);
    142143extern int hw_res_get_list_parsed(async_sess_t *, hw_res_list_parsed_t *, int);
    143144
  • uspace/lib/c/include/ipc/dev_iface.h

    r0435fe41 r802898f  
    3636typedef enum {
    3737        HW_RES_DEV_IFACE = 0,
     38
    3839        /** Character device interface */
    3940        CHAR_DEV_IFACE,
     
    4142        /** Graphic device interface */
    4243        GRAPH_DEV_IFACE,
     44
     45        /** Audio device mixer interface */
     46        AUDIO_MIXER_IFACE,
     47        /** Audio device pcm buffer interface */
     48        AUDIO_PCM_BUFFER_IFACE,
    4349       
    4450        /** Network interface controller interface */
     
    5460        /** Interface provided by USB HID devices. */
    5561        USBHID_DEV_IFACE,
     62
    5663        /** Interface provided by Real Time Clock devices */
    5764        CLOCK_DEV_IFACE,
     65
    5866        /** Interface provided by battery powered devices */
    5967        BATTERY_DEV_IFACE,
     68
    6069        /** Interface provided by AHCI devices. */
    6170        AHCI_DEV_IFACE,
  • uspace/lib/c/include/macros.h

    r0435fe41 r802898f  
    4040#define abs(a)     ((a) >= 0 ? (a) : -(a))
    4141
     42#define ARRAY_SIZE(array)   (sizeof(array) / sizeof(array[0]))
    4243
    4344#define KiB2SIZE(kb)  ((kb) << 10)
Note: See TracChangeset for help on using the changeset viewer.