Subversion Repositories HelenOS

Rev

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

Rev 2128 Rev 2465
Line 1... Line 1...
1
/*
1
/*
2
 * Copyright (c) 2003-2004 Jakub Jermar
2
 * Copyright (c) 2007 Michal Kebrt
3
 * All rights reserved.
3
 * All rights reserved.
4
 *
4
 *
5
 * Redistribution and use in source and binary forms, with or without
5
 * Redistribution and use in source and binary forms, with or without
6
 * modification, are permitted provided that the following conditions
6
 * modification, are permitted provided that the following conditions
7
 * are met:
7
 * are met:
Line 28... Line 28...
28
 
28
 
29
/** @addtogroup arm32
29
/** @addtogroup arm32
30
 * @{
30
 * @{
31
 */
31
 */
32
/** @file
32
/** @file
-
 
33
 *  @brief CPU identification.
33
 */
34
 */
34
 
35
 
35
#ifndef KERN_arm32_CPU_H_
36
#ifndef KERN_arm32_CPU_H_
36
#define KERN_arm32_CPU_H_
37
#define KERN_arm32_CPU_H_
37
 
38
 
38
#include <arch/types.h>
39
#include <arch/types.h>
39
#include <arch/asm.h>
40
#include <arch/asm.h>
40
 
41
 
-
 
42
 
-
 
43
/** Struct representing ARM CPU identifiaction. */
41
typedef struct {
44
typedef struct {
-
 
45
    /** Implementator (vendor) number. */
-
 
46
    uint32_t imp_num;
-
 
47
 
-
 
48
    /** Variant number. */
-
 
49
    uint32_t variant_num;
-
 
50
 
-
 
51
    /** Architecture number. */
-
 
52
    uint32_t arch_num;
-
 
53
 
-
 
54
    /** Primary part number. */
-
 
55
    uint32_t prim_part_num;
-
 
56
 
-
 
57
    /** Revision number. */
-
 
58
    uint32_t rev_num;
42
} cpu_arch_t;
59
} cpu_arch_t;
43
   
60
 
44
#endif
61
#endif
45
 
62
 
46
/** @}
63
/** @}
47
 */
64
 */