blob: bce35aec11fe6cb55d59943359a3ed5c869a0875 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
/* $NetBSD: param.h,v 1.4 2005/12/11 12:17:29 christos Exp $ */
/* Windows CE architecture */
#define DEV_BSIZE 512
#define DEV_BSHIFT 9 /* log2(DEV_BSIZE) */
#define BLKDEV_IOSIZE 2048
#define MAXPHYS (64 * 1024) /* max raw I/O transfer size */
/* bytes to disk blocks */
#define btodb(x) ((x) >> DEV_BSHIFT)
|