Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/i386/i386 Update a uvm_map_pageable() call that I f...
details: https://anonhg.NetBSD.org/src/rev/2e5973239b61
branches: trunk
changeset: 473760:2e5973239b61
user: thorpej <thorpej%NetBSD.org@localhost>
date: Fri Jun 18 06:32:05 1999 +0000
description:
Update a uvm_map_pageable() call that I forgot to commit previously.
diffstat:
sys/arch/i386/i386/gdt.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 1df1dde444ca -r 2e5973239b61 sys/arch/i386/i386/gdt.c
--- a/sys/arch/i386/i386/gdt.c Fri Jun 18 06:31:01 1999 +0000
+++ b/sys/arch/i386/i386/gdt.c Fri Jun 18 06:32:05 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: gdt.c,v 1.17 1999/05/12 19:28:28 thorpej Exp $ */
+/* $NetBSD: gdt.c,v 1.18 1999/06/18 06:32:05 thorpej Exp $ */
/*-
* Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
@@ -188,7 +188,7 @@
old_gdt = gdt;
gdt = (union descriptor *)uvm_km_valloc(kernel_map, max_len);
uvm_map_pageable(kernel_map, (vaddr_t)gdt,
- (vaddr_t)gdt + min_len, FALSE);
+ (vaddr_t)gdt + min_len, FALSE, FALSE);
memcpy(gdt, old_gdt, NGDT * sizeof(gdt[0]));
setregion(®ion, gdt, max_len - 1);
@@ -205,7 +205,7 @@
new_len = old_len << 1;
uvm_map_pageable(kernel_map, (vaddr_t)gdt + old_len,
- (vaddr_t)gdt + new_len, FALSE);
+ (vaddr_t)gdt + new_len, FALSE, FALSE);
}
void
@@ -218,7 +218,7 @@
new_len = old_len >> 1;
uvm_map_pageable(kernel_map, (vaddr_t)gdt + new_len,
- (vaddr_t)gdt + old_len, TRUE);
+ (vaddr_t)gdt + old_len, TRUE, FALSE);
}
/*
Home |
Main Index |
Thread Index |
Old Index