receive trampoline addr via parameter of arch_start()

This commit is contained in:
bgerofi@riken.jp
2014-08-18 21:56:45 +09:00
committed by Balazs Gerofi bgerofi@riken.jp
parent a91bf9a13d
commit ff47261337
3 changed files with 6 additions and 5 deletions

View File

@@ -2088,7 +2088,7 @@ void ihk_mc_reserve_arch_pages(unsigned long start, unsigned long end,
/* Reserve Text + temporal heap */
cb(virt_to_phys(_head), virt_to_phys(get_last_early_heap()), 0);
/* Reserve trampoline area to boot the second ap */
cb(AP_TRAMPOLINE, AP_TRAMPOLINE + AP_TRAMPOLINE_SIZE, 0);
cb(ap_trampoline, ap_trampoline + AP_TRAMPOLINE_SIZE, 0);
/* Reserve the null page */
cb(0, PAGE_SIZE, 0);
/* Micro-arch specific */