Changeset 688 for trunk/boot/tsar_mips32/boot.c
- Timestamp:
- Jan 13, 2021, 12:57:17 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/boot/tsar_mips32/boot.c
r653 r688 3 3 * 4 4 * Authors : Vu Son (2016) 5 * Alain Greiner (2016,2017,2018,2019 )5 * Alain Greiner (2016,2017,2018,2019,2020) 6 6 * 7 7 * Copyright (c) UPMC Sorbonne Universites … … 369 369 boot_info->paddr_width = header->paddr_width; 370 370 boot_info->io_cxy = header->io_cxy; 371 boot_info->sys_clk = header->sys_clk; 371 372 372 373 // Initialize kernel segments from global variables … … 531 532 { 532 533 // set number of physical memory pages 533 boot_info->pages_nr = device->size >> CONFIG_PPM_PAGE_ SHIFT;534 boot_info->pages_nr = device->size >> CONFIG_PPM_PAGE_ORDER; 534 535 535 536 #if DEBUG_BOOT_INFO … … 600 601 // compute number of physical pages occupied by the kernel code 601 602 boot_info->pages_offset = ( (end & CONFIG_PPM_PAGE_MASK) == 0 ) ? 602 (end >> CONFIG_PPM_PAGE_ SHIFT) : (end >> CONFIG_PPM_PAGE_SHIFT) + 1;603 (end >> CONFIG_PPM_PAGE_ORDER) : (end >> CONFIG_PPM_PAGE_ORDER) + 1; 603 604 604 605 // no reserved zones for TSAR architecture
Note: See TracChangeset
for help on using the changeset viewer.