Rev 3023 | Rev 3922 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 3023 | Rev 3883 | ||
|---|---|---|---|
| Line 26... | Line 26... | ||
| 26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 27 | */ |
27 | */ |
| 28 | 28 | ||
| 29 | #include "main.h" |
29 | #include "main.h" |
| 30 | #include <printf.h> |
30 | #include <printf.h> |
| - | 31 | #include <macros.h> |
|
| 31 | #include "msim.h" |
32 | #include "msim.h" |
| 32 | #include "asm.h" |
33 | #include "asm.h" |
| 33 | #include "_components.h" |
34 | #include "_components.h" |
| 34 | 35 | ||
| 35 | #define KERNEL_VIRTUAL_ADDRESS 0x80100000 |
36 | #define KERNEL_VIRTUAL_ADDRESS 0x80100000 |
| 36 | 37 | ||
| 37 | char *release = RELEASE; |
38 | char *release = STRING(RELEASE); |
| 38 | 39 | ||
| 39 | #ifdef REVISION |
40 | #ifdef REVISION |
| 40 | char *revision = ", revision " REVISION; |
41 | char *revision = ", revision " STRING(REVISION); |
| 41 | #else |
42 | #else |
| 42 | char *revision = ""; |
43 | char *revision = ""; |
| 43 | #endif |
44 | #endif |
| 44 | 45 | ||
| 45 | #ifdef TIMESTAMP |
46 | #ifdef TIMESTAMP |
| 46 | char *timestamp = "\nBuilt on " TIMESTAMP; |
47 | char *timestamp = "\nBuilt on " STRING(TIMESTAMP); |
| 47 | #else |
48 | #else |
| 48 | char *timestamp = ""; |
49 | char *timestamp = ""; |
| 49 | #endif |
50 | #endif |
| 50 | 51 | ||
| 51 | /** Print version information. */ |
52 | /** Print version information. */ |