Subversion Repositories HelenOS

Rev

Rev 2071 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2071 Rev 2082
Line 71... Line 71...
71
    /*
71
    /*
72
     * Record address of kernel backing store to bank 0 r22.
72
     * Record address of kernel backing store to bank 0 r22.
73
     * Record address of kernel stack to bank 0 r23.
73
     * Record address of kernel stack to bank 0 r23.
74
     * These values will be found there after switch from userspace.
74
     * These values will be found there after switch from userspace.
75
     */
75
     */
76
    __asm__ volatile (
76
    asm volatile (
77
        "bsw.0\n"
77
        "bsw.0\n"
78
        "mov r22 = %0\n"
78
        "mov r22 = %0\n"
79
        "mov r23 = %1\n"
79
        "mov r23 = %1\n"
80
        "bsw.1\n"
80
        "bsw.1\n"
81
        :
81
        :