Module Name: src Committed By: matt Date: Thu Aug 16 07:26:23 UTC 2012
Modified Files: src/sys/arch/arm/include/arm32: pte.h Log Message: Add L2_S_SEGSIZE which is the number of bytes that a L2 page table will map. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sys/arch/arm/include/arm32/pte.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/arm/include/arm32/pte.h diff -u src/sys/arch/arm/include/arm32/pte.h:1.10 src/sys/arch/arm/include/arm32/pte.h:1.11 --- src/sys/arch/arm/include/arm32/pte.h:1.10 Thu Mar 10 07:47:15 2011 +++ src/sys/arch/arm/include/arm32/pte.h Thu Aug 16 07:26:23 2012 @@ -1,4 +1,4 @@ -/* $NetBSD: pte.h,v 1.10 2011/03/10 07:47:15 bsh Exp $ */ +/* $NetBSD: pte.h,v 1.11 2012/08/16 07:26:23 matt Exp $ */ /* * Copyright (c) 2001, 2002 Wasabi Systems, Inc. @@ -107,6 +107,7 @@ typedef uint32_t pt_entry_t; /* L2 table #define L2_L_FRAME (~L2_L_OFFSET) #define L2_L_SHIFT 16 +#define L2_S_SEGSIZE (PAGE_SIZE * L2_S_SIZE / 4) #define L2_S_SIZE 0x00001000 /* 4K */ #define L2_S_OFFSET (L2_S_SIZE - 1) #define L2_S_FRAME (~L2_S_OFFSET)