>There's a .tar.xz inside the git repository. Unzipping it gives me a… >dirty Jailhouse git repository(??).
Sorry for inconvenience and I will try to do what you said. >Anyway, I had a look at it. AFAICT, everything compiles fine. The file >you referenced to was probably inmates/lib/arm64/OS_Scheduler.S, right? >This assembler source isn't referenced in any Makefile, so I don't know >what to do with it. Yes, exactly. But if I included it I will it will return an error: /home/pi/jailhouse/inmates/lib/include/SCHED.S:12:22: error: stray ‘#’ in program ldp x21, x22, [x8], #16 The error does not recognize I included also asm-defines.h in the assembly file. #include </home/pi/jailhouse/hypervisor/arch/arm64/include/generated/asm/asm-defines.h> So, I will try to make it easier for you to understand: - Which library shall I include, if I want to add assembly code to gic-demo? (Context switching code) - Shall I write a .S file and Include it in my header file? or add an assembly function in my header file? using flag __asm for instance? - If the second option is possible, then what is the correct flag that jailhouse uses? I tried with Cortex-M processor and that was working, but I think it may be different here for some reason. Thanks in advance, Moustafa Noufale -- You received this message because you are subscribed to the Google Groups "Jailhouse" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jailhouse-dev/bd489367-cb13-4b27-a8b6-84df5bd8c675n%40googlegroups.com.
