Changeset 98000fb in mainline for kernel/arch/ia32/include/smp/smp.h


Ignore:
Timestamp:
2009-06-03T19:34:45Z (15 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
301ff30
Parents:
69e68e3
Message:

remove redundant index_t and count_t types (which were always quite ambiguous and not actually needed)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia32/include/smp/smp.h

    r69e68e3 r98000fb  
    4040/** SMP config opertaions interface. */
    4141struct smp_config_operations {
    42         count_t (* cpu_count)(void);            /**< Return number of detected processors. */
    43         bool (* cpu_enabled)(index_t i);        /**< Check whether the processor of index i is enabled. */
    44         bool (*cpu_bootstrap)(index_t i);       /**< Check whether the processor of index i is BSP. */
    45         uint8_t (*cpu_apic_id)(index_t i);              /**< Return APIC ID of the processor of index i. */
     42        size_t (* cpu_count)(void);             /**< Return number of detected processors. */
     43        bool (* cpu_enabled)(size_t i); /**< Check whether the processor of index i is enabled. */
     44        bool (*cpu_bootstrap)(size_t i);        /**< Check whether the processor of index i is BSP. */
     45        uint8_t (*cpu_apic_id)(size_t i);               /**< Return APIC ID of the processor of index i. */
    4646        int (*irq_to_pin)(unsigned int irq);            /**< Return mapping between irq and APIC pin. */
    4747};
Note: See TracChangeset for help on using the changeset viewer.