haiku/headers/private/kernel/arch
Augustin Cavalier 7aa5574713 kernel & addons: Build with the non-legacy GCC even on x86_gcc2h.
Only one code change: for some reason, GCC chokes on the cr3 functions
as macros (throwing errors about invalid registers.) The BSDs have them
as inline functions instead, so they are converted to that here.

Tested and working. There seems to be about a 10% decrease in CPU time
on some compilation benchmarks that I briefly tried.

Change-Id: I31666297394d7619f83fca6ff5f933ddd6f07420
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4515
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2021-10-02 18:29:40 +00:00
..
alpha Fix definition of PAGESIZE and B_PAGE_SIZE 2021-01-08 12:02:16 +00:00
arm system/kernel: Rework uart management 2021-08-20 03:03:25 +00:00
arm64 WIP: Rewrote arm64 arch_kernel_args.h based on arm 2021-08-23 21:52:49 +02:00
generic system/uart: refactor debug_uart, fix arm uart 2021-09-06 20:37:14 +00:00
m68k Fix definition of PAGESIZE and B_PAGE_SIZE 2021-01-08 12:02:16 +00:00
mipsel Fix definition of PAGESIZE and B_PAGE_SIZE 2021-01-08 12:02:16 +00:00
ppc Fix definition of PAGESIZE and B_PAGE_SIZE 2021-01-08 12:02:16 +00:00
riscv64 riscv: cleanup architecture macro checks 2021-09-01 18:04:59 +00:00
sh4 Fix definition of PAGESIZE and B_PAGE_SIZE 2021-01-08 12:02:16 +00:00
sparc Fix definition of PAGESIZE and B_PAGE_SIZE 2021-01-08 12:02:16 +00:00
x86 kernel & addons: Build with the non-legacy GCC even on x86_gcc2h. 2021-10-02 18:29:40 +00:00
atomic.h kernel: No need for arch specific ifdefs in arch/atomic.h 2014-01-20 04:09:17 +01:00
cpu.h kernel: add generic wrapper for accessing user memory 2014-09-14 22:39:07 +02:00
debug_console.h * Added arch_debug_blue_screen_try_getchar() and arch_debug_serial_try_getchar() 2011-06-12 17:15:42 +00:00
debug.h Reimplemented the gdb stub support for the 'g' command (read registers): 2011-06-03 15:35:10 +00:00
elf.h system: Build using public elf.h header 2015-11-07 11:49:56 +13:00
int.h kernel: Allow reassigning IRQs to logical processors 2013-11-18 04:55:25 +01:00
platform.h Implemented first basic APM driver. Only tested with QEMU so far, that's why 2006-01-28 18:11:20 +00:00
real_time_clock.h The real_time_data structure contains an architecture specific 2006-01-04 02:17:59 +00:00
smp.h x86: Make arch/smp.h a C++ only header 2013-12-20 22:05:26 +01:00
system_info.h kernel/cpu: add cpu_frequency() 2020-09-15 20:42:14 +00:00
thread_types.h Replaced arch/thread_struct.h with arch/thread_types.h, and renamed 2005-12-20 16:07:27 +00:00
thread.h Revert the rest of the COMPAT_MODE changes (back to hrev52003.) 2018-06-15 00:20:56 -04:00
timer.h s/OpenBeOS License/MIT License/ universally, as they're the same thing. 2017-02-09 22:09:56 -05:00
user_debugger.h kernel: +arch_get_thread_debug_cpu_state() 2016-04-24 17:29:28 +02:00
user_memory.h kernel: riscv64 patches 2021-06-07 07:14:23 +00:00
vm_translation_map.h s/Haiku License/MIT License/g. 2019-08-30 18:16:02 -04:00
vm_types.h Preparation for MTRR support, code is completely untested, though. 2005-12-12 17:04:36 +00:00
vm.h * First run through the kernel's private parts to use phys_{addr,size}_t 2010-05-25 21:34:08 +00:00