Subversion Repositories HelenOS

Rev

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

Rev 3771 Rev 3862
Line 35... Line 35...
35
#ifndef KERN_sparc64_sun4v_CPU_H_
35
#ifndef KERN_sparc64_sun4v_CPU_H_
36
#define KERN_sparc64_sun4v_CPU_H_
36
#define KERN_sparc64_sun4v_CPU_H_
37
 
37
 
38
#ifndef __ASM__
38
#ifndef __ASM__
39
 
39
 
-
 
40
typedef struct {
-
 
41
    uint64_t id;            /**< virtual processor ID */
-
 
42
    uint32_t mid;   // TODO: left here only to keep the code compilable!!!      
-
 
43
    uint32_t clock_frequency;   /**< Processor frequency in Hz. */
-
 
44
    uint64_t next_tick_cmpr;    /**< Next clock interrupt should be
-
 
45
                         generated when the TICK register
-
 
46
                         matches this value. */
-
 
47
} cpu_arch_t;
-
 
48
 
40
/* Maximum number of virtual processors. */
49
/* Maximum number of virtual processors. */
41
#define MAX_NUM_STRANDS 64
50
#define MAX_NUM_STRANDS 64
42
 
51
 
43
#endif  
52
#endif  
44
 
53