Changeset 03362fbd in mainline for uspace/drv/audio/sb16/dsp.c


Ignore:
Timestamp:
2013-02-09T23:14:45Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
22dfd38
Parents:
b5d2e57 (diff), 005b765 (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:

Merge mainline changes.

Conflict resulting from bool.h → stdbool.h move and ddf structs turning opaque.
Fails to boot to shell console.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/audio/sb16/dsp.c

    rb5d2e57 r03362fbd  
    3434
    3535#include <as.h>
    36 #include <bool.h>
     36#include <stdbool.h>
    3737#include <ddi.h>
    3838#include <devman.h>
     
    159159{
    160160        async_sess_t *sess = devman_parent_device_connect(EXCHANGE_ATOMIC,
    161             dsp->sb_dev->handle, IPC_FLAG_BLOCKING);
     161            ddf_dev_get_handle(dsp->sb_dev), IPC_FLAG_BLOCKING);
    162162
    163163        const int ret = hw_res_dma_channel_setup(sess,
     
    182182        }
    183183
    184         ddf_log_verbose("Setup dma buffer at %p(%p).", buffer, pa, size);
     184        ddf_log_verbose("Setup dma buffer at %p(%p) %zu.", buffer, pa, size);
    185185        assert((uintptr_t)pa < (1 << 25));
    186186
     
    301301        assert(dsp->buffer.data);
    302302        async_sess_t *sess = devman_parent_device_connect(EXCHANGE_ATOMIC,
    303             dsp->sb_dev->handle, IPC_FLAG_BLOCKING);
     303            ddf_dev_get_handle(dsp->sb_dev), IPC_FLAG_BLOCKING);
    304304
    305305        // TODO: Assumes DMA 16
Note: See TracChangeset for help on using the changeset viewer.