Changeset 22f851e in mainline for boot/arch/mips32
- Timestamp:
- 2006-11-24T19:52:58Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 228b135
- Parents:
- aca95f6b
- Location:
- boot/arch/mips32/loader
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/arch/mips32/loader/Makefile
raca95f6b r22f851e 27 27 # 28 28 29 include ../../../../version 30 include ../../../Makefile.config 31 29 32 ## Toolchain configuration 30 33 # … … 47 50 endif 48 51 49 CFLAGS = -I. -I../../../generic -nostdinc -nostdlib -fno-builtin -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O3 -mno-abicalls -G 0 -fno-zero-initialized-in-bss -mhard-float -mips3 52 CFLAGS = -DRELEASE=\"$(RELEASE)\" -I. -I../../../generic -nostdinc -nostdlib -fno-builtin -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O3 -mno-abicalls -G 0 -fno-zero-initialized-in-bss -mhard-float -mips3 53 54 ifdef REVISION 55 CFLAGS += "-DREVISION=\"$(REVISION)\"" 56 endif 57 58 ifdef TIMESTAMP 59 CFLAGS += "-DTIMESTAMP=\"$(TIMESTAMP)\"" 60 endif 50 61 51 62 SOURCES = \ -
boot/arch/mips32/loader/main.c
raca95f6b r22f851e 35 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 57 void bootstrap(void) 38 58 { 39 printf("HelenOS MIPS Bootloader\n");59 version_print(); 40 60 41 61 component_t components[COMPONENTS];
Note:
See TracChangeset
for help on using the changeset viewer.