Hi, thanks for your support for the last three months. I am trying to make a simple scheduler and include it in the inmate file, in order to implement a rate monotonic scheduler and analyze the results.
So, basically the most difficult part, is the context switching. I used to combine assembly and C using __asm, but I do not think it is supported in Jailhouse. I found some files in hypervisor/arch and inmates/lib/arm64 that are in assembly. I wrote a simple file in assembly and added it to the directory inmates/lib/arm64 and I got this error: error: stray '#' in program ldp x25, x26, [x8], #16 I tried also adding some assembly code to a header file in inmates/lib/include with different tags for beginning assembly: _asm, __asm , asm and .asm, but I have the same error. I checked also the makefile and I think the file should be built without a problem. My question is, whether there is some constraints that I am missing? 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/e76f8186-671f-45c8-afc8-8c85b3988c43n%40googlegroups.com.
