add defines for LPC and RAMDISK VADDRs for use in devmap

This commit is contained in:
cliff 2008-11-09 08:40:59 +00:00
parent 8e3f3d7b7b
commit a80e63a8a0

View File

@ -1,4 +1,4 @@
/* $NetBSD: gemini.h,v 1.3 2008/11/01 07:43:19 cliff Exp $ */
/* $NetBSD: gemini.h,v 1.4 2008/11/09 08:40:59 cliff Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@ -47,7 +47,13 @@
#define GEMINI_GLOBAL_VBASE GEMINI_KERNEL_IO_VBASE
#define GEMINI_WATCHDOG_VBASE (GEMINI_GLOBAL_VBASE + L1_S_SIZE)
#define GEMINI_CONSOLE_VBASE (GEMINI_WATCHDOG_VBASE + L1_S_SIZE)
#define GEMINI_TIMER_VBASE (GEMINI_CONSOLE_VBASE + L1_S_SIZE)
#define GEMINI_LPCHC_VBASE (GEMINI_CONSOLE_VBASE + L1_S_SIZE)
#define GEMINI_LPCIO_VBASE (GEMINI_LPCHC_VBASE + L1_S_SIZE)
#define GEMINI_TIMER_VBASE (GEMINI_LPCIO_VBASE + L1_S_SIZE)
#define GEMINI_RAMDISK_VBASE (GEMINI_TIMER_VBASE + L1_S_SIZE)
#define GEMINI_RAMDISK_PBASE 0x00800000
#define GEMINI_RAMDISK_SIZE 0x00300000
#define GEMINI_RAMDISK_PEND (GEMINI_RAMDISK_PBASE + GEMINI_RAMDISK_SIZE)
#endif /* _EVBARM_GEMINI_GEMINI_H */