Changeset 68 for trunk/tools
- Timestamp:
- Jun 27, 2017, 10:24:13 AM (7 years ago)
- Location:
- trunk/tools/bootloader_tsar
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/bootloader_tsar/boot.c
r50 r68 586 586 boot_info->kernel_code_end : boot_info->kernel_data_end; 587 587 588 // Get the number of pages reserved to kernel segments589 rsvd_pages= ( (end & CONFIG_PPM_PAGE_MASK) == 0 ) ?588 // Set number of pages occupied by the kernel code 589 boot_info->pages_offset = ( (end & CONFIG_PPM_PAGE_MASK) == 0 ) ? 590 590 (end >> CONFIG_PPM_PAGE_SHIFT) : (end >> CONFIG_PPM_PAGE_SHIFT) + 1; 591 591 592 // set the kernel code "reserved zonz" 593 boot_info->rsvd_nr = 1; 594 boot_info->rsvd[0].first_page = 0; 595 boot_info->rsvd[0].npages = rsvd_pages; 592 // No "reserved zones" for the TSAR architecture 593 boot_info->rsvd_nr = 0; 596 594 597 595 #if DEBUG_BOOT_INFO -
trunk/tools/bootloader_tsar/boot_config.h
r50 r68 7 7 8 8 // Debug options 9 #define DEBUG_BOOT_INFO 19 #define DEBUG_BOOT_INFO 0 10 10 #define DEBUG_BOOT_ELF 0 11 11 #define DEBUG_BOOT_IOC 0
Note: See TracChangeset
for help on using the changeset viewer.