Changeset 8262010 in mainline for arch/ia32/include/smp/apic.h


Ignore:
Timestamp:
2005-04-10T16:36:45Z (20 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
23c0c08
Parents:
43114c5
Message:

Switch from mm-based 'the' mechanism to macro-based 'cpu_private_data[CPU_ID_ARCH]' mechanism.
Added l_apic_id() and some other minor APIC changes.
Move gdtr to K_DATA_START section.
Move K_DATA_START section immediately behind K_TEXT_START section so that real-mode addresses work even with growing size of kernel code.

File:
1 edited

Legend:

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

    r43114c5 r8262010  
    9696#define L_APIC_ID       (0x020/sizeof(__u32))
    9797#define L_APIC_IDClear  (~(0xf<<24))
     98#define L_APIC_IDShift  24
     99#define L_APIC_IDMask   0xf
    98100
    99101/* IO APIC */
     
    121123extern void l_apic_debug(void);
    122124extern void l_apic_timer_interrupt(__u8 n, __u32 stack[]);
     125extern __u8 l_apic_id(void);
    123126
    124127extern __u32 io_apic_read(__u8 address);
Note: See TracChangeset for help on using the changeset viewer.