Changeset 80bcaed in mainline for kernel/generic/include/ddi


Ignore:
Timestamp:
2007-02-03T13:22:24Z (18 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f619ec11
Parents:
fa8e7d2
Message:

Merge as_t structure into one and leave the differring parts in as_genarch_t.

Indentation and formatting changes in header files.

Location:
kernel/generic/include/ddi
Files:
2 edited

Legend:

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

    rfa8e7d2 r80bcaed  
    3838/** Structure encapsulating arguments for SYS_PHYSMEM_MAP syscall. */
    3939typedef struct {
    40         unsigned long long task_id;     /** ID of the destination task. */
    41         void *phys_base;                /** Physical address of starting frame. */
    42         void *virt_base;                /** Virtual address of starting page. */
    43         unsigned long pages;            /** Number of pages to map. */
    44         int flags;                      /** Address space area flags for the mapping. */
     40        /** ID of the destination task. */
     41        unsigned long long task_id;
     42        /** Physical address of starting frame. */
     43        void *phys_base;
     44        /** Virtual address of starting page. */
     45        void *virt_base;
     46        /** Number of pages to map. */
     47        unsigned long pages;
     48        /** Address space area flags for the mapping. */
     49        int flags;
    4550} ddi_memarg_t;
    4651
    4752/** Structure encapsulating arguments for SYS_ENABLE_IOSPACE syscall. */
    4853typedef struct {
    49         unsigned long long task_id;     /** ID of the destination task. */
    50         void *ioaddr;                   /** Starting I/O space address. */
    51         unsigned long 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. */
    5257} ddi_ioarg_t;
    5358
  • kernel/generic/include/ddi/irq.h

    rfa8e7d2 r80bcaed  
    9292 */
    9393typedef struct {
    94         bool notify;                    /**< When false, notifications are not sent. */
    95         answerbox_t *answerbox;         /**< Answerbox for notifications. */
    96         unative_t method;               /**< Method to be used for the notification. */
    97         irq_code_t *code;               /**< Top-half pseudocode. */
    98         count_t counter;                /**< Counter. */
    99         link_t link;                    /**< Link between IRQs that are notifying the
    100                                              same answerbox. The list is protected by
    101                                              the answerbox irq_lock. */
     94        /** When false, notifications are not sent. */
     95        bool notify;
     96        /** Answerbox for notifications. */
     97        answerbox_t *answerbox;
     98        /** Method to be used for the notification. */
     99        unative_t method;
     100        /** Top-half pseudocode. */
     101        irq_code_t *code;
     102        /** Counter. */
     103        count_t counter;
     104        /**
     105         * Link between IRQs that are notifying the same answerbox. The list is
     106         * protected by the answerbox irq_lock.
     107         */
     108        link_t link;
    102109} ipc_notif_cfg_t;
    103110
    104111/** Structure representing one device IRQ.
    105112 *
    106  * If one device has multiple interrupts, there will
    107  * be multiple irq_t instantions with the same
    108  * devno.
     113 * If one device has multiple interrupts, there will be multiple irq_t
     114 * instantions with the same devno.
    109115 */
    110116typedef struct irq {
Note: See TracChangeset for help on using the changeset viewer.