New Nspire cx 2 memory map stuff
MrNASCARA9 <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.kernel |
|---|---|
| Message-ID | <CAFmpOV8fn5kzUNpUCwcqaX=m2qmQxo-BE72Z3E2XvOg9NKQEpw@mail.gmail.com> |
This adds the memory map for the Ti Nspire cx 2, I hope you have a good day! I used git to generate it and I hope this is useful. I might do a full Nspire cx 2 port in the future. --below is the changes.patch stuff. --- nsp_drivers.c 2026-08-12 14:26:29.482115820 -0400 +++ nsp_drivers.h 2026-08-12 14:27:38.356981643 -0400 @@ -1,6 +1,13 @@ -#include "nsp_drivers.h" #include <sys/kernel.h> +#include <sys/exec.h> +#include <sys/proc.h> +#include <sys/msgbuf.h> +#include <sys/reboot.h> +#include <sys/termios.h> +// define stuff for nspire cx, like where everything is in memory space +#define NSP_RAM 0xA4000000 +#define NSP_SD 0x10000000 +#define NSP_IO 0xB8000000 // memory-mapped i/o ports.... - - - +// todo: add more useless variables whenever they are needed.. +// also i LOVE netbsd "run everywhere" should be the slogan.. \ No newline at end of file