forked from Imagelibrary/rtems
BSP now links although this change is untested.
This commit is contained in:
@@ -88,7 +88,11 @@ END_DATA
|
|||||||
SYM(reset):
|
SYM(reset):
|
||||||
nop
|
nop
|
||||||
cli
|
cli
|
||||||
|
#ifdef NEW_GAS
|
||||||
|
data32 addr32 jmp SYM(_initInternalRegisters) /* different section in this file */
|
||||||
|
#else
|
||||||
jmp SYM(_initInternalRegisters) /* different section in this file */
|
jmp SYM(_initInternalRegisters) /* different section in this file */
|
||||||
|
#endif
|
||||||
/* .code32 in case this section moves */
|
/* .code32 in case this section moves */
|
||||||
nop /* required by CHIP LAB to pad out size */
|
nop /* required by CHIP LAB to pad out size */
|
||||||
nop
|
nop
|
||||||
@@ -374,10 +378,10 @@ SYM(SetUCS1):
|
|||||||
****************************/
|
****************************/
|
||||||
|
|
||||||
#ifdef NEW_GAS
|
#ifdef NEW_GAS
|
||||||
data32
|
data32 addr32 lgdt SYM(GDTR) # location of GDT
|
||||||
addr32
|
#else
|
||||||
#endif
|
|
||||||
lgdt SYM(GDTR) # location of GDT
|
lgdt SYM(GDTR) # location of GDT
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
SYM(SetUCS):
|
SYM(SetUCS):
|
||||||
|
|||||||
Reference in New Issue
Block a user