source: trunk/softs/tsar_boot/include/tty.h @ 292

Last change on this file since 292 was 292, checked in by cfuguet, 11 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: 412 bytes
Line 
1#ifndef TTY_REGS_H
2#define TTY_REGS_H
3
4enum SoclibTtyRegisters {
5    TTY_WRITE   = 0,
6    TTY_STATUS  = 1,
7    TTY_READ    = 2,
8    TTY_CONFIG  = 3,
9    /**/
10    TTY_SPAN    = 4,
11};
12
13#endif
14
15// Local Variables:
16// tab-width: 4;
17// c-basic-offset: 4;
18// c-file-offsets:((innamespace . 0)(inline-open . 0));
19// indent-tabs-mode: nil;
20// End:
21//
22// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=4:softtabstop=4
23
Note: See TracBrowser for help on using the repository browser.