History log of /haiku/headers/private/kernel/arch/m68k/arch_kernel.h
Revision Date Author Comments
# 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>


# 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.


# e2a938c2 20-May-2008 François Revol <revol@free.fr>

Add define for the kernel area to ppc & m68k. They still don't initialize TLS though.


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


# 7cbf8fdd 07-May-2008 Axel Dörfler <axeld@pinc-software.de>

First part of the vm86 work by Jan Klötzke:
* Allow userland teams to create areas below 1 MB when requested specifically.
* Note, this is a temporary solution - see the comments in the code.


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


# 0b2adc3d 21-Oct-2007 François Revol <revol@free.fr>

Headers (unfinished) for an m68k port (yes I do know it's useless, it's just for the l33t factor).
Based on ppc/x86 headers from r22648.


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


# 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.


# e2a938c274f6b3b99fcd736f34e49c34b00e5297 20-May-2008 François Revol <revol@free.fr>

Add define for the kernel area to ppc & m68k. They still don't initialize TLS though.


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


# 7cbf8fdd5a22f56b50ce28270e0f867401dd6c0f 07-May-2008 Axel Dörfler <axeld@pinc-software.de>

First part of the vm86 work by Jan Klötzke:
* Allow userland teams to create areas below 1 MB when requested specifically.
* Note, this is a temporary solution - see the comments in the code.


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


# 0b2adc3d8e77d541e8ff2a22f223608d343fc65d 21-Oct-2007 François Revol <revol@free.fr>

Headers (unfinished) for an m68k port (yes I do know it's useless, it's just for the l33t factor).
Based on ppc/x86 headers from r22648.


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