Subversion Repositories HelenOS-historic

Rev

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

Rev 962 Rev 993
Line 75... Line 75...
75
    psr.value = psr_read();
75
    psr.value = psr_read();
76
    psr.cpl = PL_USER;
76
    psr.cpl = PL_USER;
77
    psr.i = true;               /* start with interrupts enabled */
77
    psr.i = true;               /* start with interrupts enabled */
78
    psr.ic = true;
78
    psr.ic = true;
79
    psr.ri = 0;             /* start with instruction #0 */
79
    psr.ri = 0;             /* start with instruction #0 */
-
 
80
    psr.bn = 1;             /* start in bank 0 */
80
 
81
 
81
    __asm__ volatile ("mov %0 = ar.rsc\n" : "=r" (rsc.value));
82
    __asm__ volatile ("mov %0 = ar.rsc\n" : "=r" (rsc.value));
82
    rsc.loadrs = 0;
83
    rsc.loadrs = 0;
83
    rsc.be = false;
84
    rsc.be = false;
84
    rsc.pl = PL_USER;
85
    rsc.pl = PL_USER;