Changeset 9e470c0 in mainline for uspace/lib/c


Ignore:
Timestamp:
2013-09-12T11:16:00Z (12 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
eeb5cc2
Parents:
ff97957
Message:

Add IO_RANGE and MEM_RANGE members to distinguish whether the range is
parent-relative or absolute. pio_read/write_n(), pio_enable() and
IRQ pseudocode need to be passed absolute values.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/device/hw_res.h

    rff97957 r9e470c0  
    7676                struct {
    7777                        uint64_t address;
     78                        size_t size;
     79                        bool relative;
    7880                        endianness_t endianness;
    79                         size_t size;
    8081                } mem_range;
    8182               
    8283                struct {
    8384                        uint64_t address;
     85                        size_t size;
     86                        bool relative;
    8487                        endianness_t endianness;
    85                         size_t size;
    8688                } io_range;
    8789               
Note: See TracChangeset for help on using the changeset viewer.