Rev 1789 | Rev 3023 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1789 | Rev 1998 | ||
---|---|---|---|
Line 70... | Line 70... | ||
70 | *pa = new_pa; |
70 | *pa = new_pa; |
71 | memcpy(new_va, va, PAGE_SIZE); |
71 | memcpy(new_va, va, PAGE_SIZE); |
72 | } |
72 | } |
73 | } |
73 | } |
74 | 74 | ||
- | 75 | char *release = RELEASE; |
|
- | 76 | ||
- | 77 | #ifdef REVISION |
|
- | 78 | char *revision = ", revision " REVISION; |
|
- | 79 | #else |
|
- | 80 | char *revision = ""; |
|
- | 81 | #endif |
|
- | 82 | ||
- | 83 | #ifdef TIMESTAMP |
|
- | 84 | char *timestamp = "\nBuilt on " TIMESTAMP; |
|
- | 85 | #else |
|
- | 86 | char *timestamp = ""; |
|
- | 87 | #endif |
|
- | 88 | ||
- | 89 | /** Print version information. */ |
|
- | 90 | static void version_print(void) |
|
- | 91 | { |
|
- | 92 | printf("HelenOS PPC32 Bootloader\nRelease %s%s%s\nCopyright (C) 2006 HelenOS project\n", release, revision, timestamp); |
|
- | 93 | } |
|
75 | 94 | ||
76 | void bootstrap(void) |
95 | void bootstrap(void) |
77 | { |
96 | { |
78 | printf("\nHelenOS PPC Bootloader\n"); |
97 | version_print(); |
79 | 98 | ||
80 | init_components(); |
99 | init_components(); |
81 | 100 | ||
82 | unsigned int i; |
101 | unsigned int i; |
83 | 102 |