forked from ROMEO/obsw
removed testing code
This commit is contained in:
parent
77d546fcc0
commit
03298b4876
@ -180,20 +180,10 @@ int main(void) {
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#define sev() __asm__("sev")
|
|
||||||
#define CPU1STARTADR 0xfffffff0
|
|
||||||
|
|
||||||
void mission(void *){
|
void mission(void *){
|
||||||
|
|
||||||
printf("Starting Mission\n");
|
printf("Starting Mission\n");
|
||||||
|
|
||||||
printf("CPU0: writing startaddress for cpu1\n\r");
|
|
||||||
Xil_Out32(CPU1STARTADR, 0x00200000);
|
|
||||||
dmb(); //waits until write has finished
|
|
||||||
|
|
||||||
printf("CPU0: sending the SEV to wake up CPU1\n\r");
|
|
||||||
sev();
|
|
||||||
|
|
||||||
sif::debug << "OStreams working" << std::endl;
|
sif::debug << "OStreams working" << std::endl;
|
||||||
|
|
||||||
ObjectManager* objManager = ObjectManager::instance();
|
ObjectManager* objManager = ObjectManager::instance();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user