again 2.3.28
David N. Welton
davidw at linuxcare.com
Thu Nov 18 15:03:00 EST 1999
Ok... hmmm, this may mean something, but I'll leave it to others to
tell me if I've found something or if I'm just on crack.
copy_and_flush:
addi r5,r5,-4
addi r6,r6,-4
4: li r0,8
mtctr r0
3: addi r6,r6,4 /* copy a cache line */
lwzx r0,r6,r4
stwx r0,r6,r3
bdnz 3b
dcbst r6,r3 /* write it to memory */
sync
icbi r6,r3 /* flush the icache line */
cmplw 0,r6,r5
bl davidw_debug <<<<<<<<< POSITION 1
blt 4b
bl davidw_debug <<<<<<<<< POSITION 2
isync
addi r5,r5,4
addi r6,r6,4
blr
When davidw_debug is in position 1, it actually exits the boot load
back into the firmware with a 'default catch' or something like that.
If it is in position 2, it just hangs and does nothing (possibly
continuing with this loop forever?).
Is this significant? Or am I just messing up something else?
Ciao,
--
David N. Welton, Developer, Linuxcare, Inc.
415.354.4878 x241 tel, 415.701.7457 fax
davidw at linuxcare.com, http://www.linuxcare.com/
Linuxcare. At the center of Linux.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-dev
mailing list