Changeset 7ee7e6a in mainline for uspace/lib/c/include/ddi.h


Ignore:
Timestamp:
2017-05-15T21:24:35Z (7 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
adc68de
Parents:
0e7c3d9
Message:

Further reduce the number of inclusions of sys/types.h

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/ddi.h

    r0e7c3d9 r7ee7e6a  
    3737
    3838#include <stdbool.h>
    39 #include <sys/types.h>
     39#include <stddef.h>
     40#include <stdint.h>
    4041#include <sys/time.h>
    4142#include <abi/ddi/irq.h>
     
    4748#define DMAMEM_16MiB  ((uintptr_t) UINT64_C(0xffffffffff000000))
    4849#define DMAMEM_4GiB   ((uintptr_t) UINT64_C(0xffffffff00000000))
     50
     51typedef volatile uint8_t ioport8_t;
     52typedef volatile uint16_t ioport16_t;
     53typedef volatile uint32_t ioport32_t;
    4954
    5055extern int device_assign_devno(void);
Note: See TracChangeset for help on using the changeset viewer.