Rev 3861 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3861 | Rev 3883 | ||
---|---|---|---|
Line 34... | Line 34... | ||
34 | #include <balloc.h> |
34 | #include <balloc.h> |
35 | #include <ofw.h> |
35 | #include <ofw.h> |
36 | #include <ofw_tree.h> |
36 | #include <ofw_tree.h> |
37 | #include "ofwarch.h" |
37 | #include "ofwarch.h" |
38 | #include <align.h> |
38 | #include <align.h> |
- | 39 | #include <macros.h> |
|
39 | #include <string.h> |
40 | #include <string.h> |
40 | 41 | ||
41 | bootinfo_t bootinfo; |
42 | bootinfo_t bootinfo; |
42 | 43 | ||
43 | component_t components[COMPONENTS]; |
44 | component_t components[COMPONENTS]; |
44 | 45 | ||
45 | char *release = RELEASE; |
46 | char *release = STRING(RELEASE); |
46 | 47 | ||
47 | #ifdef REVISION |
48 | #ifdef REVISION |
48 | char *revision = ", revision " REVISION; |
49 | char *revision = ", revision " STRING(REVISION); |
49 | #else |
50 | #else |
50 | char *revision = ""; |
51 | char *revision = ""; |
51 | #endif |
52 | #endif |
52 | 53 | ||
53 | #ifdef TIMESTAMP |
54 | #ifdef TIMESTAMP |
54 | char *timestamp = "\nBuilt on " TIMESTAMP; |
55 | char *timestamp = "\nBuilt on " STRING(TIMESTAMP); |
55 | #else |
56 | #else |
56 | char *timestamp = ""; |
57 | char *timestamp = ""; |
57 | #endif |
58 | #endif |
58 | 59 | ||
59 | /** UltraSPARC subarchitecture - 1 for US, 3 for US3 */ |
60 | /** UltraSPARC subarchitecture - 1 for US, 3 for US3 */ |