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


Ignore:
Timestamp:
2006-01-29T19:55:08Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
df09142f
Parents:
457d18a
Message:

ia32 SMP updates.
Update info about supported version of Bochs (bump the counter to 2.2.6).
Add Task Priority Register type and initialize this register to a known state.

File:
1 edited

Legend:

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

    r457d18a rd0780b4c  
    152152/* Task Priority Register */
    153153#define TPR             (0x080/sizeof(__u32))
    154 #define TPRClear        0xffffff00
     154union tpr {
     155        __u32 value;
     156        struct {
     157                unsigned pri_sc : 4;            /**< Task Priority Sub-Class. */
     158                unsigned pri : 4;               /**< Task Priority. */
     159        } __attribute__ ((packed));
     160};
     161typedef union tpr tpr_t;
    155162
    156163/** Spurious-Interrupt Vector Register. */
     
    159166        __u32 value;
    160167        struct {
    161                 __u8 vector;                    /**< Spurious Vector */
    162                 unsigned lapic_enabled : 1;     /**< APIC Software Enable/Disable */
    163                 unsigned focus_checking : 1;    /**< Focus Processor Checking */
     168                __u8 vector;                    /**< Spurious Vector. */
     169                unsigned lapic_enabled : 1;     /**< APIC Software Enable/Disable. */
     170                unsigned focus_checking : 1;    /**< Focus Processor Checking. */
    164171                unsigned : 22;                  /**< Reserved. */
    165172        } __attribute__ ((packed));
Note: See TracChangeset for help on using the changeset viewer.