Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/ddi/ddi_arg.h

    rda1bafb r80bcaed  
    3636#define KERN_DDI_ARG_H_
    3737
    38 #ifdef KERNEL
    39 
    40 #include <typedefs.h>
    41 
    42 #endif /* KERNEL */
    43 
    4438/** Structure encapsulating arguments for SYS_PHYSMEM_MAP syscall. */
    4539typedef struct {
    4640        /** ID of the destination task. */
    47         uint64_t task_id;
     41        unsigned long long task_id;
    4842        /** Physical address of starting frame. */
    4943        void *phys_base;
     
    5145        void *virt_base;
    5246        /** Number of pages to map. */
    53         size_t pages;
     47        unsigned long pages;
    5448        /** Address space area flags for the mapping. */
    55         unsigned int flags;
     49        int flags;
    5650} ddi_memarg_t;
    5751
    5852/** Structure encapsulating arguments for SYS_ENABLE_IOSPACE syscall. */
    5953typedef struct {
    60         uint64_t task_id;  /**< ID of the destination task. */
    61         void *ioaddr;      /**< Starting I/O space address. */
    62         size_t size;       /**< Number of bytes. */
     54        unsigned long long task_id;     /**< ID of the destination task. */
     55        void *ioaddr;                   /**< Starting I/O space address. */
     56        unsigned long size;             /**< Number of bytes. */
    6357} ddi_ioarg_t;
    6458
Note: See TracChangeset for help on using the changeset viewer.