>Please describe your *changes* of Jailhouse, attach a patch. Source 
>code. I need to see your code in order to help you. 
I am using jailhouse master branch. I edited rpi4-inmate-demo.c and added 
GPIO memory. In the gic-demo.c I included a header file, otherwise the file 
is the same as master branch. The header file has basic address definitions 
and the following function in assembly. I tried also this function as a 
separate file and the error is the same:


.global cpu_switch_to
cpu_switch_to:
    mov    r10, #THREAD_CPU_CONTEXT
    add    r8, r0, r10
    mov    r9, sp
    stp    r19, r20, [r8], #16        // store callee-saved registers
    stp    r21, r22, [r8], #16
    stp    r23, r24, [r8], #16
    stp    r25, r26, [r8], #16
    stp    r27, r28, [r8], #16
    stp    r29, r9, [r8], #16
    str    r30, [r8]
    add    r8, r1, r10
    ldp    r19, r20, [r8], #16        // restore callee-saved registers
    ldp    r21, r22, [r8], #16
    ldp    r23, r24, [r8], #16
    ldp    r25, r26, [r8], #16
    ldp    r27, r28, [r8], #16
    ldp    r29, r9, [r8], #16
    ldr    r30, [r8]
    mov    sp, r9
    ret

/home/pi/jailhouse/inmates/lib/include/OS.h:72:22: error: stray ‘#’ in 
program
  ldp x27, x28, [x8], #16

and similar error for each command.

-- 
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/e81df823-0997-4dc4-85f7-8fb3632d9d57n%40googlegroups.com.

Reply via email to