Ignore:
Timestamp:
2010-02-21T19:02:16Z (14 years ago)
Author:
Pavel Rimsky <pavel@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
af56e9b
Parents:
c2efbb4
Message:

Merging SMP (unstable)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc64/include/sun4v/cpu.h

    rc2efbb4 r95c4776  
    4646struct cpu;
    4747
    48 /*
    4948typedef struct {
    5049        uint64_t exec_unit_id;
     
    5251        uint64_t cpuids[MAX_CORE_STRANDS];
    5352        struct cpu *cpus[MAX_CORE_STRANDS];
     53        //cpu_t *cpus[MAX_CORE_STRANDS];
    5454        atomic_t nrdy;
    5555        SPINLOCK_DECLARE(proposed_nrdy_lock);
    5656} exec_unit_t;
    57 */
    5857
    5958typedef struct cpu_arch {
     
    6362                                             generated when the TICK register
    6463                                             matches this value. */
    65         //exec_unit_t *exec_unit;               /**< Physical core. */
    66         //unsigned long proposed_nrdy;  /**< Proposed No. of ready threads
    67         //                                   so that cores are equally balanced. */
     64        exec_unit_t *exec_unit;         /**< Physical core. */
     65        unsigned long proposed_nrdy;    /**< Proposed No. of ready threads
     66                                             so that cores are equally balanced. */
    6867} cpu_arch_t;
    6968
Note: See TracChangeset for help on using the changeset viewer.