Last change
on this file since 769 was
292,
checked in by cfuguet, 12 years ago
|
Changing directory structure of the TSAR boot loader.
A README.txt file has been included to explain the new structure
and the MAKEFILE parameters.
Erasing the heap segment for the boot elf loader. All the work space
is allocated in the stack.
The stack size is defined in the include/defs.h.
Important modification in the reset.S file. The non-boot
processors (processor id != 0) wait in a low comsumption energy
mode to be wake up by processor 0 using an IPI. Each processor
has a private mailbox in the local XICU. The value written in
the mailbox will be used as address to jump by the processors.
The waking up of non-boot processors is not done in this boot loader
so it must be done in the application loaded.
The boot_loader_elf function loads into memory an executable .elf file
which must be placed in the BOOT_LOADER_LBA block of the disk. This
constant can be defined in the include/defs.h file.
|
File size:
165 bytes
|
Line | |
---|
1 | #include <defs_platform.h> |
---|
2 | |
---|
3 | #define BOOT_VERSION 0x00010001 |
---|
4 | |
---|
5 | #define BOOT_STACK_SIZE 0x8000 /* 32 KB */ |
---|
6 | #define BOOT_LOADER_LBA 2 |
---|
7 | #define PHDR_ARRAY_SIZE 16 |
---|
8 | |
---|
Note: See
TracBrowser
for help on using the repository browser.