Subversion Repositories HelenOS

Rev

Rev 3783 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3783 Rev 3798
Line 40... Line 40...
40
#include <arch/types.h>
40
#include <arch/types.h>
41
#include <typedefs.h>
41
#include <typedefs.h>
42
#include <arch/register.h>
42
#include <arch/register.h>
43
 
43
 
44
typedef struct {
44
typedef struct {
-
 
45
#if defined (SUN4U)
45
    uint32_t mid;           /**< Processor ID as read from
46
    uint32_t mid;           /**< Processor ID as read from
46
                         UPA_CONFIG/FIREPLANE_CONFIG. */
47
                         UPA_CONFIG/FIREPLANE_CONFIG. */
47
    ver_reg_t ver;
48
    ver_reg_t ver;
-
 
49
#elif defined (SUN4V)
-
 
50
    uint64_t id;            /**< virtual processor ID */
-
 
51
    uint32_t mid;   // TODO: left here only to keep the code compilable!!!      
-
 
52
#endif
48
    uint32_t clock_frequency;   /**< Processor frequency in Hz. */
53
    uint32_t clock_frequency;   /**< Processor frequency in Hz. */
49
    uint64_t next_tick_cmpr;    /**< Next clock interrupt should be
54
    uint64_t next_tick_cmpr;    /**< Next clock interrupt should be
50
                         generated when the TICK register
55
                         generated when the TICK register
51
                         matches this value. */
56
                         matches this value. */
52
} cpu_arch_t;
57
} cpu_arch_t;