Subversion Repositories HelenOS-historic

Rev

Rev 1731 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1731 Rev 1780
Line 36... Line 36...
36
#define __ppc32_CPUID_H__
36
#define __ppc32_CPUID_H__
37
 
37
 
38
#include <arch/types.h>
38
#include <arch/types.h>
39
 
39
 
40
struct cpu_info {
40
struct cpu_info {
41
    __u16 version;
41
    uint16_t version;
42
    __u16 revision;
42
    uint16_t revision;
43
} __attribute__ ((packed));
43
} __attribute__ ((packed));
44
 
44
 
45
static inline void cpu_version(struct cpu_info *info)
45
static inline void cpu_version(struct cpu_info *info)
46
{
46
{
47
    asm volatile (
47
    asm volatile (