cpu_machdep.c (15379) | cpu_machdep.c (15392) |
---|---|
1/*- 2 * Copyright (c) 1992 Terrence R. Lambert. 3 * Copyright (c) 1982, 1987, 1990 The Regents of the University of California. 4 * All rights reserved. 5 * 6 * This code is derived from software contributed to Berkeley by 7 * William Jolitz. 8 * --- 21 unchanged lines hidden (view full) --- 30 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 31 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 32 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 33 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 34 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 35 * SUCH DAMAGE. 36 * 37 * from: @(#)machdep.c 7.4 (Berkeley) 6/3/91 | 1/*- 2 * Copyright (c) 1992 Terrence R. Lambert. 3 * Copyright (c) 1982, 1987, 1990 The Regents of the University of California. 4 * All rights reserved. 5 * 6 * This code is derived from software contributed to Berkeley by 7 * William Jolitz. 8 * --- 21 unchanged lines hidden (view full) --- 30 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 31 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 32 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 33 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 34 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 35 * SUCH DAMAGE. 36 * 37 * from: @(#)machdep.c 7.4 (Berkeley) 6/3/91 |
38 * $Id: machdep.c,v 1.182 1996/04/19 07:27:57 phk Exp $ | 38 * $Id: machdep.c,v 1.183 1996/04/25 06:20:10 phk Exp $ |
39 */ 40 41#include "npx.h" 42#include "isa.h" 43#include "opt_sysvipc.h" 44#include "opt_ddb.h" 45#include "opt_bounce.h" 46#include "opt_machdep.h" --- 119 unchanged lines hidden (view full) --- 166#endif /* BOUNCE_BUFFERS */ 167 168extern int freebufspace; 169int msgbufmapped = 0; /* set when safe to use msgbuf */ 170int _udatasel, _ucodesel; 171 172 173int physmem = 0; | 39 */ 40 41#include "npx.h" 42#include "isa.h" 43#include "opt_sysvipc.h" 44#include "opt_ddb.h" 45#include "opt_bounce.h" 46#include "opt_machdep.h" --- 119 unchanged lines hidden (view full) --- 166#endif /* BOUNCE_BUFFERS */ 167 168extern int freebufspace; 169int msgbufmapped = 0; /* set when safe to use msgbuf */ 170int _udatasel, _ucodesel; 171 172 173int physmem = 0; |
174int cold = 1; |
|
174 175static int 176sysctl_hw_physmem SYSCTL_HANDLER_ARGS 177{ 178 int error = sysctl_handle_int(oidp, 0, ctob(physmem), req); 179 return (error); 180} 181 --- 1657 unchanged lines hidden --- | 175 176static int 177sysctl_hw_physmem SYSCTL_HANDLER_ARGS 178{ 179 int error = sysctl_handle_int(oidp, 0, ctob(physmem), req); 180 return (error); 181} 182 --- 1657 unchanged lines hidden --- |