Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/uvm Abstraction fix; don't pull in physical segment/page...
details: https://anonhg.NetBSD.org/src/rev/3a1b8beb1b3c
branches: trunk
changeset: 758644:3a1b8beb1b3c
user: uebayasi <uebayasi%NetBSD.org@localhost>
date: Fri Nov 12 02:36:02 2010 +0000
description:
Abstraction fix; don't pull in physical segment/page definitions
in UVM external API, uvm_extern.h. Because most users care only
virtual memory.
Device drivers use bus_dma(9) to manage physical memory. Device
drivers pull in bus_dma(9) API, bus_dma.h. bus_dma(9) implementations
pull in UVM internal API, uvm.h.
Tested By: Compiling i386 ALL kernel
diffstat:
sys/uvm/uvm_extern.h | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diffs (17 lines):
diff -r dea92e9257cd -r 3a1b8beb1b3c sys/uvm/uvm_extern.h
--- a/sys/uvm/uvm_extern.h Fri Nov 12 02:07:27 2010 +0000
+++ b/sys/uvm/uvm_extern.h Fri Nov 12 02:36:02 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_extern.h,v 1.163 2010/04/16 03:21:49 rmind Exp $ */
+/* $NetBSD: uvm_extern.h,v 1.164 2010/11/12 02:36:02 uebayasi Exp $ */
/*
*
@@ -476,7 +476,6 @@
#include <sys/lock.h>
#include <uvm/uvm_param.h>
#include <uvm/uvm_prot.h>
-#include <uvm/uvm_page.h>
#include <uvm/uvm_pmap.h>
#include <uvm/uvm_map.h>
#include <uvm/uvm_pager.h>
Home |
Main Index |
Thread Index |
Old Index