Subversion Repositories HelenOS

Rev

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

Rev 1881 Rev 1903
Line 33... Line 33...
33
 */
33
 */
34
 
34
 
35
#ifndef KERN_sparc64_CPU_H_
35
#ifndef KERN_sparc64_CPU_H_
36
#define KERN_sparc64_CPU_H_
36
#define KERN_sparc64_CPU_H_
37
 
37
 
-
 
38
#include <arch/types.h>
38
#include <arch/register.h>
39
#include <arch/register.h>
39
 
40
 
40
#define MANUF_FUJITSU       0x04
41
#define MANUF_FUJITSU       0x04
41
#define MANUF_ULTRASPARC    0x17    /**< UltraSPARC I, UltraSPARC II */
42
#define MANUF_ULTRASPARC    0x17    /**< UltraSPARC I, UltraSPARC II */
42
#define MANUF_SUN       0x3e
43
#define MANUF_SUN       0x3e
Line 49... Line 50...
49
#define IMPL_ULTRASPARCIV_PLUS  0x19
50
#define IMPL_ULTRASPARCIV_PLUS  0x19
50
 
51
 
51
#define IMPL_SPARC64V       0x5
52
#define IMPL_SPARC64V       0x5
52
 
53
 
53
struct cpu_arch {
54
struct cpu_arch {
-
 
55
    uint32_t mid;           /**< Processor ID as read from UPA_CONFIG. */
54
    ver_reg_t ver;
56
    ver_reg_t ver;
55
    uint32_t clock_frequency;
57
    uint32_t clock_frequency;   /**< Processor frequency in MHz. */
56
};
58
};
57
   
59
   
58
#endif
60
#endif
59
 
61
 
60
/** @}
62
/** @}