Rev 1018 | Rev 1744 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1018 | Rev 1685 | ||
---|---|---|---|
Line 26... | Line 26... | ||
26 | # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 | # |
27 | # |
28 | 28 | ||
29 | #include "regname.h" |
29 | #include "regname.h" |
30 | 30 | ||
31 | #define INITIAL_STACK 0x10000 |
31 | #define INITIAL_STACK 0x40000 |
32 | 32 | ||
33 | .set noat |
33 | .set noat |
34 | .set noreorder |
34 | .set noreorder |
35 | .set nomacro |
35 | .set nomacro |
36 | 36 | ||
37 | .section BOOTSTRAP |
37 | .section BOOTSTRAP |
38 | 38 | ||
39 | .global start |
39 | .global start |
40 | start: |
40 | start: |
41 | lui $sp, INITIAL_STACK >> 16 |
41 | lui $sp, INITIAL_STACK >> 16 |
42 | ori $sp, $sp, INITIAL_STACK & 0xffff |
42 | ori $sp, $sp, INITIAL_STACK & 0xffff |
43 | 43 | ||
44 | j bootstrap |
44 | j bootstrap |
45 | nop |
45 | nop |