Skip to contentSkip to conversation

psr rt bit

Linux-ia64 Mario Smarduch 2 participants 2 messages Oct 31, 2002

lore
Share & tools
lore
#0 lore raw

In head.S ipsr 'rt' bit along with other bits is set before rfi as the initialization
goes to virtual mode. As the 'rfi' implicitly updates the 'psr' will that cause
problems if 'rsc' is not in lazy mode? Is it assumed that 'rsc' is in lazy mode
by the time _start runs?

- mario.

#1 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line · Mario Smarduch

Mario> In head.S ipsr 'rt' bit along with other bits is set before Mario> rfi as the initialization goes to virtual mode. As the 'rfi' Mario> implicitly updates the 'psr' will that cause problems if Mario> 'rsc' is not in lazy mode?

Yes.

Mario> Is it assumed that 'rsc' is in lazy mode by the time _start Mario> runs?

Yes. SAL Section 3.2.5 guarantees that ar.rsc is set to "enforced lazy mode, little-endian".

	--david