Changeset 03362fbd in mainline for uspace/drv/bus/isa/i8237.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/bus/isa/i8237.c

    rb5d2e57 r03362fbd  
    3636
    3737#include <assert.h>
    38 #include <bool.h>
     38#include <stdbool.h>
    3939#include <errno.h>
    4040#include <ddi.h>
    4141#include <ddf/log.h>
    4242#include <fibril_synch.h>
    43 #include <libarch/ddi.h>
     43#include <ddi.h>
     44#include <ddf/log.h>
    4445#include "i8237.h"
    4546
     
    370371        }
    371372       
    372         ddf_msg(LVL_DEBUG, "Unspoiled address: %p and size: %zu.", pa, size);
    373        
    374373        /* 16 bit transfers are a bit special */
     374        ddf_msg(LVL_DEBUG, "Unspoiled address %#" PRIx32 " (size %" PRIu16 ")",
     375            pa, size);
    375376        if (is_dma16(channel)) {
    376377                /* Size must be aligned to 16 bits */
     
    387388        const dma_channel_t dma_channel = controller_8237.channels[channel];
    388389       
    389         ddf_msg(LVL_DEBUG, "Setting channel %u, to address %p(%zu), mode %hhx.",
    390             channel, pa, size, mode);
     390        ddf_msg(LVL_DEBUG, "Setting channel %u to address %#" PRIx32 " "
     391            "(size %" PRIu16 "), mode %hhx.", channel, pa, size, mode);
    391392       
    392393        /* Mask DMA request */
Note: See TracChangeset for help on using the changeset viewer.