Changeset 1bedc54 in mainline
- Timestamp:
- 2006-02-26T13:17:48Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1b08233
- Parents:
- d81e6bdf
- Location:
- arch/ppc32/loader
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ppc32/loader/main.c
rd81e6bdf r1bedc54 32 32 33 33 #define KERNEL_LOAD_ADDRESS 0x800000 34 #define KERNEL_SIZE _binary_____________kernel_kernel_bin_size34 #define KERNEL_SIZE ((unsigned int) &_binary_____________kernel_kernel_bin_end - (unsigned int) &_binary_____________kernel_kernel_bin_start) 35 35 36 36 static void halt(void) … … 41 41 void bootstrap(void) 42 42 { 43 printf("\nHelenOS PPC Bootloader\nKernel size %d , load address %L\n", KERNEL_SIZE, KERNEL_LOAD_ADDRESS);43 printf("\nHelenOS PPC Bootloader\nKernel size %d bytes, load address %L\n", KERNEL_SIZE, KERNEL_LOAD_ADDRESS); 44 44 45 45 void *addr = ofw_claim((void *) KERNEL_LOAD_ADDRESS, KERNEL_SIZE, 1); -
arch/ppc32/loader/main.h
rd81e6bdf r1bedc54 30 30 #define __MAIN_H__ 31 31 32 extern unsigned int _binary_____________kernel_kernel_bin_size;33 extern void *_binary_____________kernel_kernel_bin_start;32 extern int _binary_____________kernel_kernel_bin_start; 33 extern int _binary_____________kernel_kernel_bin_end; 34 34 extern void bootstrap(void); 35 35
Note:
See TracChangeset
for help on using the changeset viewer.