[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] GNU Mach branch, master, updated. v1.4-417-g7b24514
From: |
Samuel Thibault |
Subject: |
[SCM] GNU Mach branch, master, updated. v1.4-417-g7b24514 |
Date: |
Sun, 02 Mar 2014 23:58:14 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Mach".
The branch, master has been updated
via 7b24514f549f65ecc30ad06312a775b65ff99653 (commit)
via b9a59e483225093dec4e28ee5841b5b7f5e73562 (commit)
from 2d91aeafcf87e32fd3b5d447e20f421ee5d9f91f (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 7b24514f549f65ecc30ad06312a775b65ff99653
Merge: b9a59e4 2d91aea
Author: Samuel Thibault <address@hidden>
Date: Mon Mar 3 00:58:06 2014 +0100
Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/gnumach
commit b9a59e483225093dec4e28ee5841b5b7f5e73562
Author: Samuel Thibault <address@hidden>
Date: Mon Mar 3 00:50:33 2014 +0100
Keep two virtual pages as mapping windows to access physical memory
PCI devices expose their memory etc. way beyond last_phys_addr. Userland
drivers opening /dev/mem need to open those too, even if phystokv() will
not work for them.
* i386/intel/pmap.h (pmap_mapwindow_t): New type.
(pmap_get_mapwindow, pmap_put_mapwindow): New prototypes.
(PMAP_NMAPWINDOWS): New macro.
* i386/intel/pmap.c (mapwindows): New array.
(pmap_get_mapwindow, pmap_put_mapwindow): New functions.
(pmap_bootstrap, pmap_virtual_space): Reserve virtual pages for the mapping
windows.
* i386/i386/phys.c: Include <i386/model_dep.h>
(INTEL_PTE_W, INTEL_PTE_R): New macros
(pmap_zero_page, pmap_copy_page, copy_to_phys, copy_from_phys): Use
`pmap_get_mapwindow' to temporarily map physical pages beyond
last_phys_addr.
-----------------------------------------------------------------------
Summary of changes:
i386/i386/phys.c | 79 ++++++++++++++++++++++++++++++++++++++++++++++++++---
i386/intel/pmap.c | 43 ++++++++++++++++++++++++++++-
i386/intel/pmap.h | 10 +++++++
3 files changed, 127 insertions(+), 5 deletions(-)
hooks/post-receive
--
GNU Mach
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] GNU Mach branch, master, updated. v1.4-417-g7b24514,
Samuel Thibault <=