posix/arch/signal: Fix riscv64 arch detection* We decided to not create our own custom define checks and go with the standard ones for riscv64.* clang doesn't define __RISCV64__ either, so this
posix/arch/signal: Fix riscv64 arch detection* We decided to not create our own custom define checks and go with the standard ones for riscv64.* clang doesn't define __RISCV64__ either, so this moves the clang build of riscv64 a bit furtherChange-Id: I2a6c3751168a898c1617b32f46055a9ba1609e2bReviewed-on: https://review.haiku-os.org/c/haiku/+/4861Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
show more ...
kernel/arch/thread: implement for riscv64Change-Id: I3effa598626b32c29606299cd0edee390d430bafReviewed-on: https://review.haiku-os.org/c/haiku/+/4066Reviewed-by: Alex von Gluck IV <kallisti5@unixz
kernel/arch/thread: implement for riscv64Change-Id: I3effa598626b32c29606299cd0edee390d430bafReviewed-on: https://review.haiku-os.org/c/haiku/+/4066Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
Debugger: fix build after hrev54931
Fix definition of PAGESIZE and B_PAGE_SIZEOn sparc, the minimal page size we can use is 8K. Since B_PAGE_SIZE andPAGESIZE defines were hardcoded to 4K, this resulted in a lot ofconfusion in all c
Fix definition of PAGESIZE and B_PAGE_SIZEOn sparc, the minimal page size we can use is 8K. Since B_PAGE_SIZE andPAGESIZE defines were hardcoded to 4K, this resulted in a lot ofconfusion in all code trying to manipulate pages.- Remove cpu.h from headers/private/kernel/arch/*. It dates back from NewOS and was not used anymore since our kernel uses B_PAGE_SIZE (PAGE_SIZE was the only thing defined in this header).- Add posix/arch/*/limits.h with the arch specific page size and include it from the main limits.h.- Adjust bios_ia32/debug.cpp which was the only place using the PAGE_SIZE constant from the deleted headers.- Change OS.h to define B_PAGE_SIZE to be the same as POSIX PAGESIZE.- Define PAGESIZE in the build header if the host OS doesn't.Change-Id: I8c3732cf952ea3c2f088aa16d216678fbf198b96Reviewed-on: https://review.haiku-os.org/c/haiku/+/3558Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
riscv64: Add missing (slightly modified) fenv.h from FreeBSD* A few tips for future folks follows.* fenv.h gets wrapped in our buildtools* If anything in the arch fenv.h "doesn't work" buildtools
riscv64: Add missing (slightly modified) fenv.h from FreeBSD* A few tips for future folks follows.* fenv.h gets wrapped in our buildtools* If anything in the arch fenv.h "doesn't work" buildtools will silently fail early on (autotools HAVE_FENV_H)Change-Id: Icae064fde42af3bbed5ea2eadfaa8c18c677e6a6Reviewed-on: https://review.haiku-os.org/c/haiku/+/2164Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
headers/riscv64: Fill out headers needed by buildtoolsChange-Id: I131a44fbcf7b4f6471cc737cff40bd2966ec9764