History log of /haiku/src/add-ons/kernel/drivers/misc/mem.c
Revision Date Author Comments
# 471e44c9 26-Apr-2019 Jérôme Duval <jerome.duval@gmail.com>

<driver>mem: use user_memcpy instead of memcpy.

Change-Id: Id37e0e48a936de2e9fcfc5b9e16aad22b6dd0901
Reviewed-on: https://review.haiku-os.org/c/1414
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>


# d5202040 24-Nov-2018 Augustin Cavalier <waddlesplash@gmail.com>

Fix various instances of -Wsign-compare.


# 64d79eff 27-May-2010 Ingo Weinhold <ingo_weinhold@gmx.de>

* Changed physical_entry::{address,size} to phys_{addr,size}_t and changed
map_physical_memory()'s physicalAddress parameter type from void* to
phys_addr_t. This breaks source compatibility, but -- as long as
phys_{addr,size}_t remain 32 bit wide -- keeps binary compatibility with
BeOS.
* Adjusted all code using the affected interfaces (Oh what fun!). Added a few
TODOs in places where the wrong types (e.g. void* for physical addresses
are used). Looks like quite a few drivers aren't 64 bit safe and others
will break with PAE.


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


# 9e0b9fbd 18-Dec-2007 Michael Lotz <mmlr@mlotz.ch>

* Fix the mem driver to not always return invalid argument
* Cleanup

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


# b9a0731d 25-May-2007 François Revol <revol@free.fr>

Indent with tabs.


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


# a85d740c 25-May-2007 François Revol <revol@free.fr>

Remove the symlink trick, just publish /dev/mem the regular way.


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


# fb5cc637 21-May-2007 François Revol <revol@free.fr>

Do the mappign now.


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


# 690f1e78 21-May-2007 François Revol <revol@free.fr>

/dev/[misc/]mem driver.


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


# 64d79eff7290437d24b1a420537c3ed5c144ab96 27-May-2010 Ingo Weinhold <ingo_weinhold@gmx.de>

* Changed physical_entry::{address,size} to phys_{addr,size}_t and changed
map_physical_memory()'s physicalAddress parameter type from void* to
phys_addr_t. This breaks source compatibility, but -- as long as
phys_{addr,size}_t remain 32 bit wide -- keeps binary compatibility with
BeOS.
* Adjusted all code using the affected interfaces (Oh what fun!). Added a few
TODOs in places where the wrong types (e.g. void* for physical addresses
are used). Looks like quite a few drivers aren't 64 bit safe and others
will break with PAE.


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


# 9e0b9fbda57cafac250516aab026d1cfc156e9bc 18-Dec-2007 Michael Lotz <mmlr@mlotz.ch>

* Fix the mem driver to not always return invalid argument
* Cleanup

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


# b9a0731d8841c6cc2ad151249fa18746a1de3d64 25-May-2007 François Revol <revol@free.fr>

Indent with tabs.


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


# a85d740cc03b428a9889231dda3274698a3ec440 25-May-2007 François Revol <revol@free.fr>

Remove the symlink trick, just publish /dev/mem the regular way.


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


# fb5cc637bf072bd5381866a128e1954090a101b3 21-May-2007 François Revol <revol@free.fr>

Do the mappign now.


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


# 690f1e786ea7dc2bf8e7c4509159aca6f6ba548d 21-May-2007 François Revol <revol@free.fr>

/dev/[misc/]mem driver.


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