Andreas T Jonsson
384137d4e9
Use PHYSMEM64 on NetBSD
...
I realize we should use PHYSMEM64 on NetBSD. So we can not share code with FreeBSD.
2024-04-22 10:15:52 +02:00
Andreas T Jonsson
1b15d8b453
Added build tag
...
Added build tag to rand_bsd.odin and fixed build warning.
2024-04-22 09:32:19 +02:00
Andreas T Jonsson
50cbb802b7
Fixed bug report information for NetBSD
2024-04-19 14:44:35 +02:00
Andreas T Jonsson
a23c378513
Make the linter happy
2024-04-19 12:32:09 +02:00
Andreas T Jonsson
dd95a8d11d
More std lib fixes
...
Just selecting the same codepath as other BSD's for the most part.
2024-04-19 10:42:09 +02:00
Andreas T Jonsson
07fc07822d
Added some libc bindings for NetBSD
2024-04-18 16:22:07 +02:00
Andreas T Jonsson
41d4dfbcd5
Fixed concurrency issue
...
Fixed broken thread policy causing deadlocks.
2024-04-18 16:20:49 +02:00
Andreas T Jonsson
38640d5d9e
Updated core lib and did cleanup
...
Updated core with some path related functions and did some minor code cleanup.
Most of the standard library function is just a matter of copy what is there for the other BSDs.
2024-04-18 10:12:42 +02:00
Andreas T Jonsson
2055f2b933
Fixed link warnings
...
Hardlink libc functions to the correct version on NetBSD 10 since we do not use the micro-magic from C.
2024-04-17 09:46:57 +02:00
Andreas T Jonsson
80067a959b
Added thread name
...
Call pthread_setname_np with the correct number of arguments on NetBSD.
2024-04-17 09:42:41 +02:00
Andreas T Jonsson
4558f3992a
Initial commit of NetBSD port
2024-04-16 14:27:29 +02:00