Changeset 98000fb in mainline for kernel/arch/ia32/src/smp/mps.c


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/src/smp/mps.c

    r69e68e3 r98000fb  
    8787 * Implementation of IA-32 SMP configuration interface.
    8888 */
    89 static count_t get_cpu_count(void);
    90 static bool is_cpu_enabled(index_t i);
    91 static bool is_bsp(index_t i);
    92 static uint8_t get_cpu_apic_id(index_t i);
     89static size_t get_cpu_count(void);
     90static bool is_cpu_enabled(size_t i);
     91static bool is_bsp(size_t i);
     92static uint8_t get_cpu_apic_id(size_t i);
    9393static int mps_irq_to_pin(unsigned int irq);
    9494
     
    101101};
    102102
    103 count_t get_cpu_count(void)
     103size_t get_cpu_count(void)
    104104{
    105105        return processor_entry_cnt;
    106106}
    107107
    108 bool is_cpu_enabled(index_t i)
     108bool is_cpu_enabled(size_t i)
    109109{
    110110        ASSERT(i < processor_entry_cnt);
     
    112112}
    113113
    114 bool is_bsp(index_t i)
     114bool is_bsp(size_t i)
    115115{
    116116        ASSERT(i < processor_entry_cnt);
     
    118118}
    119119
    120 uint8_t get_cpu_apic_id(index_t i)
     120uint8_t get_cpu_apic_id(size_t i)
    121121{
    122122        ASSERT(i < processor_entry_cnt);
Note: See TracChangeset for help on using the changeset viewer.