Start now lands in an infinite loop
This commit is contained in:
parent
2490a4e4df
commit
0c71360d71
1 changed files with 2 additions and 3 deletions
5
start.c
5
start.c
|
@ -2,9 +2,7 @@
|
|||
|
||||
#define UART ((char *)0x10000000)
|
||||
|
||||
void uart_putc(char c) {
|
||||
*UART = c;
|
||||
}
|
||||
void uart_putc(char c) { *UART = c; }
|
||||
|
||||
void uart_puts(const char *s) {
|
||||
while (*s) {
|
||||
|
@ -17,4 +15,5 @@ __attribute__((aligned(16))) char stack0[4096 * NCPU];
|
|||
|
||||
void start() {
|
||||
uart_puts("Hello Neptune!\n");
|
||||
while (1);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue