History log of /haiku/headers/private/kernel/arch/arm/arch_kernel.h
Revision Date Author Comments
# d2986cb6 21-Feb-2020 Alexander von Gluck IV <kallisti5@unixzen.com>

system/boot: More cleanup and shuffling

* arm efi additions
* cleanup some cpu headers which were oddly
split between efi and bios_ia32
* Move calculate_cpu_conversion_factor over to
arch_timer since it is timerish, and x86 only
* Drop some duplicated code from efi start. Move
hpet init code into efi timer/hpet code

Change-Id: Ia4264a5690ba8c09417b06788febc4f572f111ce
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2259
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>


# 9e1ce8ed 05-Mar-2019 Jérôme Duval <jerome.duval@gmail.com>

kernel: tweak USER_SIZE.

Change-Id: Id0a4ad785bbd195e425dd32ca891dc4525bb3e18
Reviewed-on: https://review.haiku-os.org/c/1151
Reviewed-by: waddlesplash <waddlesplash@gmail.com>


# 6048591e 07-Sep-2014 Ithamar R. Adema <ithamar@upgrade-android.com>

Revert "Added check to ensure KDL does not include frames beyond kernel entry in the backtrace. This prevents KDL from faulting when printing backtrace on ARM."

This reverts commit 3fbb24680c819d0819f4f876fe6565c336a19139.

As I mentioned in #11131, this fix is not correct, and works around
the problem. The real reason was that arch_debug_call_with_fault_handler
was not working properly, so the fault handler went crazy.

With commit eb92810 that is fixed so this can be reverted.


# 3fbb2468 14-Aug-2014 Arvind S Raj <sraj.arvind@gmail.com>

Added check to ensure KDL does not include frames beyond kernel entry in the backtrace. This prevents KDL from faulting when printing backtrace on ARM.


# f697412f 03-Apr-2013 Pawel Dziepak <pdziepak@quarnos.org>

vm: place commpage and team data near the top of user address space

Placing commpage and team user data somewhere at the top of the user accessible
virtual address space prevents these areas from conflicting with elf images
that require to be mapped at exact address (in most cases: runtime_loader).


# d93ed095 02-Aug-2012 Alex Smith <alex@alex-smith.me.uk>

Improved safety for user memory accesses.

* Changed IS_USER_ADDRESS to check an address using USER_BASE and
USER_SIZE, rather than just !IS_KERNEL_ADDRESS. The old check would
allow user buffers to point into the physical memory map area.
* Added an unmapped hole at the end of the bottom half of the address
space which catches buffers that cross into the uncanonical address
region. This also removes the need to check for uncanonical return
addresses in the syscall handler, it is no longer possible for the
return address to be uncanonical under normal circumstances. All
cases in which the return address might be changed by the kernel
are still handled via the IRET path.


# e59aab09 14-Mar-2011 Ithamar R. Adema <ithamar.adema@team-embedded.nl>

ARM: Some header cleanup in preperation of more CPU support code...



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40948 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 47eb0339 14-Aug-2009 François Revol <revol@free.fr>

[GSoC] [ARM] Patch by Johannes Wischert.
Revert back start of kernel space to the usual place, no need to differ from other archs here.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32401 a95241bf-73f2-0310-859d-f6bbb57e9c96


# bb1325a3 27-Jul-2009 François Revol <revol@free.fr>

[GSoC] [ARM] Patch by Johannes Wischert.
Placeholder private headers for the kernel and libroot.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31820 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6048591e9dd5c3f461dd3dd6cb5e6f4a17167439 07-Sep-2014 Ithamar R. Adema <ithamar@upgrade-android.com>

Revert "Added check to ensure KDL does not include frames beyond kernel entry in the backtrace. This prevents KDL from faulting when printing backtrace on ARM."

This reverts commit 3fbb24680c819d0819f4f876fe6565c336a19139.

As I mentioned in #11131, this fix is not correct, and works around
the problem. The real reason was that arch_debug_call_with_fault_handler
was not working properly, so the fault handler went crazy.

With commit eb92810 that is fixed so this can be reverted.


# 3fbb24680c819d0819f4f876fe6565c336a19139 14-Aug-2014 Arvind S Raj <sraj.arvind@gmail.com>

Added check to ensure KDL does not include frames beyond kernel entry in the backtrace. This prevents KDL from faulting when printing backtrace on ARM.


# f697412ff81a6d6a4a9866abce93f1f20a68330f 03-Apr-2013 Pawel Dziepak <pdziepak@quarnos.org>

vm: place commpage and team data near the top of user address space

Placing commpage and team user data somewhere at the top of the user accessible
virtual address space prevents these areas from conflicting with elf images
that require to be mapped at exact address (in most cases: runtime_loader).


# d93ed095640345495ace3b653ea87b66815c7c81 02-Aug-2012 Alex Smith <alex@alex-smith.me.uk>

Improved safety for user memory accesses.

* Changed IS_USER_ADDRESS to check an address using USER_BASE and
USER_SIZE, rather than just !IS_KERNEL_ADDRESS. The old check would
allow user buffers to point into the physical memory map area.
* Added an unmapped hole at the end of the bottom half of the address
space which catches buffers that cross into the uncanonical address
region. This also removes the need to check for uncanonical return
addresses in the syscall handler, it is no longer possible for the
return address to be uncanonical under normal circumstances. All
cases in which the return address might be changed by the kernel
are still handled via the IRET path.


# e59aab09811bcf32d102e7b285813e82b6dd0f2d 14-Mar-2011 Ithamar R. Adema <ithamar.adema@team-embedded.nl>

ARM: Some header cleanup in preperation of more CPU support code...



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40948 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 47eb03398013e7c66c1aefd52175907298c2f96d 14-Aug-2009 François Revol <revol@free.fr>

[GSoC] [ARM] Patch by Johannes Wischert.
Revert back start of kernel space to the usual place, no need to differ from other archs here.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32401 a95241bf-73f2-0310-859d-f6bbb57e9c96


# bb1325a30e94bf61d29fd324a53625253050d56c 27-Jul-2009 François Revol <revol@free.fr>

[GSoC] [ARM] Patch by Johannes Wischert.
Placeholder private headers for the kernel and libroot.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31820 a95241bf-73f2-0310-859d-f6bbb57e9c96