source: branches/v4/softs/tsar_boot/include/boot_memcpy.h @ 1000

Last change on this file since 1000 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: 122 bytes
Line 
1#ifndef BOOT_MEMCPY_H
2#define BOOT_MEMCPY_H
3
4void * boot_memcpy(void *_dst, const void *_src, unsigned int size);
5
6#endif
Note: See TracBrowser for help on using the repository browser.