moves to-/fromhost past the end of the RAM

This commit is contained in:
Eyck Jentzsch 2025-04-14 16:34:10 +02:00
parent db3a2d68d6
commit 8cb34baacf
2 changed files with 3 additions and 2 deletions

4
env/iss/link.lds vendored
View File

@ -178,7 +178,7 @@ SECTIONS
PROVIDE( _sp = . );
} >ram AT>ram :ram
PROVIDE( tohost = 0xfffffff0 );
PROVIDE( fromhost = 0xfffffff8 );
PROVIDE( tohost = . );
PROVIDE( fromhost = . + 8 );
}

View File

@ -3,6 +3,7 @@
#include "weak_under_alias.h"
//#include <stdint.h>
#include <unistd.h>
#include <stdint.h>
#if defined(SEMIHOSTING)
#include "semihosting.h"
#endif