Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/isa/i8237.c

    r3e6a98c5 rd9cf684a  
    3636
    3737#include <assert.h>
    38 #include <stdbool.h>
     38#include <bool.h>
    3939#include <errno.h>
    4040#include <fibril_synch.h>
    4141#include <ddi.h>
     42#include <libarch/ddi.h>
    4243#include <ddf/log.h>
    4344#include "i8237.h"
     
    350351       
    351352        /* 16 bit transfers are a bit special */
    352         ddf_msg(LVL_DEBUG, "Unspoiled address %#" PRIx32 " (size %" PRIu16 ")",
    353             pa, size);
     353        ddf_msg(LVL_DEBUG, "Unspoiled address: %p and size: %zu.", pa, size);
    354354        if (channel > 4) {
    355355                /* Size must be aligned to 16 bits */
     
    367367        const dma_channel_t dma_channel = controller_8237.channels[channel];
    368368       
    369         ddf_msg(LVL_DEBUG, "Setting channel %u to address %#" PRIx32 " "
    370             "(size %" PRIu16 "), mode %hhx.", channel, pa, size, mode);
     369        ddf_msg(LVL_DEBUG, "Setting channel %u, to address %p(%zu), mode %hhx.",
     370            channel, pa, size, mode);
    371371       
    372372        /* Mask DMA request */
Note: See TracChangeset for help on using the changeset viewer.