2 moved from nrv2v.c and some lines from crt0.S
3 2006/05/02 - stepan: move nrv2b to an extra file.
6 void copy_and_run_core(u8 *src, u8 *dst, unsigned long ilen, unsigned ebp);
8 extern u8 _liseg, _iseg, _eiseg;
10 static void copy_and_run(void)
19 copy_and_run_core(src, dst, ilen, 0);
22 #if CONFIG_AP_CODE_IN_CAR == 1
24 extern u8 _liseg_apc, _iseg_apc, _eiseg_apc;
26 static void copy_and_run_ap_code_in_car(unsigned ret_addr)
33 ilen = &_eiseg_apc - dst;
35 copy_and_run_core(src, dst, ilen, ret_addr);