Changeset bb4c141c in mainline


Ignore:
Timestamp:
2012-07-05T22:17:53Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7ed5153b
Parents:
9d5244f
Message:

drv/audio/sb16: minor debug changes.

Location:
uspace/drv/audio/sb16
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/audio/sb16/dma.h

    r9d5244f rbb4c141c  
    4141#include <as.h>
    4242
     43#include "ddf_log.h"
     44
    4345#define DMA_ALIGNENT 1024
    4446
     
    7072            as_area_create(AS_AREA_ANY, size, AS_AREA_READ | AS_AREA_WRITE);
    7173        bzero(address, size);
     74        uintptr_t ptr = 0;
     75        as_get_physical_mapping(address, &ptr);
     76        ddf_log_debug2("Buffer mapped at %x.", ptr);
    7277        return address;
    7378}
  • uspace/drv/audio/sb16/dsp.c

    r9d5244f rbb4c141c  
    191191        assert(dsp);
    192192        if (dsp->event_exchange) {
    193                 ddf_log_verbose("Sending interrupt event.");
     193//              ddf_log_verbose("Sending interrupt event.");
    194194                async_msg_0(dsp->event_exchange, IPC_FIRST_USER_METHOD);
    195195        } else {
Note: See TracChangeset for help on using the changeset viewer.