diff options
author | attilio <attilio@FreeBSD.org> | 2012-12-11 00:07:19 +0000 |
---|---|---|
committer | attilio <attilio@FreeBSD.org> | 2012-12-11 00:07:19 +0000 |
commit | be719e9167493128d6cfb96e88f086bbe9fcf78f (patch) | |
tree | ddc8280cbd12a14c57757a887ed78be9d6e3e35d /sys/i386/include | |
parent | 64eaf39fd71abeb3fcf08a18afcbe84d8d7251f8 (diff) | |
parent | f972d172c070d04250d35a0e4f56cf0242bbb098 (diff) | |
download | FreeBSD-src-be719e9167493128d6cfb96e88f086bbe9fcf78f.zip FreeBSD-src-be719e9167493128d6cfb96e88f086bbe9fcf78f.tar.gz |
MFC
Diffstat (limited to 'sys/i386/include')
-rw-r--r-- | sys/i386/include/bus.h | 22 | ||||
-rw-r--r-- | sys/i386/include/vmparam.h | 9 |
2 files changed, 31 insertions, 0 deletions
diff --git a/sys/i386/include/bus.h b/sys/i386/include/bus.h index f1af2cf..6d6d36f 100644 --- a/sys/i386/include/bus.h +++ b/sys/i386/include/bus.h @@ -3,4 +3,26 @@ */ /* $FreeBSD$ */ +#ifndef _MACHINE_BUS_H_ +#define _MACHINE_BUS_H_ + #include <x86/bus.h> + +/* + * The functions: + * bus_space_read_8 + * bus_space_read_region_8 + * bus_space_write_8 + * bus_space_write_multi_8 + * bus_space_write_region_8 + * bus_space_set_multi_8 + * bus_space_set_region_8 + * bus_space_copy_region_8 + * bus_space_read_multi_8 + * are unimplemented for i386 because there is no way to do a 64-bit move in + * this architecture. It is possible to do two 32-bit moves, but this is + * not atomic and may have hardware dependencies that should be fully + * understood. + */ + +#endif /*_MACHINE_BUS_H_*/ diff --git a/sys/i386/include/vmparam.h b/sys/i386/include/vmparam.h index ce6672d..9cfd692 100644 --- a/sys/i386/include/vmparam.h +++ b/sys/i386/include/vmparam.h @@ -202,4 +202,13 @@ #define ZERO_REGION_SIZE (64 * 1024) /* 64KB */ +#ifndef VM_MAX_AUTOTUNE_MAXUSERS +#define VM_MAX_AUTOTUNE_MAXUSERS 384 +#endif + +#ifndef VM_MAX_AUTOTUNE_NMBCLUSTERS +/* old maxusers max value. */ +#define VM_MAX_AUTOTUNE_NMBCLUSTERS (1024 + VM_MAX_AUTOTUNE_MAXUSERS * 64) +#endif + #endif /* _MACHINE_VMPARAM_H_ */ |