From 3f97e14d4204f13d236a5c5755f3ec3fff0934da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Mon, 8 Nov 2004 10:17:41 +0000 Subject: [PATCH] Fixed a comment as pointed out by Jerome. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9843 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kernel/core/arch/x86/arch_vm_translation_map.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/kernel/core/arch/x86/arch_vm_translation_map.c b/src/kernel/core/arch/x86/arch_vm_translation_map.c index 17d55c14c1..935ffa6fa4 100755 --- a/src/kernel/core/arch/x86/arch_vm_translation_map.c +++ b/src/kernel/core/arch/x86/arch_vm_translation_map.c @@ -1,5 +1,5 @@ /* -** Copyright 2002-2004, The Haiku Team. All rights reserved. +** Copyright 2002-2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved. ** Distributed under the terms of the Haiku License. ** ** Copyright 2001-2002, Travis Geiselbrecht. All rights reserved. @@ -240,8 +240,9 @@ put_pgtable_in_pgdir(pdentry *e, addr_t pgtable_phys, uint32 attributes) init_pdentry(e); e->addr = ADDR_SHIFT(pgtable_phys); - // if the region is user accessible, it's automatically read/write - // accessible in kernel space + // if the region is user accessible, it's automatically + // accessible in kernel space, too (but with the same + // protection) e->user = (attributes & B_USER_PROTECTION) != 0; if (e->user) e->rw = (attributes & B_WRITE_AREA) != 0;