* mips/crt0.S (zerobss): Reload __memsize after call.
This commit is contained in:
parent
af5d939fc8
commit
325d68a204
@ -1,3 +1,7 @@
|
|||||||
|
2003-02-18 Richard Sandiford <rsandifo@redhat.com>
|
||||||
|
|
||||||
|
* mips/crt0.S (zerobss): Reload __memsize after call.
|
||||||
|
|
||||||
2003-02-17 Chris Demetriou <cgd@broadcom.com>
|
2003-02-17 Chris Demetriou <cgd@broadcom.com>
|
||||||
|
|
||||||
* mips/cfe.c (__cfe_handle, __cfe_entrypt): Fix types.
|
* mips/cfe.c (__cfe_handle, __cfe_entrypt): Fix types.
|
||||||
|
@ -154,6 +154,7 @@ zerobss:
|
|||||||
|
|
||||||
/* NOTE: a0[0] contains the amount of memory available, and
|
/* NOTE: a0[0] contains the amount of memory available, and
|
||||||
not the last memory address. */
|
not the last memory address. */
|
||||||
|
la a0, __memsize
|
||||||
lw t0,0(a0) # last address of memory available
|
lw t0,0(a0) # last address of memory available
|
||||||
la t1,K0BASE # cached kernel memory
|
la t1,K0BASE # cached kernel memory
|
||||||
addu t0,t0,t1 # get the end of memory address
|
addu t0,t0,t1 # get the end of memory address
|
||||||
|
Loading…
Reference in New Issue
Block a user