| Last change
                  on this file since 167 was
                  68,
                  checked in by alain, 8 years ago | 
        
          | 
Fix bug in kernel_init, and reduce size of remote_fifo. 
 | 
        | File size:
            1.5 KB | 
      
      
        
  | Rev | Line |  | 
|---|
| [6] | 1 | /********************************************************************************* | 
|---|
|  | 2 | * This file defines various configuration parameters for ALMOS-MKH boot-loader. | 
|---|
|  | 3 | ********************************************************************************/ | 
|---|
| [1] | 4 |  | 
|---|
|  | 5 | #ifndef _BOOT_CONFIG_H | 
|---|
|  | 6 | #define _BOOT_CONFIG_H | 
|---|
|  | 7 |  | 
|---|
|  | 8 | // Debug options | 
|---|
| [68] | 9 | #define DEBUG_BOOT_INFO     0 | 
|---|
| [6] | 10 | #define DEBUG_BOOT_ELF      0 | 
|---|
| [1] | 11 | #define DEBUG_BOOT_IOC      0 | 
|---|
| [13] | 12 | #define DEBUG_BOOT_WAKUP    0 | 
|---|
| [6] | 13 | #define DEBUG_BOOT_FAT32    0 | 
|---|
| [1] | 14 |  | 
|---|
| [6] | 15 | // Core identifier format | 
|---|
|  | 16 | #define USE_FIXED_FORMAT    1 | 
|---|
| [1] | 17 |  | 
|---|
| [6] | 18 | // cache line | 
|---|
|  | 19 | #define CACHE_LINE_SIZE     64 | 
|---|
| [1] | 20 |  | 
|---|
| [6] | 21 | // Preloader temporary segment | 
|---|
|  | 22 | #define PRELOADER_BASE      0x0             /* Preloader base address.      */ | 
|---|
|  | 23 | #define PRELOADER_MAX_SIZE  0x4000          /* Preloader max size.          */ | 
|---|
|  | 24 |  | 
|---|
| [1] | 25 | // boot code temporary segment | 
|---|
|  | 26 | #define BOOT_BASE           0x100000        /* 'boot.elf' base address.     */ | 
|---|
| [6] | 27 | #define BOOT_MAX_SIZE       0x010000        /* 'boot.elf' max size.         */ | 
|---|
| [1] | 28 |  | 
|---|
|  | 29 | // arch_info temporary segment | 
|---|
| [6] | 30 | #define ARCHINFO_BASE       0x200000        /* 'arch_info.bin' file base address */ | 
|---|
|  | 31 | #define ARCHINFO_MAX_SIZE   0x010000        /* 'arch_info.bin' file max size.    */ | 
|---|
| [1] | 32 |  | 
|---|
|  | 33 | // kernel code temporary segment | 
|---|
| [23] | 34 | #define KERN_BASE           0x300000        /* 'kernel.elf' file base address    */ | 
|---|
|  | 35 | #define KERN_MAX_SIZE       0x200000        /* 'kernel.elf' file max size.       */ | 
|---|
| [1] | 36 |  | 
|---|
|  | 37 | // Temporary stacks segments | 
|---|
|  | 38 | #define BOOT_STACK_BASE     0x504000        /* Boot stack base address.     */ | 
|---|
| [6] | 39 | #define BOOT_STACK_SIZE     0x4000          /* Boot stack size (16Kb)       */ | 
|---|
| [1] | 40 |  | 
|---|
|  | 41 | #endif  // _BOOT_CONFIG_H | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.