source: trunk/softs/tsar_boot/include/defs.h @ 755

Last change on this file since 755 was 755, checked in by cfuguet, 10 years ago

tsar_boot: preloader stack

  • During preloader execution, only processor 0 initializes its stack.
  • The stack allocation for other processors must be done by the loaded Operating System during its boot loader execution.
  • The stack size for processor 0 is defined by the RESET_STACK_SIZE preprocessor constant in the defs.h file. For now it is 8 Kbytes and it can be changed if further modifications in the preloader need it.
File size: 317 bytes
Line 
1#include <defs_platform.h>
2
3#define RESET_VERSION       0x00010002
4#define RESET_STACK_SIZE    0x2000
5
6#define BOOT_LOADER_LBA     2
7#define PHDR_ARRAY_SIZE     16
8
9#define BLOCK_SIZE          512
10
11#ifndef CLUSTER_IO
12#  define CLUSTER_IO        0
13#endif
14
15// vim: tabstop=4 : softtabstop=4 : shiftwidth=4 : expandtab
16
Note: See TracBrowser for help on using the repository browser.