diff options
author | dfr <dfr@FreeBSD.org> | 1998-06-14 13:46:10 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 1998-06-14 13:46:10 +0000 |
commit | dc295ed278eb0235154462b23615e89213bc591c (patch) | |
tree | 0734d180ccb27bfdde5cd04d1961394e2e0ac94f /sys/alpha/include/vmparam.h | |
parent | a7d3dec6df55d42bcb12806631798932380ce34b (diff) | |
download | FreeBSD-src-dc295ed278eb0235154462b23615e89213bc591c.zip FreeBSD-src-dc295ed278eb0235154462b23615e89213bc591c.tar.gz |
Major changes to the generic device framework for FreeBSD/alpha:
* Eliminate bus_t and make it possible for all devices to have
attached children.
* Support dynamically extendable interfaces for drivers to replace
both the function pointers in driver_t and bus_ops_t (which has been
removed entirely. Two system defined interfaces have been defined,
'device' which is mandatory for all devices and 'bus' which is
recommended for all devices which support attached children.
* In addition, the alpha port defines two simple interfaces 'clock'
for attaching various real time clocks to the system and 'mcclock'
for the many different variations of mc146818 clocks which can be
attached to different alpha platforms. This eliminates two more
function pointer tables in favour of the generic method dispatch
system provided by the device framework.
Future device interfaces may include:
* cdev and bdev interfaces for devfs to use in replacement for specfs
and the fixed interfaces bdevsw and cdevsw.
* scsi interface to replace struct scsi_adapter (not sure how this
works in CAM but I imagine there is something similar there).
* various tailored interfaces for different bus types such as pci,
isa, pccard etc.
Diffstat (limited to 'sys/alpha/include/vmparam.h')
-rw-r--r-- | sys/alpha/include/vmparam.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/alpha/include/vmparam.h b/sys/alpha/include/vmparam.h index 612fe8e..fead056 100644 --- a/sys/alpha/include/vmparam.h +++ b/sys/alpha/include/vmparam.h @@ -1,4 +1,4 @@ -/* $Id: vmparam.h,v 1.1.1.1 1998/03/09 05:43:16 jb Exp $ */ +/* $Id: vmparam.h,v 1.2 1998/06/10 10:55:30 dfr Exp $ */ /* From: NetBSD: vmparam.h,v 1.6 1997/09/23 23:23:23 mjacob Exp */ #ifndef _ALPHA_VMPARAM_H #define _ALPHA_VMPARAM_H @@ -133,11 +133,11 @@ */ /* user/kernel map constants */ -#define VM_MIN_ADDRESS ((vm_offset_t)ALPHA_USEG_BASE) /* 0 */ -#define VM_MAXUSER_ADDRESS ((vm_offset_t)(ALPHA_USEG_END + 1L)) +#define VM_MIN_ADDRESS (ALPHA_USEG_BASE) /* 0 */ +#define VM_MAXUSER_ADDRESS ((ALPHA_USEG_END + 1LL)) #define VM_MAX_ADDRESS VM_MAXUSER_ADDRESS -#define VM_MIN_KERNEL_ADDRESS ((vm_offset_t)ALPHA_K1SEG_BASE) -#define VM_MAX_KERNEL_ADDRESS ((vm_offset_t)ALPHA_K1SEG_END) +#define VM_MIN_KERNEL_ADDRESS (ALPHA_K1SEG_BASE) +#define VM_MAX_KERNEL_ADDRESS (ALPHA_K1SEG_END) /* virtual sizes (bytes) for various kernel submaps */ #ifndef VM_KMEM_SIZE @@ -159,5 +159,5 @@ #endif /* some Alpha-specific constants */ -#define VPTBASE ((vm_offset_t)0xfffffffe00000000) /* Virt. pg table */ +#define VPTBASE (0xfffffffe00000000LL) /* Virt. pg table */ #endif /* !_ALPHA_VMPARAM_H */ |