Changeset 0a208110 in mainline for abi/include/ddi/irq.h


Ignore:
Timestamp:
2012-02-24T18:04:56Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2578199
Parents:
b9bbaad (diff), 087768f (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:

Mainline changes.

Registering OHCI irq handler panics on ppc32.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • abi/include/ddi/irq.h

    rb9bbaad r0a208110  
    3636#define ABI_DDI_IRQ_H_
    3737
     38typedef struct {
     39        uintptr_t base;
     40        size_t size;
     41} irq_pio_range_t;
     42
    3843typedef enum {
    3944        /** Read 1 byte from the I/O space. */
     
    6772        CMD_PIO_WRITE_A_32,
    6873       
    69         /** Read 1 byte from the memory space. */
    70         CMD_MEM_READ_8,
    71         /** Read 2 bytes from the memory space. */
    72         CMD_MEM_READ_16,
    73         /** Read 4 bytes from the memory space. */
    74         CMD_MEM_READ_32,
    75        
    76         /** Write 1 byte to the memory space. */
    77         CMD_MEM_WRITE_8,
    78         /** Write 2 bytes to the memory space. */
    79         CMD_MEM_WRITE_16,
    80         /** Write 4 bytes to the memory space. */
    81         CMD_MEM_WRITE_32,
    82        
    83         /** Write 1 byte from the source argument to the memory space. */
    84         CMD_MEM_WRITE_A_8,
    85         /** Write 2 bytes from the source argument to the memory space. */
    86         CMD_MEM_WRITE_A_16,
    87         /** Write 4 bytes from the source argument to the memory space. */
    88         CMD_MEM_WRITE_A_32,
    89        
    9074        /**
    9175         * Perform a bit masking on the source argument
     
    118102
    119103typedef struct {
     104        size_t rangecount;
     105        irq_pio_range_t *ranges;
    120106        size_t cmdcount;
    121107        irq_cmd_t *cmds;
Note: See TracChangeset for help on using the changeset viewer.