param.h (246e7a2b6494cd991b08ac669ed761ecea0cc98c) | param.h (4f3dc900231ae7975a614581b973ce530836a0c9) |
---|---|
1/*- 2 * Copyright (c) 2001 David E. O'Brien 3 * Copyright (c) 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 * --- 135 unchanged lines hidden (view full) --- 144#define atop(x) ((unsigned)(x) >> PAGE_SHIFT) 145#define ptoa(x) ((unsigned)(x) << PAGE_SHIFT) 146 147#define arm32_btop(x) ((unsigned)(x) >> PAGE_SHIFT) 148#define arm32_ptob(x) ((unsigned)(x) << PAGE_SHIFT) 149 150#define pgtok(x) ((x) * (PAGE_SIZE / 1024)) 151 | 1/*- 2 * Copyright (c) 2001 David E. O'Brien 3 * Copyright (c) 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 * --- 135 unchanged lines hidden (view full) --- 144#define atop(x) ((unsigned)(x) >> PAGE_SHIFT) 145#define ptoa(x) ((unsigned)(x) << PAGE_SHIFT) 146 147#define arm32_btop(x) ((unsigned)(x) >> PAGE_SHIFT) 148#define arm32_ptob(x) ((unsigned)(x) << PAGE_SHIFT) 149 150#define pgtok(x) ((x) * (PAGE_SIZE / 1024)) 151 |
152#ifdef _KERNEL 153#define NO_FUEWORD 1 154#endif 155 |
|
152#endif /* !_ARM_INCLUDE_PARAM_H_ */ | 156#endif /* !_ARM_INCLUDE_PARAM_H_ */ |