Rev 1787 | Rev 2071 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1787 | Rev 1998 | ||
---|---|---|---|
Line 32... | Line 32... | ||
32 | #include "asm.h" |
32 | #include "asm.h" |
33 | #include "_components.h" |
33 | #include "_components.h" |
34 | 34 | ||
35 | #define KERNEL_VIRTUAL_ADDRESS 0x80100000 |
35 | #define KERNEL_VIRTUAL_ADDRESS 0x80100000 |
36 | 36 | ||
- | 37 | char *release = RELEASE; |
|
- | 38 | ||
- | 39 | #ifdef REVISION |
|
- | 40 | char *revision = ", revision " REVISION; |
|
- | 41 | #else |
|
- | 42 | char *revision = ""; |
|
- | 43 | #endif |
|
- | 44 | ||
- | 45 | #ifdef TIMESTAMP |
|
- | 46 | char *timestamp = "\nBuilt on " TIMESTAMP; |
|
- | 47 | #else |
|
- | 48 | char *timestamp = ""; |
|
- | 49 | #endif |
|
- | 50 | ||
- | 51 | /** Print version information. */ |
|
- | 52 | static void version_print(void) |
|
- | 53 | { |
|
- | 54 | printf("HelenOS MIPS32 Bootloader\nRelease %s%s%s\nCopyright (C) 2006 HelenOS project\n", release, revision, timestamp); |
|
- | 55 | } |
|
- | 56 | ||
37 | void bootstrap(void) |
57 | void bootstrap(void) |
38 | { |
58 | { |
39 | printf("HelenOS MIPS Bootloader\n"); |
59 | version_print(); |
40 | 60 | ||
41 | component_t components[COMPONENTS]; |
61 | component_t components[COMPONENTS]; |
42 | bootinfo_t bootinfo; |
62 | bootinfo_t bootinfo; |
43 | init_components(components); |
63 | init_components(components); |
44 | 64 |