Changeset b5e68c8 in mainline for kernel/arch/ia32/src/smp/apic.c


Ignore:
Timestamp:
2011-05-12T16:49:44Z (14 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f36787d7
Parents:
e80329d6 (diff), 750636a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia32/src/smp/apic.c

    re80329d6 rb5e68c8  
    7272 *
    7373 */
    74 volatile uint32_t *l_apic = (uint32_t *) 0xfee00000;
    75 volatile uint32_t *io_apic = (uint32_t *) 0xfec00000;
     74volatile uint32_t *l_apic = (uint32_t *) UINT32_C(0xfee00000);
     75volatile uint32_t *io_apic = (uint32_t *) UINT32_C(0xfec00000);
    7676
    7777uint32_t apic_id_mask = 0;
     
    178178        disable_irqs_function = io_apic_disable_irqs;
    179179        eoi_function = l_apic_eoi;
     180        irqs_info = "apic";
    180181       
    181182        /*
     
    184185         * Other interrupts will be forwarded to the lowest priority CPU.
    185186         */
    186         io_apic_disable_irqs(0xffff);
     187        io_apic_disable_irqs(0xffffU);
    187188       
    188189        irq_initialize(&l_apic_timer_irq);
     
    477478{
    478479#ifdef LAPIC_VERBOSE
    479         printf("LVT on cpu%" PRIs ", LAPIC ID: %" PRIu8 "\n",
     480        printf("LVT on cpu%u, LAPIC ID: %" PRIu8 "\n",
    480481            CPU->id, l_apic_id());
    481482       
Note: See TracChangeset for help on using the changeset viewer.