Commit Graph

80 Commits

Author SHA1 Message Date
4c15a3e15f enables tcp demo 2026-04-10 13:28:16 +02:00
68057507c9 adds small cleanups towards updating the entire build system 2026-04-10 13:22:54 +02:00
32df317b38 adds board header 2026-04-10 13:21:40 +02:00
12ae01cda2 WIP: makes moonlight now the base library with no dependencies to be consumed by others 2026-04-10 13:14:40 +02:00
ff0f81e9c0 corrects bootup code
not tested if tls actually works
2026-04-10 13:14:04 +02:00
f989e21bad makes uart.h now also provide init 2026-04-10 13:13:05 +02:00
e3a7a9ccaf adds missing build system changes from a prio commit 2026-04-10 13:12:35 +02:00
c717297b30 removes more dependencies 2026-04-10 13:12:05 +02:00
b16a0ed956 splits low_level_init to allow usage of c file
this also makes threadx hook into the isrs
2026-04-10 13:10:50 +02:00
21f95341af removes dependency of board.c to libc 2026-04-10 13:09:26 +02:00
86025e020d moves linker script file into moonlight 2026-04-10 12:35:55 +02:00
27438ef6a5 also corrects LONG (not just ULONG) 2026-04-04 11:45:39 +02:00
c0386ea4a1 makes bootup code work for any number of cores 2026-04-02 14:26:24 +02:00
ffc49bc6a9 small formatting 2026-04-02 14:25:58 +02:00
a6a6a034d6 removes convoluted generation of offsets
Ass ULONG is now 8 bytes on RV64, the SMP offset is the only one left, harcoding it as a magic number is simpler
2026-04-02 11:35:37 +02:00
c16e6b0446 adjust SMP port to also use ULONG = 8 bytes 2026-04-02 10:48:43 +02:00
eda2a85dc1 makes ULONG 64 bit on RV64 2026-04-02 10:31:12 +02:00
824b71c283 adds csr.h to the moonlight port (adds duplicate as it is also in port/threadx/inc) 2026-03-31 16:13:34 +02:00
7e2e162fe1 cleans up nx_port dependency 2026-03-31 16:09:44 +02:00
dd0c837930 corrects stack alignment 2026-03-30 19:48:09 +02:00
8a41f3e0fa small cleanuo to smp asm files 2026-03-26 15:55:32 +01:00
c9c2d2009f adds regression for smp 2026-03-25 08:49:20 +01:00
c11f68d20c initial test harness for smp regression 2026-03-24 18:00:50 +01:00
7253aadd52 corrects alignment for 64bit in port 2026-03-24 14:38:16 +01:00
e02a58e25f switches to tohost based exit code, reducing complexity in deciding failure / pass 2026-03-23 16:58:56 +01:00
47ba20d762 Changes simulation ending mechanism (exit function)
As higher optimization might actually schedule a jump to self while waiting for timer interrupts this is a more robust implementation in that sense
2026-03-22 22:47:26 +01:00
bbbdae160a makes the timer tick actually every ms 2026-03-22 21:18:40 +01:00
b8d4472657 corrects interrupt disable and restore macros
Turns out the port was really that shitty
2026-03-22 21:14:39 +01:00
9947ce8d52 corrects naming of TX_INTERRUPT_SAVE_AREA to meet test expectations
Also corrects the sizes, as ULONG is XLEN bits
2026-03-22 15:56:00 +01:00
7307a86860 adds ISR check that is closer to productive code
This approach patches the existing trap handler to call the test routine
2026-03-21 20:27:16 +01:00
8bcbc9881e Revert "adds testing hook for trap_non_vectored"
This reverts commit 014cf9f8ee.
2026-03-21 20:19:42 +01:00
014cf9f8ee adds testing hook for trap_non_vectored 2026-03-21 20:15:46 +01:00
124783a57c corrects exit 2026-03-21 20:15:33 +01:00
c98ac25ca6 makes compilation of the network driver depend on netxduo being built 2026-03-21 18:19:45 +01:00
be47608a03 corrects hwtimer TICKNUM
this change went unnoticed when moving the file into moonlight/inc
2026-03-21 17:53:43 +01:00
dfa1c2182c adds initial testing setup 2026-03-21 16:34:08 +01:00
d85f524d07 makes setup_target take output dir for binaries and target mem as arguments 2026-03-21 16:32:29 +01:00
083565251e cleans up moonlight dir 2026-03-21 15:40:54 +01:00
ba1b9c44ee makes the port provide its dependencies as a library 2026-03-21 15:33:02 +01:00
3ccc0de209 adds overlooked file
This was just never used in the demos and thus not noticed
2026-03-21 15:12:08 +01:00
2433b66dc0 corrects port files, enables wakeups in port 2026-03-16 08:08:49 +01:00
2d0ec274ac makes bootup multi core able 2026-03-16 08:08:18 +01:00
58fc04bbb3 adds trap handler 2026-03-16 08:08:07 +01:00
3ba7cdda9e fortifies regex for asm offset parsing 2026-03-12 20:17:42 +01:00
239cd26a5c adds stub for dynamic core discovery in port 2026-03-12 16:31:51 +01:00
ebe891dad6 adds smp tx_timer_interrupt 2026-03-12 16:15:57 +01:00
1da9671197 adds trap_entry to smp lib 2026-03-12 15:57:02 +01:00
28aaf8fd96 makes smp a lib only 2026-03-12 15:56:48 +01:00
6d635345dd small formatting changes 2026-03-12 15:56:33 +01:00
3fc721d6f2 moves spm_offset functionality into its own cmake file 2026-03-12 15:38:15 +01:00