Changes in uspace/drv/bus/isa/i8237.c [d9cf684a:3e6a98c5] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/isa/i8237.c
rd9cf684a r3e6a98c5 36 36 37 37 #include <assert.h> 38 #include < bool.h>38 #include <stdbool.h> 39 39 #include <errno.h> 40 40 #include <fibril_synch.h> 41 41 #include <ddi.h> 42 #include <libarch/ddi.h>43 42 #include <ddf/log.h> 44 43 #include "i8237.h" … … 351 350 352 351 /* 16 bit transfers are a bit special */ 353 ddf_msg(LVL_DEBUG, "Unspoiled address: %p and size: %zu.", pa, size); 352 ddf_msg(LVL_DEBUG, "Unspoiled address %#" PRIx32 " (size %" PRIu16 ")", 353 pa, size); 354 354 if (channel > 4) { 355 355 /* Size must be aligned to 16 bits */ … … 367 367 const dma_channel_t dma_channel = controller_8237.channels[channel]; 368 368 369 ddf_msg(LVL_DEBUG, "Setting channel %u , to address %p(%zu), mode %hhx.",370 channel, pa, size, mode);369 ddf_msg(LVL_DEBUG, "Setting channel %u to address %#" PRIx32 " " 370 "(size %" PRIu16 "), mode %hhx.", channel, pa, size, mode); 371 371 372 372 /* Mask DMA request */
Note:
See TracChangeset
for help on using the changeset viewer.