Add UVM_PAGEIDLE_ZERO.
This commit is contained in:
parent
cacbbd1117
commit
6f9bfddd60
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: genassym.c,v 1.18 2000/07/14 21:04:16 eeh Exp $ */
|
||||
/* $NetBSD: genassym.c,v 1.19 2000/08/01 00:31:15 eeh Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993
|
||||
|
@ -57,6 +57,8 @@
|
|||
#include <sys/disklabel.h>
|
||||
#include <sys/disk.h>
|
||||
|
||||
#include <uvm/uvm.h>
|
||||
|
||||
#include <machine/db_machdep.h>
|
||||
#include <machine/pmap.h>
|
||||
#include <machine/cpu.h>
|
||||
|
@ -133,6 +135,9 @@ main()
|
|||
/* VM structure fields */
|
||||
off("VM_PMAP", struct vmspace, vm_map.pmap);
|
||||
|
||||
/* UVM structure fields */
|
||||
off("UVM_PAGE_IDLE_ZERO", struct uvm, page_idle_zero);
|
||||
|
||||
/* pmap structure fields */
|
||||
off("PM_CTX", struct pmap, pm_ctx);
|
||||
off("PM_SEGS", struct pmap, pm_segs);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: genassym.cf,v 1.21 2000/07/24 09:14:56 pk Exp $
|
||||
# $NetBSD: genassym.cf,v 1.22 2000/08/01 00:31:16 eeh Exp $
|
||||
|
||||
#
|
||||
# Copyright (c) 1997 The NetBSD Foundation, Inc.
|
||||
|
@ -136,6 +136,7 @@ define USIZ sizeof(struct user)
|
|||
# VM structure fields
|
||||
define VM_PMAP offsetof(struct vmspace, vm_map.pmap)
|
||||
|
||||
# UVM structure fields
|
||||
define UVM_PAGE_IDLE_ZERO offsetof(struct uvm, page_idle_zero)
|
||||
|
||||
# pmap structure fields
|
||||
|
|
Loading…
Reference in New Issue