arch/sparc dismiss non-Unicode characters issue
This commit is contained in:
parent
7d34ebdd4e
commit
d3f84ba724
@ -324,7 +324,7 @@ __start:
|
||||
|
||||
set BM3803_REG,%g1
|
||||
ld [%g1+4], %g2
|
||||
or %g2, 0x4f, %g2 /*将存储器配置为读改写(区别于写选通),等待后期设置为最大*/
|
||||
or %g2, 0x4f, %g2 !Enable read-modify-write cycle(no byte write strobe),maximum wait-states
|
||||
st %g2, [%g1+4]
|
||||
nop
|
||||
|
||||
|
@ -49,19 +49,11 @@
|
||||
|
||||
void up_systemreset(void)
|
||||
{
|
||||
asm("st %g0,[%g1+0x90]"); /* ÐŽÈëÖжό¶±ðºÍÓÅÏÈ¿ØÖƌĎæÆ÷£¬ÆÁ±ÎËùÓÐÖÐ¶Ï */
|
||||
asm("st %g0,[%g1+0x94]"); /* ÐŽÈëÖжÏÇëÇóŒÄŽæÆ÷,Çå³ýËùÓеÄÖÐ¶Ï */
|
||||
asm("st %g0,[%g1+0x98]"); /* ÐŽÈëÇ¿ÖÆÖжόĎæÆ÷£¬Çå³ýËùÓÐÖÐ¶Ï */
|
||||
(void)sparc_disable_interrupts();
|
||||
|
||||
/* Çå³ýËùÓб»×èÈûµÄÖÐ¶Ï */
|
||||
/* reboot from ram */
|
||||
|
||||
asm("set 0xfffe,%g2"); /* ÉèÖÃÖжÏÇå³ýŒÄŽæÆ÷µÄÖµ */
|
||||
asm("st %g2,[%g1+0x9c]"); /* ÐŽÈëÖжÏÇå³ýŒÄŽæÆ÷£¬Çå³ýËùÓеÄÖÐ¶Ï */
|
||||
|
||||
asm("set 0x1024, %l4");
|
||||
asm("jmp %l4");
|
||||
asm("nop");
|
||||
asm("nop");
|
||||
((void (*)(void))CONFIG_RAM_START)();
|
||||
|
||||
/* Wait for the reset */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user