Initial commit of the splitting off of arch/acorn32 from arch/arm32.
The IOMD/VIDC combination is now moved to arch/arm/iomd together. These files still need a lot of cleaning up :( .... esp. the RC7500 support that is still dormant in it; this needs either to be removed or split out for RC7500's ``VIDC'' video/audio variant. Apart from the RC7500 support wich is still in arch/arm32 the iomd,vidc,riscpc and podulebus subdirectories of arch/arm32 can be removed. This split still uses some small parts of arch/arm32 .... those are the MI parts that haven't been moved yet. RiscPC/A7000 have been tested and confirmed to build as should NC.
This commit is contained in:
parent
7fbd726cc8
commit
7d4a1addde
196
sys/arch/acorn32/acorn32/autoconf.c
Normal file
196
sys/arch/acorn32/acorn32/autoconf.c
Normal file
@ -0,0 +1,196 @@
|
||||
/* $NetBSD: autoconf.c,v 1.1 2001/10/05 22:27:46 reinoud Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1994-1998 Mark Brinicombe.
|
||||
* Copyright (c) 1994 Brini.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. All advertising materials mentioning features or use of this software
|
||||
* must display the following acknowledgement:
|
||||
* This product includes software developed by Mark Brinicombe for
|
||||
* the NetBSD project.
|
||||
* 4. The name of the company nor the name of the author may be used to
|
||||
* endorse or promote products derived from this software without specific
|
||||
* prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
|
||||
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
* IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
|
||||
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* RiscBSD kernel project
|
||||
*
|
||||
* autoconf.c
|
||||
*
|
||||
* Autoconfiguration functions
|
||||
*
|
||||
* Created : 08/10/94
|
||||
*/
|
||||
|
||||
#include "opt_md.h"
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/reboot.h>
|
||||
#include <sys/disklabel.h>
|
||||
#include <sys/device.h>
|
||||
#include <sys/conf.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/malloc.h>
|
||||
#include <machine/bootconfig.h>
|
||||
#include <machine/irqhandler.h>
|
||||
|
||||
|
||||
#include "podulebus.h"
|
||||
|
||||
struct device *booted_device;
|
||||
int booted_partition;
|
||||
|
||||
extern dev_t dumpdev;
|
||||
|
||||
void dumpconf __P((void));
|
||||
void isa_intr_init __P((void));
|
||||
|
||||
#ifndef MEMORY_DISK_IS_ROOT
|
||||
static void get_device __P((char *name));
|
||||
static void set_root_device __P((void));
|
||||
#endif
|
||||
|
||||
#ifndef MEMORY_DISK_IS_ROOT
|
||||
/* Decode a device name to a major and minor number */
|
||||
|
||||
static void
|
||||
get_device(name)
|
||||
char *name;
|
||||
{
|
||||
int loop, unit, part;
|
||||
char buf[32], *cp;
|
||||
struct device *dv;
|
||||
|
||||
if (strncmp(name, "/dev/", 5) == 0)
|
||||
name += 5;
|
||||
|
||||
for (loop = 0; dev_name2blk[loop].d_name != NULL; ++loop) {
|
||||
if (strncmp(name, dev_name2blk[loop].d_name,
|
||||
strlen(dev_name2blk[loop].d_name)) == 0) {
|
||||
name += strlen(dev_name2blk[loop].d_name);
|
||||
unit = part = 0;
|
||||
|
||||
cp = name;
|
||||
while (*cp >= '0' && *cp <= '9')
|
||||
unit = (unit * 10) + (*cp++ - '0');
|
||||
if (cp == name)
|
||||
return;
|
||||
|
||||
if (*cp >= 'a' && *cp <= ('a' + MAXPARTITIONS))
|
||||
part = *cp - 'a';
|
||||
else if (*cp != '\0' && *cp != ' ')
|
||||
return;
|
||||
sprintf(buf, "%s%d", dev_name2blk[loop].d_name, unit);
|
||||
for (dv = alldevs.tqh_first; dv != NULL;
|
||||
dv = dv->dv_list.tqe_next) {
|
||||
if (strcmp(buf, dv->dv_xname) == 0) {
|
||||
booted_device = dv;
|
||||
booted_partition = part;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* Set the rootdev variable from the root specifier in the boot args */
|
||||
|
||||
static void
|
||||
set_root_device()
|
||||
{
|
||||
char *ptr;
|
||||
|
||||
if (boot_file)
|
||||
get_device(boot_file);
|
||||
if (boot_args &&
|
||||
get_bootconf_option(boot_args, "root", BOOTOPT_TYPE_STRING, &ptr))
|
||||
get_device(ptr);
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Set up the root device from the boot args
|
||||
*/
|
||||
void
|
||||
cpu_rootconf()
|
||||
{
|
||||
#ifndef MEMORY_DISK_IS_ROOT
|
||||
set_root_device();
|
||||
|
||||
printf("boot device: %s\n",
|
||||
booted_device != NULL ? booted_device->dv_xname : "<unknown>");
|
||||
#endif
|
||||
setroot(booted_device, booted_partition);
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* void cpu_configure()
|
||||
*
|
||||
* Configure all the root devices
|
||||
* The root devices are expected to configure their own children
|
||||
*/
|
||||
|
||||
void
|
||||
cpu_configure()
|
||||
{
|
||||
/*
|
||||
* Configure all the roots.
|
||||
* We have to have a mainbus
|
||||
*/
|
||||
|
||||
/*
|
||||
* Since the ICU is not standard on the ARM we don't know
|
||||
* if we have one until we find a bridge.
|
||||
* Since various PCI interrupts could be routed via the ICU
|
||||
* (for PCI devices in the bridge) we need to set up the ICU
|
||||
* now so that these interrupts can be established correctly
|
||||
* i.e. This is a hack.
|
||||
*/
|
||||
|
||||
config_rootfound("mainbus", NULL);
|
||||
#if NPODULEBUS > 0
|
||||
config_rootfound("podulebus", NULL);
|
||||
#endif /* NPODULEBUS */
|
||||
|
||||
/* Debugging information */
|
||||
#ifndef TERSE
|
||||
printf("ipl_bio=%08x ipl_net=%08x ipl_tty=%08x ipl_imp=%08x\n",
|
||||
irqmasks[IPL_BIO], irqmasks[IPL_NET], irqmasks[IPL_TTY],
|
||||
irqmasks[IPL_IMP]);
|
||||
printf("ipl_audio=%08x ipl_imp=%08x ipl_high=%08x ipl_serial=%08x\n",
|
||||
irqmasks[IPL_AUDIO], irqmasks[IPL_CLOCK], irqmasks[IPL_HIGH],
|
||||
irqmasks[IPL_SERIAL]);
|
||||
#endif
|
||||
|
||||
/* Time to start taking interrupts so lets open the flood gates .... */
|
||||
(void)spl0();
|
||||
}
|
||||
|
||||
void
|
||||
device_register(struct device *dev, void *aux)
|
||||
{
|
||||
}
|
||||
/* End of autoconf.c */
|
460
sys/arch/acorn32/acorn32/conf.c
Normal file
460
sys/arch/acorn32/acorn32/conf.c
Normal file
@ -0,0 +1,460 @@
|
||||
/* $NetBSD: conf.c,v 1.1 2001/10/05 22:27:46 reinoud Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1994-1998 Mark Brinicombe.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. All advertising materials mentioning features or use of this software
|
||||
* must display the following acknowledgement:
|
||||
* This product includes software developed by Mark Brinicombe
|
||||
* for the NetBSD Project.
|
||||
* 4. The name of the company nor the name of the author may be used to
|
||||
* endorse or promote products derived from this software without specific
|
||||
* prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
|
||||
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
* IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
|
||||
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* RiscBSD kernel project
|
||||
*
|
||||
* conf.c
|
||||
*
|
||||
* Character and Block Device configuration
|
||||
* Console configuration
|
||||
*
|
||||
* Defines the structures cdevsw and constab
|
||||
*
|
||||
* Created : 17/09/94
|
||||
*/
|
||||
|
||||
#include "opt_footbridge.h"
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/buf.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/tty.h>
|
||||
#include <sys/conf.h>
|
||||
#include <sys/vnode.h>
|
||||
|
||||
#include <machine/conf.h>
|
||||
|
||||
#include "wd.h"
|
||||
#include "fdc.h"
|
||||
#include "md.h"
|
||||
#include "sd.h"
|
||||
#include "st.h"
|
||||
#include "cd.h"
|
||||
#include "vnd.h"
|
||||
#include "ccd.h"
|
||||
#include "raid.h"
|
||||
|
||||
/* Block devices */
|
||||
|
||||
struct bdevsw bdevsw[] = {
|
||||
bdev_lkm_dummy(), /* 0: */
|
||||
bdev_swap_init(1, sw), /* 1: swap pseudo-device */
|
||||
bdev_lkm_dummy(), /* 2: */
|
||||
bdev_lkm_dummy(), /* 3: */
|
||||
bdev_lkm_dummy(), /* 4: */
|
||||
bdev_lkm_dummy(), /* 5: */
|
||||
bdev_lkm_dummy(), /* 6: */
|
||||
bdev_lkm_dummy(), /* 7: */
|
||||
bdev_lkm_dummy(), /* 8: */
|
||||
bdev_lkm_dummy(), /* 9: */
|
||||
bdev_lkm_dummy(), /* 10: */
|
||||
bdev_lkm_dummy(), /* 11: */
|
||||
bdev_lkm_dummy(), /* 12: */
|
||||
bdev_lkm_dummy(), /* 13: */
|
||||
bdev_lkm_dummy(), /* 14: */
|
||||
bdev_lkm_dummy(), /* 15: */
|
||||
bdev_disk_init(NWD, wd), /* 16: Internal IDE disk */
|
||||
bdev_disk_init(NFDC, fd), /* 17: floppy diskette */
|
||||
bdev_disk_init(NMD, md), /* 18: memory disk */
|
||||
bdev_disk_init(NVND,vnd), /* 19: vnode disk driver */
|
||||
bdev_lkm_dummy(), /* 20: */
|
||||
bdev_disk_init(NCCD,ccd), /* 21: concatenated disk driver */
|
||||
bdev_lkm_dummy(), /* 22: */
|
||||
bdev_lkm_dummy(), /* 23: */
|
||||
bdev_disk_init(NSD,sd), /* 24: SCSI disk */
|
||||
bdev_tape_init(NST,st), /* 25: SCSI tape */
|
||||
bdev_disk_init(NCD,cd), /* 26: SCSI cdrom */
|
||||
bdev_lkm_dummy(), /* 27: */
|
||||
bdev_lkm_dummy(), /* 28: */
|
||||
bdev_lkm_dummy(), /* 29: */
|
||||
bdev_lkm_dummy(), /* 30: */
|
||||
bdev_lkm_dummy(), /* 31: */
|
||||
bdev_lkm_dummy(), /* 32: */
|
||||
bdev_lkm_dummy(), /* 33: */
|
||||
bdev_lkm_dummy(), /* 34: */
|
||||
bdev_lkm_dummy(), /* 35: */
|
||||
bdev_lkm_dummy(), /* 36: */
|
||||
bdev_lkm_dummy(), /* 37: */
|
||||
bdev_lkm_dummy(), /* 38: */
|
||||
bdev_lkm_dummy(), /* 39: */
|
||||
bdev_lkm_dummy(), /* 40: */
|
||||
bdev_lkm_dummy(), /* 41: */
|
||||
bdev_lkm_dummy(), /* 42: */
|
||||
bdev_lkm_dummy(), /* 43: */
|
||||
bdev_lkm_dummy(), /* 44: */
|
||||
bdev_lkm_dummy(), /* 45: */
|
||||
bdev_lkm_dummy(), /* 46: */
|
||||
bdev_lkm_dummy(), /* 47: */
|
||||
bdev_lkm_dummy(), /* 48: */
|
||||
bdev_lkm_dummy(), /* 49: */
|
||||
bdev_lkm_dummy(), /* 50: */
|
||||
bdev_lkm_dummy(), /* 51: */
|
||||
bdev_lkm_dummy(), /* 52: */
|
||||
bdev_lkm_dummy(), /* 53: */
|
||||
bdev_lkm_dummy(), /* 54: */
|
||||
bdev_lkm_dummy(), /* 55: */
|
||||
bdev_lkm_dummy(), /* 56: */
|
||||
bdev_lkm_dummy(), /* 57: */
|
||||
bdev_lkm_dummy(), /* 58: */
|
||||
bdev_lkm_dummy(), /* 59: */
|
||||
bdev_lkm_dummy(), /* 60: */
|
||||
bdev_lkm_dummy(), /* 61: */
|
||||
bdev_lkm_dummy(), /* 62: */
|
||||
bdev_lkm_dummy(), /* 63: */
|
||||
bdev_lkm_dummy(), /* 64: */
|
||||
bdev_lkm_dummy(), /* 65: */
|
||||
bdev_lkm_dummy(), /* 66: */
|
||||
bdev_lkm_dummy(), /* 67: */
|
||||
bdev_lkm_dummy(), /* 68: */
|
||||
bdev_lkm_dummy(), /* 69: */
|
||||
bdev_lkm_dummy(), /* 70: */
|
||||
bdev_disk_init(NRAID,raid), /* 71: RAIDframe disk driver */
|
||||
bdev_lkm_dummy(), /* 72: */
|
||||
};
|
||||
|
||||
int nblkdev = sizeof(bdevsw) / sizeof(bdevsw[0]);
|
||||
|
||||
#include "i4b.h"
|
||||
#include "i4bctl.h"
|
||||
#include "i4btrc.h"
|
||||
#include "i4brbch.h"
|
||||
#include "i4btel.h"
|
||||
cdev_decl(i4b);
|
||||
cdev_decl(i4bctl);
|
||||
cdev_decl(i4btrc);
|
||||
cdev_decl(i4brbch);
|
||||
cdev_decl(i4btel);
|
||||
|
||||
#include "vt.h"
|
||||
#include "vidcconsole.h"
|
||||
#include "pty.h"
|
||||
#define ptstty ptytty
|
||||
#define ptsioctl ptyioctl
|
||||
#define ptctty ptytty
|
||||
#define ptcioctl ptyioctl
|
||||
#include "com.h"
|
||||
#include "lpt.h"
|
||||
#include "bpfilter.h"
|
||||
#include "ch.h"
|
||||
#include "uk.h"
|
||||
#include "ss.h"
|
||||
#include "tun.h"
|
||||
#include "qms.h"
|
||||
#include "opms.h"
|
||||
#include "beep.h"
|
||||
#include "kbd.h"
|
||||
#include "audio.h"
|
||||
#include "midi.h"
|
||||
#include "sequencer.h"
|
||||
#include "iic.h"
|
||||
#include "rtc.h"
|
||||
#include "vidcconsole.h"
|
||||
#include "ipfilter.h"
|
||||
#include "rnd.h"
|
||||
|
||||
#include "vcoda.h" /* coda file system */
|
||||
#include "wsdisplay.h"
|
||||
#include "wskbd.h"
|
||||
#include "wsmouse.h"
|
||||
#include "wsmux.h"
|
||||
#include "scsibus.h"
|
||||
|
||||
/* Character devices */
|
||||
|
||||
struct cdevsw cdevsw[] = {
|
||||
cdev_mm_init(1, mm), /* 0: /dev/{null,mem,kmem,...} */
|
||||
cdev_swap_init(1, sw), /* 1: /dev/drum (swap pseudo-device) */
|
||||
cdev_cn_init(1, cn), /* 2: virtual console */
|
||||
cdev_ctty_init(1,ctty), /* 3: controlling terminal */
|
||||
#if NVIDCCONSOLE>0
|
||||
cdev_physcon_init(NVT, physcon),/* 4: RPC console */
|
||||
#else
|
||||
cdev_notdef(), /* 4: */
|
||||
#endif
|
||||
cdev_log_init(1,log), /* 5: /dev/klog */
|
||||
cdev_ptc_init(NPTY,ptc), /* 6: pseudo-tty master */
|
||||
cdev_tty_init(NPTY,pts), /* 7: pseudo-tty slave */
|
||||
cdev_lpt_init(NLPT,lpt), /* 8: parallel printer */
|
||||
cdev_mouse_init(NQMS,qms), /* 9: qms driver */
|
||||
cdev_beep_init(NBEEP,beep), /* 10: simple beep device */
|
||||
cdev_kbd_init(NKBD,kbd), /* 11: kbd device */
|
||||
cdev_tty_init(NCOM,com), /* 12: serial port */
|
||||
cdev_lkm_dummy(), /* 13: */
|
||||
cdev_lkm_dummy(), /* 14: */
|
||||
cdev_lkm_dummy(), /* 15: */
|
||||
cdev_disk_init(NWD, wd), /* 16: ST506/ESDI/IDE disk */
|
||||
cdev_disk_init(NFDC, fd), /* 17: floppy diskette */
|
||||
cdev_disk_init(NMD, md), /* 18: memory disk driver */
|
||||
cdev_disk_init(NVND,vnd), /* 19: vnode disk driver */
|
||||
cdev_lkm_dummy(), /* 20: */
|
||||
cdev_disk_init(NCCD,ccd), /* 21: concatenated disk driver */
|
||||
cdev_lkm_dummy(), /* 22: */
|
||||
cdev_lkm_dummy(), /* 23: */
|
||||
cdev_disk_init(NSD,sd), /* 24: SCSI disk */
|
||||
cdev_tape_init(NST,st), /* 25: SCSI tape */
|
||||
cdev_disk_init(NCD,cd), /* 26: SCSI CD-ROM */
|
||||
cdev_ch_init(NCH,ch), /* 27: SCSI autochanger */
|
||||
cdev_uk_init(NUK,uk), /* 28: SCSI unknown */
|
||||
cdev_scanner_init(NSS,ss), /* 29: SCSI scanner */
|
||||
cdev_lkm_dummy(), /* 30: */
|
||||
cdev_lkm_dummy(), /* 31: */
|
||||
cdev_bpftun_init(NBPFILTER,bpf),/* 32: Berkeley packet filter */
|
||||
cdev_bpftun_init(NTUN,tun), /* 33: network tunnel */
|
||||
cdev_fd_init(1,filedesc), /* 34: file descriptor pseudo-device */
|
||||
cdev_lkm_init(NLKM,lkm), /* 35: loadable module driver */
|
||||
cdev_audio_init(NAUDIO,audio), /* 36: generic audio I/O */
|
||||
cdev_vidcvid_init(NVIDCCONSOLE,vidcconsole), /* 37: vidcconsole device */
|
||||
cdev_lkm_dummy(), /* 38: removed cpu device */
|
||||
cdev_lkm_dummy(), /* 39: reserved */
|
||||
cdev_mouse_init(NOPMS,pms), /* 40: PS2 mouse driver */
|
||||
cdev_lkm_dummy(), /* 41: reserved */
|
||||
cdev_iic_init(NIIC, iic), /* 42: IIC bus driver */
|
||||
cdev_rtc_init(NRTC, rtc), /* 43: RTC driver */
|
||||
cdev_lkm_dummy(), /* 44: reserved */
|
||||
cdev_lkm_dummy(), /* 45: reserved */
|
||||
cdev_ipf_init(NIPFILTER,ipl), /* 46: ip-filter device */
|
||||
cdev_lkm_dummy(), /* 47: reserved */
|
||||
cdev_lkm_dummy(), /* 48: reserved */
|
||||
cdev_notdef(), /* 49: ofrom */
|
||||
cdev_notdef(), /* 50: Smart card reader */
|
||||
cdev_notdef(), /* 51: reserved */
|
||||
cdev_rnd_init(NRND,rnd), /* 52: random source pseudo-device */
|
||||
cdev_notdef(), /* 53: fiq Profiler; not for acorn32 */
|
||||
cdev_notdef(), /* 54: FOOTBRIDGE console */
|
||||
cdev_lkm_dummy(), /* 55: Reserved for bypass device */
|
||||
cdev_notdef(), /* 56: ISA joystick */
|
||||
cdev_midi_init(NMIDI,midi), /* 57: MIDI I/O */
|
||||
cdev_midi_init(NSEQUENCER,sequencer), /* 58: sequencer I/O */
|
||||
cdev_vc_nb_init(NVCODA,vc_nb_), /* 59: coda file system psdev */
|
||||
cdev_wsdisplay_init(NWSDISPLAY, wsdisplay), /* 60: frame buffers, etc. */
|
||||
cdev_mouse_init(NWSKBD, wskbd), /* 61: keyboards */
|
||||
cdev_mouse_init(NWSMOUSE, wsmouse), /* 62: mice */
|
||||
cdev_lkm_dummy(), /* 63: reserved */
|
||||
cdev_notdef(), /* 64: USB controller */
|
||||
cdev_notdef(), /* 65: USB generic HID */
|
||||
cdev_notdef(), /* 66: USB printer */
|
||||
cdev_lkm_dummy(), /* 67: reserved */
|
||||
cdev_lkm_dummy(), /* 68: reserved */
|
||||
cdev_lkm_dummy(), /* 69: reserved */
|
||||
cdev_scsibus_init(NSCSIBUS,scsibus), /* 70: SCSI bus */
|
||||
cdev_disk_init(NRAID,raid), /* 71: RAIDframe disk driver */
|
||||
cdev_notdef(), /* 72: USB generic driver */
|
||||
cdev_mouse_init(NWSMUX,wsmux), /* 73: ws multiplexor */
|
||||
cdev_notdef(), /* 74: USB tty */
|
||||
cdev_notdef(), /* 75: USB Diamond Rio 500 */
|
||||
cdev_notdef(), /* 76: USB scanner */
|
||||
cdev_notdef(), /* 77: */
|
||||
cdev_notdef(), /* 78: bicons pseudo-dev */
|
||||
cdev_i4b_init(NI4B, i4b), /* 79: i4b main device */
|
||||
cdev_i4bctl_init(NI4BCTL, i4bctl), /* 80: i4b control device */
|
||||
cdev_i4brbch_init(NI4BRBCH, i4brbch), /* 81: i4b raw b-channel access */
|
||||
cdev_i4btrc_init(NI4BTRC, i4btrc), /* 82: i4b trace device */
|
||||
cdev_i4btel_init(NI4BTEL, i4btel), /* 83: i4b phone device */
|
||||
};
|
||||
|
||||
int nchrdev = sizeof(cdevsw) / sizeof(cdevsw[0]);
|
||||
|
||||
int mem_no = 0; /* major device number of memory special file */
|
||||
|
||||
/*
|
||||
* Swapdev is a fake device implemented
|
||||
* in sw.c used only internally to get to swstrategy.
|
||||
* It cannot be provided to the users, because the
|
||||
* swstrategy routine munches the b_dev and b_blkno entries
|
||||
* before calling the appropriate driver. This would horribly
|
||||
* confuse, e.g. the hashing routines. Instead, /dev/drum is
|
||||
* provided as a character (raw) device.
|
||||
*/
|
||||
dev_t swapdev = makedev(1, 0);
|
||||
|
||||
/*
|
||||
* Returns true if dev is /dev/mem or /dev/kmem.
|
||||
*/
|
||||
int
|
||||
iskmemdev(dev)
|
||||
dev_t dev;
|
||||
{
|
||||
return (major(dev) == mem_no && minor(dev) < 2);
|
||||
}
|
||||
|
||||
/*
|
||||
* Returns true if dev is /dev/zero.
|
||||
*/
|
||||
int
|
||||
iszerodev(dev)
|
||||
dev_t dev;
|
||||
{
|
||||
return (major(dev) == mem_no && minor(dev) == 3);
|
||||
}
|
||||
|
||||
|
||||
static int chrtoblktbl[] = {
|
||||
/* XXXX This needs to be dynamic for LKMs. */
|
||||
/*VCHR*/ /*VBLK*/
|
||||
/* 0 */ NODEV,
|
||||
/* 1 */ 1,
|
||||
/* 2 */ NODEV,
|
||||
/* 3 */ NODEV,
|
||||
/* 4 */ NODEV,
|
||||
/* 5 */ NODEV,
|
||||
/* 6 */ NODEV,
|
||||
/* 7 */ NODEV,
|
||||
/* 8 */ NODEV,
|
||||
/* 9 */ NODEV,
|
||||
/* 10 */ NODEV,
|
||||
/* 11 */ NODEV,
|
||||
/* 12 */ NODEV,
|
||||
/* 13 */ NODEV,
|
||||
/* 14 */ NODEV,
|
||||
/* 15 */ NODEV,
|
||||
/* 16 */ 16,
|
||||
/* 17 */ 17,
|
||||
/* 18 */ 18,
|
||||
/* 19 */ 19,
|
||||
/* 20 */ NODEV,
|
||||
/* 21 */ 21,
|
||||
/* 22 */ NODEV,
|
||||
/* 23 */ NODEV,
|
||||
/* 24 */ 24,
|
||||
/* 25 */ 25,
|
||||
/* 26 */ 26,
|
||||
/* 27 */ NODEV,
|
||||
/* 28 */ NODEV,
|
||||
/* 29 */ NODEV,
|
||||
/* 30 */ NODEV,
|
||||
/* 31 */ NODEV,
|
||||
/* 32 */ NODEV,
|
||||
/* 33 */ NODEV,
|
||||
/* 34 */ NODEV,
|
||||
/* 35 */ NODEV,
|
||||
/* 36 */ NODEV,
|
||||
/* 37 */ NODEV,
|
||||
/* 38 */ NODEV,
|
||||
/* 39 */ NODEV,
|
||||
/* 40 */ NODEV,
|
||||
/* 41 */ NODEV,
|
||||
/* 42 */ NODEV,
|
||||
/* 43 */ NODEV,
|
||||
/* 44 */ NODEV,
|
||||
/* 45 */ NODEV,
|
||||
/* 46 */ NODEV,
|
||||
/* 47 */ NODEV,
|
||||
/* 48 */ NODEV,
|
||||
/* 49 */ NODEV,
|
||||
/* 50 */ NODEV,
|
||||
/* 51 */ NODEV,
|
||||
/* 52 */ NODEV,
|
||||
/* 53 */ NODEV,
|
||||
/* 54 */ NODEV,
|
||||
/* 55 */ NODEV,
|
||||
/* 56 */ NODEV,
|
||||
/* 57 */ NODEV,
|
||||
/* 58 */ NODEV,
|
||||
/* 59 */ NODEV,
|
||||
/* 60 */ NODEV,
|
||||
/* 61 */ NODEV,
|
||||
/* 62 */ NODEV,
|
||||
/* 63 */ NODEV,
|
||||
/* 64 */ NODEV,
|
||||
/* 65 */ NODEV,
|
||||
/* 66 */ NODEV,
|
||||
/* 67 */ NODEV,
|
||||
/* 68 */ NODEV,
|
||||
/* 69 */ NODEV,
|
||||
/* 70 */ NODEV,
|
||||
/* 71 */ 71,
|
||||
/* 72 */ NODEV,
|
||||
/* 73 */ NODEV,
|
||||
/* 74 */ NODEV,
|
||||
/* 75 */ NODEV,
|
||||
/* 76 */ NODEV,
|
||||
/* 77 */ NODEV,
|
||||
/* 78 */ NODEV,
|
||||
/* 79 */ NODEV,
|
||||
/* 80 */ NODEV,
|
||||
/* 81 */ NODEV,
|
||||
/* 82 */ NODEV,
|
||||
/* 83 */ NODEV,
|
||||
};
|
||||
|
||||
/*
|
||||
* Convert a character device number to a block device number.
|
||||
*/
|
||||
|
||||
dev_t
|
||||
chrtoblk(dev)
|
||||
dev_t dev;
|
||||
{
|
||||
int blkmaj;
|
||||
|
||||
if (major(dev) >= nchrdev)
|
||||
return (NODEV);
|
||||
|
||||
blkmaj = chrtoblktbl[major(dev)];
|
||||
if (blkmaj == NODEV)
|
||||
return (NODEV);
|
||||
return (makedev(blkmaj, minor(dev)));
|
||||
}
|
||||
|
||||
/*
|
||||
* This entire table could be autoconfig()ed but that would mean that
|
||||
* the kernel's idea of the console would be out of sync with that of
|
||||
* the standalone boot. I think it best that they both use the same
|
||||
* known algorithm unless we see a pressing need otherwise.
|
||||
*/
|
||||
|
||||
#include <dev/cons.h>
|
||||
|
||||
cons_decl(rpcconsole);
|
||||
cons_decl(com);
|
||||
cons_decl(ofcons_);
|
||||
cons_decl(pc);
|
||||
|
||||
struct consdev constab[] = {
|
||||
#if (NCOM > 0)
|
||||
cons_init(com),
|
||||
#endif
|
||||
#if (NVT + NRPC > 0)
|
||||
cons_init(rpcconsole),
|
||||
#elif (NPC > 0)
|
||||
cons_init(pc),
|
||||
#elif (NOFCONS > 0) /* XXX should work together */
|
||||
cons_init(ofcons_),
|
||||
#endif
|
||||
{ 0 },
|
||||
};
|
||||
|
||||
|
||||
/* End of conf.c */
|
509
sys/arch/acorn32/acorn32/rpc_kbd_map.c
Normal file
509
sys/arch/acorn32/acorn32/rpc_kbd_map.c
Normal file
@ -0,0 +1,509 @@
|
||||
/* $NetBSD: rpc_kbd_map.c,v 1.1 2001/10/05 22:27:46 reinoud Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1994-1997 Mark Brinicombe.
|
||||
* Copyright (c) 1994 Brini.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This code is derived from software written for Brini by Mark Brinicombe
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. All advertising materials mentioning features or use of this software
|
||||
* must display the following acknowledgement:
|
||||
* This product includes software developed by Mark Brinicombe.
|
||||
* 4. The name of the company nor the name of the author may be used to
|
||||
* endorse or promote products derived from this software without specific
|
||||
* prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
* IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
|
||||
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* RiscBSD kernel project
|
||||
*
|
||||
* kbd.c
|
||||
*
|
||||
* Keyboard driver functions
|
||||
*
|
||||
* Created : 09/10/94
|
||||
*/
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/proc.h>
|
||||
#include <sys/device.h>
|
||||
#include <sys/tty.h>
|
||||
#include <sys/select.h>
|
||||
|
||||
#include <machine/bus.h>
|
||||
#include <arm/iomd/kbdvar.h>
|
||||
|
||||
/* Define mappings for each possible code */
|
||||
|
||||
key_struct keys[256] = {
|
||||
/* 0x00 - 0x0f */
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x80 },
|
||||
{ 0x89, 0x99, 0x00, 0x489, 0x00 },
|
||||
{ 0x8a, 0x9a, 0x00, 0x00, 0x00 },
|
||||
{ 0x85, 0x95, 0x00, 0x485, 0x00 },
|
||||
{ 0x83, 0x93, 0x00, 0x483, 0x00 },
|
||||
{ 0x81, 0x91, 0x00, 0x481, 0x00 },
|
||||
{ 0x82, 0x92, 0x00, 0x482, 0x00 },
|
||||
{ 0x8c, 0x9c, 0x00, 0x48c, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x88, 0x98, 0x00, 0x488, 0x00 },
|
||||
{ 0x86, 0x96, 0x00, 0x486, 0x00 },
|
||||
{ 0x84, 0x94, 0x00, 0x484, 0x00 },
|
||||
{ 0x09, 0x09, 0x09, 0x09, 0x00 },
|
||||
#ifdef RC7500
|
||||
{ 0x60, 0x7e, 0x00, 0x00, 0x00 },
|
||||
#else
|
||||
{ 0x60, 0x00, 0x00, 0x00, 0x00 },
|
||||
#endif
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
|
||||
/* 0x10 - 0x1f */
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x84 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x82 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x81 },
|
||||
{ 0x71, 0x51, 0x11, 0x00, 0x40 },
|
||||
{ 0x31, 0x21, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x7a, 0x5a, 0x1a, 0x00, 0x40 },
|
||||
{ 0x73, 0x53, 0x13, 0x00, 0x40 },
|
||||
{ 0x61, 0x41, 0x01, 0x00, 0x40 },
|
||||
{ 0x77, 0x57, 0x17, 0x00, 0x40 },
|
||||
{ 0x32, 0x22, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
|
||||
/* 0x20 - 0x2f */
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x63, 0x43, 0x03, 0x00, 0x40 },
|
||||
{ 0x78, 0x58, 0x18, 0x00, 0x40 },
|
||||
{ 0x64, 0x44, 0x04, 0x00, 0x40 },
|
||||
{ 0x65, 0x45, 0x05, 0x00, 0x40 },
|
||||
{ 0x34, 0x24, 0x00, 0x00, 0x00 },
|
||||
{ 0x33, 0x23, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x20, 0x20, 0x20, 0x20, 0x00 },
|
||||
{ 0x76, 0x56, 0x16, 0x00, 0x40 },
|
||||
{ 0x66, 0x46, 0x06, 0x00, 0x40 },
|
||||
{ 0x74, 0x54, 0x14, 0x00, 0x40 },
|
||||
{ 0x72, 0x52, 0x12, 0x00, 0x40 },
|
||||
{ 0x35, 0x25, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
|
||||
/* 0x30 - 0x3f */
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x6e, 0x4e, 0x0e, 0x00, 0x40 },
|
||||
{ 0x62, 0x42, 0x02, 0x00, 0x40 },
|
||||
{ 0x68, 0x48, 0x08, 0x00, 0x40 },
|
||||
{ 0x67, 0x47, 0x07, 0x00, 0x40 },
|
||||
{ 0x79, 0x59, 0x19, 0x00, 0x40 },
|
||||
{ 0x36, 0x5e, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x6d, 0x4d, 0x0d, 0x00, 0x40 },
|
||||
{ 0x6a, 0x4a, 0x0a, 0x00, 0x40 },
|
||||
{ 0x75, 0x55, 0x15, 0x00, 0x40 },
|
||||
{ 0x37, 0x26, 0x00, 0x00, 0x00 },
|
||||
{ 0x38, 0x2a, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
|
||||
/* 0x40 - 0x4f */
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x2c, 0x3c, 0x00, 0x00, 0x00 },
|
||||
{ 0x6b, 0x4b, 0x0b, 0x00, 0x40 },
|
||||
{ 0x69, 0x49, 0x09, 0x00, 0x40 },
|
||||
{ 0x6f, 0x4f, 0x0f, 0x00, 0x40 },
|
||||
{ 0x30, 0x29, 0x00, 0x00, 0x00 },
|
||||
{ 0x39, 0x28, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x2e, 0x3e, 0x00, 0x00, 0x00 },
|
||||
{ 0x2f, 0x3f, 0x00, 0x00, 0x00 },
|
||||
{ 0x6c, 0x4c, 0x0c, 0x00, 0x40 },
|
||||
{ 0x3b, 0x3a, 0x00, 0x00, 0x00 },
|
||||
{ 0x70, 0x50, 0x10, 0x00, 0x40 },
|
||||
{ 0x2d, 0x5f, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
|
||||
/* 0x50 - 0x5f */
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
#ifdef RC7500
|
||||
{ 0x27, 0x22, 0x00, 0x00, 0x00 },
|
||||
#else
|
||||
{ 0x27, 0x40, 0x00, 0x00, 0x00 },
|
||||
#endif
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x5b, 0x7b, 0x00, 0x00, 0x00 },
|
||||
{ 0x3d, 0x2b, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0xa0 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x82 },
|
||||
{ 0x0d, 0x0d, 0x0d, 0x00, 0x00 },
|
||||
{ 0x5d, 0x7d, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
#ifdef RC7500
|
||||
{ 0x5c, 0x7c, 0x00, 0x00, 0x00 },
|
||||
#else
|
||||
{ 0x23, 0x7e, 0x00, 0x00, 0x00 },
|
||||
#endif
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
|
||||
/* 0x60 - 0x6f */
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x5c, 0x7c, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x08, 0x7f, 0x08, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x31, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x34, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x37, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
|
||||
/* 0x70 - 0x7f */
|
||||
{ 0x30, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x2e, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x32, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x35, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x36, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x38, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x1b, 0x1b, 0x21b, 0x1b, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x90 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x2b, 0x00, 0x00, 0x22b, 0x00 },
|
||||
{ 0x33, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x2d, 0x00, 0x00, 0x22d, 0x00 },
|
||||
{ 0x2a, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x39, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x88 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
|
||||
/* 0x80 - 0x8f */
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x87, 0x97, 0x00, 0x487, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
|
||||
/* 0x90 - 0x9f */
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
|
||||
/* 0xa0 - 0xaf */
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
|
||||
/* 0xb0 - 0xbf */
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
|
||||
/* 0xc0 - 0xcf */
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
|
||||
/* 0xd0 - 0xdf */
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
|
||||
/* 0xe0 - 0xef */
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
|
||||
/* 0xf0 - 0xff */
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 }
|
||||
};
|
||||
|
||||
/* Define mappings for each possible code */
|
||||
|
||||
key_struct E0keys[128] = {
|
||||
|
||||
/* 0x00 - 0x0f */
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
|
||||
/* 0x10 - 0x1f */
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x84 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x81 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
|
||||
/* 0x20 - 0x2f */
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
|
||||
/* 0x30 - 0x3f */
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
|
||||
/* 0x40 - 0x4f */
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x2f, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
|
||||
/* 0x50 - 0x5f */
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x0d, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
|
||||
/* 0x60 - 0x6f */
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x10b, 0x00, 0x00, 0x20b, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x102, 0x00, 0x00, 0x202, 0x00 },
|
||||
{ 0x10a, 0x00, 0x00, 0x20a, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
|
||||
/* 0x70 - 0x7f */
|
||||
{ 0x108, 0x00, 0x00, 0x208, 0x00 },
|
||||
{ 0x109, 0x00, 0x00, 0x209, 0x00 },
|
||||
{ 0x101, 0x105, 0x00, 0x201, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x103, 0x00, 0x00, 0x203, 0x00 },
|
||||
{ 0x100, 0x104, 0x00, 0x200, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x104, 0x100, 0x00, 0x204, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x105, 0x101, 0x00, 0x205, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x00, 0x00, 0x00 },
|
||||
};
|
||||
/* End of kbd_map.c */
|
1874
sys/arch/acorn32/acorn32/rpc_machdep.c
Normal file
1874
sys/arch/acorn32/acorn32/rpc_machdep.c
Normal file
File diff suppressed because it is too large
Load Diff
275
sys/arch/acorn32/conf/A7000
Normal file
275
sys/arch/acorn32/conf/A7000
Normal file
@ -0,0 +1,275 @@
|
||||
# $NetBSD: A7000,v 1.1 2001/10/05 22:27:46 reinoud Exp $
|
||||
#
|
||||
# A7000 - Full A7000 configuration
|
||||
#
|
||||
|
||||
include "arch/acorn32/conf/std.acorn32"
|
||||
|
||||
# estimated number of users
|
||||
|
||||
maxusers 32
|
||||
|
||||
# Standard system options
|
||||
|
||||
options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
|
||||
#options NTP # NTP phase/frequency locked loop
|
||||
|
||||
# CPU options
|
||||
#options CPU_SA110 # Support the SA110 core
|
||||
#options CPU_ARM6 # Support the ARM6 core
|
||||
options CPU_ARM7 # Support the ARM7 core
|
||||
#options CPU_ARM8 # Support the ARM8 core
|
||||
#options ARM6_LATE_ABORT # ARM6XX late abort support
|
||||
|
||||
# Architecture options
|
||||
options RISCPC # We are a RiscPC
|
||||
#options RC7500 # We are a RC7500
|
||||
|
||||
# FPA options
|
||||
|
||||
#options ARMFPE # ARM Ltd FPE
|
||||
|
||||
# File systems
|
||||
|
||||
file-system FFS # UFS
|
||||
#file-system LFS # log-structured file system
|
||||
file-system MFS # memory file system
|
||||
file-system NFS # Network file system
|
||||
file-system ADOSFS # AmigaDOS-compatible file system
|
||||
file-system EXT2FS # second extended file system (linux)
|
||||
file-system CD9660 # ISO 9660 + Rock Ridge file system
|
||||
file-system MSDOSFS # MS-DOS file system
|
||||
file-system FDESC # /dev/fd
|
||||
file-system FILECORE # Acorn filecore file system
|
||||
file-system KERNFS # /kern
|
||||
file-system NULLFS # loopback file system
|
||||
file-system PORTAL # portal filesystem (still experimental)
|
||||
file-system PROCFS # /proc
|
||||
file-system UMAPFS # NULLFS + uid and gid remapping
|
||||
file-system UNION # union file system
|
||||
|
||||
# File system options
|
||||
options QUOTA # UFS quotas
|
||||
options NFSSERVER
|
||||
|
||||
# Networking options
|
||||
|
||||
options GATEWAY # packet forwarding
|
||||
options INET # IP + ICMP + TCP + UDP
|
||||
options INET6 # IPV6
|
||||
#options IPSEC # IP security
|
||||
#options IPSEC_ESP # IP security (encryption part; define w/ IPSEC)
|
||||
#options IPSEC_DEBUG # debug for IP security
|
||||
#options MROUTING # IP multicast routing
|
||||
#options NS # XNS
|
||||
#options NSIP # XNS tunneling over IP
|
||||
#options ISO,TPIP # OSI
|
||||
#options EON # OSI tunneling over IP
|
||||
#options CCITT,LLC,HDLC # X.25
|
||||
options NETATALK # AppleTalk networking
|
||||
#options PFIL_HOOKS # pfil(9) packet filter hooks
|
||||
#options PPP_BSDCOMP # BSD-Compress compression support for PPP
|
||||
#options PPP_DEFLATE # Deflate compression support for PPP
|
||||
#options PPP_FILTER # Active filter support for PPP (requires bpf)
|
||||
#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
|
||||
|
||||
# Compatibility options
|
||||
|
||||
#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
|
||||
options COMPAT_43 # 4.3BSD compatibility.
|
||||
options COMPAT_14 # NetBSD 1.4 compatibility.
|
||||
options COMPAT_13 # NetBSD 1.3 compatibility.
|
||||
options COMPAT_12 # NetBSD 1.2 compatibility.
|
||||
#options COMPAT_11 # NetBSD 1.1 compatibility.
|
||||
#options COMPAT_10 # NetBSD 1.0 compatibility.
|
||||
#options COMPAT_09 # NetBSD 0.9 compatibility.
|
||||
|
||||
# Bootloader options
|
||||
options COMPAT_OLD_BOOTLOADER
|
||||
|
||||
# Shared memory options
|
||||
|
||||
options SYSVMSG # System V-like message queues
|
||||
options SYSVSEM # System V-like semaphores
|
||||
options SYSVSHM # System V-like memory sharing
|
||||
options SHMMAXPGS=1024 # 1024 pages is the default
|
||||
|
||||
# Device options
|
||||
|
||||
options MEMORY_DISK_HOOKS # boottime setup of ramdisk
|
||||
#options MEMORY_DISK_SIZE=0 # Size in blocks
|
||||
#options MINIROOTSIZE=3400 # Size in blocks
|
||||
#options MEMORY_DISK_IS_ROOT # use memory disk as root
|
||||
|
||||
# Miscellaneous kernel options
|
||||
options KTRACE # system call tracing, a la ktrace(1)
|
||||
options IRQSTATS # manage IRQ statistics
|
||||
options LKM # loadable kernel modules
|
||||
options KMEMSTATS # kernel memory statistics
|
||||
|
||||
# Development and Debugging options
|
||||
|
||||
#options ARM700BUGTRACK # track the ARM700 swi bug
|
||||
#options PORTMASTER # Enable PortMaster only options
|
||||
options DIAGNOSTIC # internally consistency checks
|
||||
#options PMAP_DEBUG # Enable pmap_debug_level code
|
||||
#options IPKDB # remote kernel debugging
|
||||
options DDB # in-kernel debugger
|
||||
#options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
|
||||
#makeoptions DEBUG="-g" # compile full symbol table
|
||||
|
||||
config netbsd root on ? type ?
|
||||
|
||||
# serial console ... the conaddr is hardcoded as the pioc address + 4*com offset
|
||||
# this really be fixed some day
|
||||
#options COMCONSOLE,CONADDR="0x210000+4*0x3f8",CONUNIT=0,CONSPEED=9600
|
||||
|
||||
# The main bus device
|
||||
mainbus0 at root
|
||||
|
||||
# The boot cpu
|
||||
cpu0 at mainbus?
|
||||
|
||||
# The IOMD
|
||||
iomd0 at mainbus?
|
||||
|
||||
# system clock via IOMD
|
||||
clock* at iomd?
|
||||
|
||||
# kbd via IOMD
|
||||
kbd* at iomd?
|
||||
|
||||
# quadrature mouse via IOMD
|
||||
#qms* at iomd?
|
||||
|
||||
# PS2 mouse via IOMD
|
||||
opms* at iomd?
|
||||
|
||||
# IIC bus device
|
||||
iic* at iomd?
|
||||
|
||||
# RTC device via IIC bus
|
||||
rtc* at iic? addr 0xa0
|
||||
|
||||
# time-of-day device via rtc device
|
||||
todclock0 at rtc?
|
||||
|
||||
# VIDC device
|
||||
vidc0 at mainbus?
|
||||
|
||||
# The vidc
|
||||
vidcconsole0 at vidc?
|
||||
|
||||
# generic VT console device
|
||||
vt0 at vidc?
|
||||
vt1 at vidc?
|
||||
vt2 at vidc?
|
||||
vt3 at vidc?
|
||||
vt4 at vidc?
|
||||
vt5 at vidc?
|
||||
|
||||
# Peripheral IO Controller
|
||||
pioc0 at mainbus? base 0x00210000
|
||||
|
||||
# IDE disk controller
|
||||
wdc0 at pioc? offset 0x01f0 irq 9
|
||||
#wdc* at pioc? offset 0x0170 irq -1
|
||||
wd* at wdc? channel ? drive ?
|
||||
atapibus* at wdc? channel ?
|
||||
cd* at atapibus? drive ?
|
||||
sd* at atapibus? drive ?
|
||||
|
||||
# Floppy disk controller
|
||||
fdc* at pioc? offset 0x03f0 irq 12 dack 0x2000
|
||||
fdc* at pioc? offset 0x0370 irq -1 dack 0x2000
|
||||
fd0 at fdc? drive ?
|
||||
|
||||
# Serial ports
|
||||
com* at pioc? offset 0x03f8 irq 10
|
||||
#com* at pioc? offset 0x02f8 irq -1
|
||||
#com* at pioc? offset 0x0338 irq -1
|
||||
#com* at pioc? offset 0x0238 irq -1
|
||||
|
||||
# Parallel ports
|
||||
lpt* at pioc? offset 0x0278 irq 0
|
||||
#lpt* at pioc? offset 0x0378 irq -1
|
||||
#lpt* at pioc? offset 0x03bc irq -1
|
||||
|
||||
# Crude sound device
|
||||
beep0 at vidc?
|
||||
|
||||
# Audio device
|
||||
vidcaudio0 at vidc?
|
||||
audio* at vidcaudio0
|
||||
|
||||
# System beep
|
||||
sysbeep0 at vidc?
|
||||
|
||||
# Podule bus device
|
||||
podulebus0 at root
|
||||
|
||||
asc* at podulebus? # Acorn SCSI card
|
||||
scsibus* at asc?
|
||||
|
||||
cosc* at podulebus? # MCS Connect32 SCSI II card
|
||||
scsibus* at cosc?
|
||||
|
||||
ptsc* at podulebus? # Power-Tec SCSI II card
|
||||
scsibus* at ptsc?
|
||||
|
||||
csc* at podulebus? # Cumana SCSI II card
|
||||
scsibus* at csc?
|
||||
|
||||
oak* at podulebus? # Oak SCSI I card
|
||||
scsibus* at oak?
|
||||
|
||||
csa* at podulebus? # Cumana SCSI I adpater
|
||||
scsibus* at csa?
|
||||
|
||||
hcsc* at podulebus0 slot ? # HCCS 8-bit SCSI interface
|
||||
scsibus* at hcsc?
|
||||
|
||||
sd* at scsibus? target ? lun ? # SCSI disk drives
|
||||
st* at scsibus? target ? lun ? # SCSI tape drives
|
||||
cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
|
||||
ch* at scsibus? target ? lun ? # SCSI auto-changers
|
||||
uk* at scsibus? target ? lun ? # SCSI unknown device
|
||||
ss* at scsibus? target ? lun ? # SCSI scanner
|
||||
|
||||
icside* at podulebus? # ICS IDE card
|
||||
wd* at icside? channel ? drive ?
|
||||
atapibus* at icside? channel ?
|
||||
|
||||
rapide* at podulebus? # Yellowstone RapIDE card
|
||||
wd* at rapide? channel ? drive ?
|
||||
atapibus* at rapide? channel ?
|
||||
|
||||
simide* at podulebus? # Simtec IDE card
|
||||
wd* at simide? channel ? drive ?
|
||||
atapibus* at simide? channel ?
|
||||
|
||||
amps* at podulebus? # Atomwide Multi-Port Serial card
|
||||
com* at amps?
|
||||
|
||||
ie* at podulebus? # Ether1 podules
|
||||
ea* at podulebus? # Ether3 podules
|
||||
eb0 at podulebus? # EtherB network slot cards
|
||||
ne* at podulebus? # NE2000 clone cards
|
||||
|
||||
pseudo-device loop 1 # network loopback
|
||||
pseudo-device bpfilter 8 # packet filter
|
||||
pseudo-device sl 2 # CSLIP
|
||||
pseudo-device ppp 2 # PPP
|
||||
pseudo-device tun 2 # network tunneling over tty
|
||||
#pseudo-device ipfilter 1 # ip filter
|
||||
#pseudo-device strip 4 # STRIP
|
||||
pseudo-device pty # pseudo-terminals
|
||||
pseudo-device tb 1 # tablet line discipline
|
||||
pseudo-device vnd 4 # disk-like interface to files
|
||||
pseudo-device ccd 2 # concatenated disk devices
|
||||
pseudo-device md 1 # Ramdisk driver
|
||||
pseudo-device rnd # /dev/random and /dev/urandom
|
||||
|
||||
makeoptions MONITOR="Taxan875+LR"
|
||||
#makeoptions MONITOR="AKF60"
|
||||
makeoptions MODES="1024,768,60 1024,768,70 800,600,60 640,480,60 1280,1024 1152,900"
|
268
sys/arch/acorn32/conf/A7INST
Normal file
268
sys/arch/acorn32/conf/A7INST
Normal file
@ -0,0 +1,268 @@
|
||||
# $NetBSD: A7INST,v 1.1 2001/10/05 22:27:46 reinoud Exp $
|
||||
#
|
||||
# A7INST - A7000 install configuration
|
||||
#
|
||||
|
||||
include "arch/acorn32/conf/std.acorn32"
|
||||
|
||||
# estimated number of users
|
||||
|
||||
maxusers 32
|
||||
|
||||
# Standard system options
|
||||
|
||||
options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
|
||||
#options NTP # NTP phase/frequency locked loop
|
||||
|
||||
# CPU options
|
||||
#options CPU_SA110 # Support the SA110 core
|
||||
#options CPU_ARM6 # Support the ARM6 core
|
||||
options CPU_ARM7 # Support the ARM7 core
|
||||
#options CPU_ARM8 # Support the ARM8 core
|
||||
#options ARM6_LATE_ABORT # ARM6XX late abort support
|
||||
|
||||
# Architecture options
|
||||
options RISCPC # We are a RiscPC
|
||||
#options RC7500 # We are a RC7500
|
||||
|
||||
# FPA options
|
||||
|
||||
#options ARMFPE # ARM Ltd FPE
|
||||
|
||||
# File systems
|
||||
|
||||
file-system FFS # UFS
|
||||
#file-system LFS # log-structured file system
|
||||
#file-system MFS # memory file system
|
||||
file-system NFS # Network file system
|
||||
#file-system ADOSFS # AmigaDOS-compatible file system
|
||||
#file-system EXT2FS # second extended file system (linux)
|
||||
file-system CD9660 # ISO 9660 + Rock Ridge file system
|
||||
file-system MSDOSFS # MS-DOS file system
|
||||
#file-system FDESC # /dev/fd
|
||||
file-system FILECORE # Acorn filecore file system
|
||||
file-system KERNFS # /kern
|
||||
#file-system NULLFS # loopback file system
|
||||
#file-system PORTAL # portal filesystem (still experimental)
|
||||
#file-system PROCFS # /proc
|
||||
#file-system UMAPFS # NULLFS + uid and gid remapping
|
||||
#file-system UNION # union file system
|
||||
|
||||
# File system options
|
||||
#options QUOTA # UFS quotas
|
||||
#options NFSSERVER
|
||||
|
||||
# Networking options
|
||||
|
||||
#options GATEWAY # packet forwarding
|
||||
options INET # IP + ICMP + TCP + UDP
|
||||
#options MROUTING # IP multicast routing
|
||||
#options NS # XNS
|
||||
#options NSIP # XNS tunneling over IP
|
||||
#options ISO,TPIP # OSI
|
||||
#options EON # OSI tunneling over IP
|
||||
#options CCITT,LLC,HDLC # X.25
|
||||
#options NETATALK # AppleTalk networking
|
||||
#options PFIL_HOOKS # pfil(9) packet filter hooks
|
||||
#options PPP_BSDCOMP # BSD-Compress compression support for PPP
|
||||
#options PPP_DEFLATE # Deflate compression support for PPP
|
||||
#options PPP_FILTER # Active filter support for PPP (requires bpf)
|
||||
#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
|
||||
|
||||
# Compatibility options
|
||||
|
||||
#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
|
||||
#options COMPAT_43 # 4.3BSD compatibility.
|
||||
options COMPAT_14 # NetBSD 1.4 compatibility.
|
||||
options COMPAT_13 # NetBSD 1.3 compatibility.
|
||||
options COMPAT_12 # NetBSD 1.2 compatibility.
|
||||
#options COMPAT_11 # NetBSD 1.1 compatibility.
|
||||
#options COMPAT_10 # NetBSD 1.0 compatibility.
|
||||
#options COMPAT_09 # NetBSD 0.9 compatibility.
|
||||
|
||||
# Bootloader options
|
||||
options COMPAT_OLD_BOOTLOADER
|
||||
|
||||
# Shared memory options
|
||||
|
||||
#options SYSVMSG # System V-like message queues
|
||||
#options SYSVSEM # System V-like semaphores
|
||||
#options SYSVSHM # System V-like memory sharing
|
||||
#options SHMMAXPGS=1024 # 1024 pages is the default
|
||||
|
||||
# Device options
|
||||
|
||||
options MEMORY_DISK_HOOKS # boottime setup of ramdisk
|
||||
#options MEMORY_DISK_SIZE=0 # Size in blocks
|
||||
options MINIROOTSIZE=3800 # Size in blocks
|
||||
options MEMORY_DISK_IS_ROOT # use memory disk as root
|
||||
|
||||
# Miscellaneous kernel options
|
||||
#options KTRACE # system call tracing, a la ktrace(1)
|
||||
#options IRQSTATS # manage IRQ statistics
|
||||
#options LKM # loadable kernel modules
|
||||
options KMEMSTATS # kernel memory statistics
|
||||
|
||||
# Development and Debugging options
|
||||
|
||||
#options ARM700BUGTRACK # track the ARM700 swi bug
|
||||
#options PORTMASTER # Enable PortMaster only options
|
||||
options DIAGNOSTIC # internally consistency checks
|
||||
#options PMAP_DEBUG # Enable pmap_debug_level code
|
||||
#options IPKDB # remote kernel debugging
|
||||
options DDB # in-kernel debugger
|
||||
#options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
|
||||
#makeoptions DEBUG="-g" # compile full symbol table
|
||||
|
||||
config netbsd root on ? type ffs
|
||||
|
||||
# serial console ... the conaddr is hardcoded as the pioc address + 4*com offset
|
||||
# this really be fixed some day
|
||||
#options COMCONSOLE,CONADDR="0x210000+4*0x3f8",CONUNIT=0,CONSPEED=9600
|
||||
|
||||
# The main bus device
|
||||
mainbus0 at root
|
||||
|
||||
# The boot cpu
|
||||
cpu0 at mainbus?
|
||||
|
||||
# The IOMD
|
||||
iomd0 at mainbus?
|
||||
|
||||
# system clock via IOMD
|
||||
clock* at iomd?
|
||||
|
||||
# kbd via IOMD
|
||||
kbd* at iomd?
|
||||
|
||||
# quadrature mouse via IOMD
|
||||
#qms* at iomd?
|
||||
|
||||
# PS2 mouse via IOMD
|
||||
opms* at iomd?
|
||||
|
||||
# IIC bus device
|
||||
iic* at iomd?
|
||||
|
||||
# RTC device via IIC bus
|
||||
rtc* at iic? addr 0xa0
|
||||
|
||||
# time-of-day device via rtc device
|
||||
todclock0 at rtc?
|
||||
|
||||
# VIDC device
|
||||
vidc0 at mainbus?
|
||||
|
||||
# The vidc
|
||||
vidcconsole0 at vidc?
|
||||
|
||||
# generic VT console device
|
||||
vt0 at vidc?
|
||||
vt1 at vidc?
|
||||
vt2 at vidc?
|
||||
vt3 at vidc?
|
||||
vt4 at vidc?
|
||||
vt5 at vidc?
|
||||
|
||||
# Peripheral IO Controller
|
||||
pioc0 at mainbus? base 0x00210000
|
||||
|
||||
# IDE disk controller
|
||||
wdc0 at pioc? offset 0x01f0 irq 9
|
||||
#wdc* at pioc? offset 0x0170 irq -1
|
||||
wd* at wdc? channel ? drive ?
|
||||
atapibus* at wdc? channel ?
|
||||
cd* at atapibus? drive ?
|
||||
sd* at atapibus? drive ?
|
||||
|
||||
# Floppy disk controller
|
||||
fdc* at pioc? offset 0x03f0 irq 12 dack 0x2000
|
||||
fdc* at pioc? offset 0x0370 irq -1 dack 0x2000
|
||||
fd0 at fdc? drive ?
|
||||
|
||||
# Serial ports
|
||||
com* at pioc? offset 0x03f8 irq 10
|
||||
#com* at pioc? offset 0x02f8 irq -1
|
||||
#com* at pioc? offset 0x0338 irq -1
|
||||
#com* at pioc? offset 0x0238 irq -1
|
||||
|
||||
# Parallel ports
|
||||
lpt* at pioc? offset 0x0278 irq 0
|
||||
#lpt* at pioc? offset 0x0378 irq -1
|
||||
#lpt* at pioc? offset 0x03bc irq -1
|
||||
|
||||
# Crude sound device
|
||||
beep0 at vidc?
|
||||
|
||||
# Audio device
|
||||
#vidcaudio0 at vidc?
|
||||
#audio* at vidcaudio0
|
||||
|
||||
# System beep
|
||||
sysbeep0 at vidc?
|
||||
|
||||
# Podule bus device
|
||||
podulebus0 at root
|
||||
|
||||
asc* at podulebus? # Acorn SCSI card
|
||||
scsibus* at asc?
|
||||
|
||||
cosc* at podulebus? # MCS Connect32 SCSI II card
|
||||
scsibus* at cosc?
|
||||
|
||||
ptsc* at podulebus? # Power-Tec SCSI II card
|
||||
scsibus* at ptsc?
|
||||
|
||||
csc* at podulebus? # Cumana SCSI II card
|
||||
scsibus* at csc?
|
||||
|
||||
oak* at podulebus? # Oak SCSI I card
|
||||
scsibus* at oak?
|
||||
|
||||
csa* at podulebus? # Cumana SCSI I adpater
|
||||
scsibus* at csa?
|
||||
|
||||
hcsc* at podulebus0 slot ? # HCCS 8-bit SCSI interface
|
||||
scsibus* at hcsc?
|
||||
|
||||
sd* at scsibus? target ? lun ? # SCSI disk drives
|
||||
st* at scsibus? target ? lun ? # SCSI tape drives
|
||||
cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
|
||||
#ch* at scsibus? target ? lun ? # SCSI auto-changers
|
||||
#uk* at scsibus? target ? lun ? # SCSI unknown device
|
||||
#ss* at scsibus? target ? lun ? # SCSI scanner
|
||||
|
||||
icside* at podulebus? # ICS IDE card
|
||||
wd* at icside? channel ? drive ?
|
||||
atapibus* at icside? channel ?
|
||||
|
||||
rapide* at podulebus? # Yellowstone RapIDE card
|
||||
wd* at rapide? channel ? drive ?
|
||||
atapibus* at rapide? channel ?
|
||||
|
||||
simide* at podulebus? # Simtec IDE card
|
||||
wd* at simide? channel ? drive ?
|
||||
atapibus* at simide? channel ?
|
||||
|
||||
ie* at podulebus? # Ether1 podules
|
||||
ea* at podulebus? # Ether3 podules
|
||||
eb0 at podulebus? # EtherB network slot cards
|
||||
ne* at podulebus? # NE2000 clone cards
|
||||
|
||||
pseudo-device loop 1 # network loopback
|
||||
#pseudo-device bpfilter 8 # packet filter
|
||||
#pseudo-device sl 2 # CSLIP
|
||||
#pseudo-device ppp 2 # PPP
|
||||
#pseudo-device tun 2 # network tunneling over tty
|
||||
#pseudo-device ipfilter 1 # ip filter
|
||||
#pseudo-device strip 4 # STRIP
|
||||
pseudo-device pty # pseudo-terminals
|
||||
#pseudo-device tb 1 # tablet line discipline
|
||||
pseudo-device vnd 4 # disk-like interface to files
|
||||
pseudo-device ccd 2 # concatenated disk devices
|
||||
pseudo-device md 1 # Ramdisk driver
|
||||
#pseudo-device rnd # /dev/random and /dev/urandom
|
||||
|
||||
makeoptions MONITOR="Taxan875+LR"
|
||||
#makeoptions MONITOR="AKF60"
|
||||
makeoptions MODES="1024,768,60 1024,768,70 800,600,60 640,480,60 1280,1024 1152,900"
|
300
sys/arch/acorn32/conf/GENERIC
Normal file
300
sys/arch/acorn32/conf/GENERIC
Normal file
@ -0,0 +1,300 @@
|
||||
# $NetBSD: GENERIC,v 1.1 2001/10/05 22:27:46 reinoud Exp $
|
||||
#
|
||||
# GENERIC -- everything that's currently supported
|
||||
#
|
||||
|
||||
include "arch/acorn32/conf/std.acorn32"
|
||||
|
||||
#ident "GENERIC-$Revision: 1.1 $"
|
||||
|
||||
# estimated number of users
|
||||
maxusers 32
|
||||
|
||||
# Standard system options
|
||||
|
||||
options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
|
||||
#options NTP # NTP phase/frequency locked loop
|
||||
|
||||
# CPU options
|
||||
options CPU_SA110 # Support the SA110 core
|
||||
options CPU_ARM6 # Support the ARM6 core
|
||||
options CPU_ARM7 # Support the ARM7 core
|
||||
options CPU_ARM8 # Support the ARM8 core
|
||||
#options ARM6_LATE_ABORT # ARM6XX late abort support
|
||||
|
||||
# Architecture options
|
||||
options RISCPC # We are a RiscPC
|
||||
#options RC7500 # We are a RC7500
|
||||
|
||||
# FPA options
|
||||
|
||||
#options ARMFPE # ARM Ltd FPE
|
||||
|
||||
# File systems
|
||||
|
||||
file-system FFS # UFS
|
||||
#file-system LFS # log-structured file system
|
||||
file-system MFS # memory file system
|
||||
file-system NFS # Network file system
|
||||
file-system ADOSFS # AmigaDOS-compatible file system
|
||||
file-system EXT2FS # second extended file system (linux)
|
||||
file-system CD9660 # ISO 9660 + Rock Ridge file system
|
||||
file-system MSDOSFS # MS-DOS file system
|
||||
file-system FDESC # /dev/fd
|
||||
file-system FILECORE # Acorn filecore file system
|
||||
file-system KERNFS # /kern
|
||||
file-system NULLFS # loopback file system
|
||||
file-system OVERLAY # overlay filesystem
|
||||
file-system PORTAL # portal filesystem (still experimental)
|
||||
file-system PROCFS # /proc
|
||||
file-system UMAPFS # NULLFS + uid and gid remapping
|
||||
file-system UNION # union file system
|
||||
|
||||
# File system options
|
||||
options QUOTA # UFS quotas
|
||||
#options FFS_EI # FFS Endian Independant support
|
||||
options SOFTDEP # FFS soft updates support.
|
||||
options NFSSERVER
|
||||
|
||||
# Networking options
|
||||
|
||||
options GATEWAY # packet forwarding
|
||||
options INET # IP + ICMP + TCP + UDP
|
||||
options INET6 # IPV6
|
||||
#options IPSEC # IP security
|
||||
#options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
|
||||
#options IPSEC_DEBUG # debug for IP security
|
||||
#options MROUTING # IP multicast routing
|
||||
options NS # XNS
|
||||
#options NSIP # XNS tunneling over IP
|
||||
options ISO,TPIP # OSI
|
||||
#options EON # OSI tunneling over IP
|
||||
options CCITT,LLC,HDLC # X.25
|
||||
options NETATALK # AppleTalk networking
|
||||
options PFIL_HOOKS # pfil(9) packet filter hooks
|
||||
options PPP_BSDCOMP # BSD-Compress compression support for PPP
|
||||
options PPP_DEFLATE # Deflate compression support for PPP
|
||||
options PPP_FILTER # Active filter support for PPP (requires bpf)
|
||||
#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
|
||||
|
||||
# Compatibility options
|
||||
|
||||
#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
|
||||
options COMPAT_43 # 4.3BSD compatibility.
|
||||
options COMPAT_14 # NetBSD 1.4 compatibility.
|
||||
options COMPAT_13 # NetBSD 1.3 compatibility.
|
||||
options COMPAT_12 # NetBSD 1.2 compatibility.
|
||||
#options COMPAT_11 # NetBSD 1.1 compatibility.
|
||||
#options COMPAT_10 # NetBSD 1.0 compatibility.
|
||||
#options COMPAT_09 # NetBSD 0.9 compatibility.
|
||||
|
||||
# Bootloader options
|
||||
options COMPAT_OLD_BOOTLOADER
|
||||
|
||||
# Shared memory options
|
||||
|
||||
options SYSVMSG # System V-like message queues
|
||||
options SYSVSEM # System V-like semaphores
|
||||
#options SEMMNI=10 # number of semaphore identifiers
|
||||
#options SEMMNS=60 # number of semaphores in system
|
||||
#options SEMUME=10 # max number of undo entries per process
|
||||
#options SEMMNU=30 # number of undo structures in system
|
||||
options SYSVSHM # System V-like memory sharing
|
||||
options SHMMAXPGS=1024 # 1024 pages is the default
|
||||
|
||||
# Device options
|
||||
|
||||
options MEMORY_DISK_HOOKS # boottime setup of ramdisk
|
||||
#options MEMORY_DISK_SIZE=0 # Size in blocks
|
||||
#options MINIROOTSIZE=3400 # Size in blocks
|
||||
#options MEMORY_DISK_IS_ROOT # use memory disk as root
|
||||
|
||||
# Miscellaneous kernel options
|
||||
options KTRACE # system call tracing, a la ktrace(1)
|
||||
options IRQSTATS # manage IRQ statistics
|
||||
options LKM # loadable kernel modules
|
||||
options KMEMSTATS # kernel memory statistics
|
||||
#options SCSIVERBOSE # Verbose SCSI errors
|
||||
|
||||
# Development and Debugging options
|
||||
|
||||
#options ARM700BUGTRACK # track the ARM700 swi bug
|
||||
#options PORTMASTER # Enable PortMaster only options
|
||||
options DIAGNOSTIC # internal consistency checks
|
||||
#options PMAP_DEBUG # Enable pmap_debug_level code
|
||||
#options IPKDB # remote kernel debugging
|
||||
options DDB # in-kernel debugger
|
||||
#options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
|
||||
#makeoptions DEBUG="-g" # compile full symbol table
|
||||
|
||||
config netbsd root on ? type ?
|
||||
|
||||
# serial console ... the conaddr is hardcoded as the pioc address + 4*com offset
|
||||
# this really be fixed some day
|
||||
#options COMCONSOLE,CONADDR="0x210000+4*0x3f8",CONUNIT=0,CONSPEED=9600
|
||||
|
||||
# The main bus device
|
||||
mainbus0 at root
|
||||
|
||||
# The boot cpu
|
||||
cpu0 at mainbus?
|
||||
|
||||
# The IOMD
|
||||
iomd0 at mainbus?
|
||||
|
||||
# system clock via IOMD
|
||||
clock* at iomd?
|
||||
|
||||
# kbd via IOMD
|
||||
kbd* at iomd?
|
||||
|
||||
# quadrature mouse via IOMD
|
||||
qms* at iomd?
|
||||
|
||||
# PS2 mouse via IOMD
|
||||
opms* at iomd?
|
||||
|
||||
# IIC bus device
|
||||
iic* at iomd?
|
||||
|
||||
# RTC device via IIC bus
|
||||
rtc* at iic? addr 0xa0
|
||||
|
||||
# time-of-day device via rtc device
|
||||
todclock0 at rtc?
|
||||
|
||||
# VIDC device
|
||||
vidc0 at mainbus?
|
||||
|
||||
# The vidc
|
||||
vidcconsole0 at vidc?
|
||||
|
||||
# generic VT console device
|
||||
vt0 at vidc?
|
||||
vt1 at vidc?
|
||||
vt2 at vidc?
|
||||
vt3 at vidc?
|
||||
vt4 at vidc?
|
||||
vt5 at vidc?
|
||||
|
||||
# Peripheral IO Controller
|
||||
pioc0 at mainbus? base 0x00210000
|
||||
|
||||
# IDE disk controller
|
||||
wdc0 at pioc? offset 0x01f0 irq 9
|
||||
#wdc* at pioc? offset 0x0170 irq -1
|
||||
wd* at wdc? channel ? drive ?
|
||||
atapibus* at wdc? channel ?
|
||||
cd* at atapibus? drive ?
|
||||
sd* at atapibus? drive ?
|
||||
|
||||
# Floppy disk controller
|
||||
fdc* at pioc? offset 0x03f0 irq 12 dack 0x2000
|
||||
fdc* at pioc? offset 0x0370 irq -1 dack 0x2000
|
||||
fd0 at fdc? drive ?
|
||||
|
||||
# Serial ports
|
||||
com* at pioc? offset 0x03f8 irq 10
|
||||
#com* at pioc? offset 0x02f8 irq -1
|
||||
#com* at pioc? offset 0x0338 irq -1
|
||||
#com* at pioc? offset 0x0238 irq -1
|
||||
|
||||
# Parallel ports
|
||||
lpt* at pioc? offset 0x0278 irq 0
|
||||
#lpt* at pioc? offset 0x0378 irq -1
|
||||
#lpt* at pioc? offset 0x03bc irq -1
|
||||
|
||||
# Crude sound device
|
||||
beep0 at vidc?
|
||||
|
||||
# Audio device
|
||||
vidcaudio0 at vidc?
|
||||
audio* at vidcaudio0
|
||||
|
||||
# System beep
|
||||
sysbeep0 at vidc?
|
||||
|
||||
# Podule bus device
|
||||
podulebus0 at root
|
||||
|
||||
asc* at podulebus? # Acorn SCSI card
|
||||
scsibus* at asc?
|
||||
|
||||
cosc* at podulebus? # MCS Connect32 SCSI II card
|
||||
scsibus* at cosc?
|
||||
|
||||
ptsc* at podulebus? # Power-Tec SCSI II card
|
||||
scsibus* at ptsc?
|
||||
|
||||
csc* at podulebus? # Cumana SCSI II card
|
||||
scsibus* at csc?
|
||||
|
||||
oak* at podulebus? # Oak SCSI I card
|
||||
scsibus* at oak?
|
||||
|
||||
csa* at podulebus? # Cumana SCSI I adpater
|
||||
scsibus* at csa?
|
||||
|
||||
hcsc* at podulebus0 slot ? # HCCS 8-bit SCSI interface
|
||||
scsibus* at hcsc?
|
||||
|
||||
sd* at scsibus? target ? lun ? # SCSI disk drives
|
||||
st* at scsibus? target ? lun ? # SCSI tape drives
|
||||
cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
|
||||
ch* at scsibus? target ? lun ? # SCSI auto-changers
|
||||
uk* at scsibus? target ? lun ? # SCSI unknown device
|
||||
ss* at scsibus? target ? lun ? # SCSI scanner
|
||||
|
||||
dtide* at podulebus? # D.T. Software IDE card
|
||||
wd* at dtide? channel ? drive ?
|
||||
atapibus* at dtide? channel ?
|
||||
|
||||
hcide* at podulebus? # HCCS IDE card
|
||||
wd* at hcide? channel ? drive ?
|
||||
atapibus* at hcide? channel ?
|
||||
|
||||
icside* at podulebus? # ICS IDE card
|
||||
wd* at icside? channel ? drive ?
|
||||
atapibus* at icside? channel ?
|
||||
|
||||
rapide* at podulebus? # Yellowstone RapIDE card
|
||||
wd* at rapide? channel ? drive ?
|
||||
atapibus* at rapide? channel ?
|
||||
|
||||
simide* at podulebus? # Simtec IDE card
|
||||
wd* at simide? channel ? drive ?
|
||||
atapibus* at simide? channel ?
|
||||
|
||||
amps* at podulebus? # Atomwide Multi-Port Serial card
|
||||
com* at amps?
|
||||
|
||||
ie* at podulebus? # Ether1 podules
|
||||
ea* at podulebus? # Ether3 podules
|
||||
eb0 at podulebus? # EtherB network slot cards
|
||||
ne* at podulebus? # NE2000 clone cards
|
||||
|
||||
pseudo-device loop 1 # network loopback
|
||||
pseudo-device bpfilter 8 # packet filter
|
||||
pseudo-device sl 2 # CSLIP
|
||||
pseudo-device ppp 2 # PPP
|
||||
pseudo-device tun 2 # network tunneling over tty
|
||||
#pseudo-device gre 2 # generic L3 over IP tunnel
|
||||
#pseudo-device ipfilter 1 # ip filter
|
||||
pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933)
|
||||
#pseudo-device faith 1 # IPv[46] tcp relay translation i/f
|
||||
#pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation
|
||||
#pseudo-device strip 4 # STarmode Radio IP (Metricon Ricochet)
|
||||
pseudo-device vlan # IEEE 802.1q encapsulation
|
||||
#pseudo-device bridge # simple inter-network bridging
|
||||
pseudo-device pty # pseudo-terminals
|
||||
pseudo-device tb 1 # tablet line discipline
|
||||
pseudo-device vnd 4 # disk-like interface to files
|
||||
pseudo-device ccd 2 # concatenated disk devices
|
||||
#pseudo-device raid 4 # RAIDframe disk driver
|
||||
#options RAID_AUTOCONFIG # auto-configuration of RAID components
|
||||
pseudo-device md 1 # Ramdisk driver
|
||||
pseudo-device rnd # /dev/random and in-kernel generator
|
||||
|
||||
makeoptions MONITOR="Taxan875+LR"
|
||||
#makeoptions MONITOR="AKF60"
|
||||
makeoptions MODES="1024,768,60 1024,768,70 800,600,60 640,480,60 1280,1024 1152,900"
|
232
sys/arch/acorn32/conf/Makefile.acorn32
Normal file
232
sys/arch/acorn32/conf/Makefile.acorn32
Normal file
@ -0,0 +1,232 @@
|
||||
# $NetBSD: Makefile.acorn32,v 1.1 2001/10/05 22:27:47 reinoud Exp $
|
||||
|
||||
# Makefile for NetBSD
|
||||
#
|
||||
# This makefile is constructed from a machine description:
|
||||
# config machineid
|
||||
# Most changes should be made in the machine description
|
||||
# /sys/arch/acorn32/conf/``machineid''
|
||||
# after which you should do
|
||||
# config machineid
|
||||
# Machine generic makefile changes should be made in
|
||||
# /sys/arch/acorn32/conf/Makefile.acorn32
|
||||
# after which config should be rerun for all machines of that type.
|
||||
|
||||
# DEBUG is set to -g if debugging.
|
||||
# PROF is set to -pg if profiling.
|
||||
|
||||
AR?= ar
|
||||
AS?= as
|
||||
CC?= cc
|
||||
CPP?= cpp
|
||||
LD?= ld
|
||||
LORDER?=lorder
|
||||
MKDEP?= mkdep
|
||||
NM?= nm
|
||||
RANLIB?=ranlib
|
||||
SIZE?= size
|
||||
STRIP?= strip
|
||||
TSORT?= tsort -q
|
||||
|
||||
COPTS?= -O2
|
||||
|
||||
# source tree is located via $S relative to the compilation directory
|
||||
.ifndef S
|
||||
S!= cd ../../../..; pwd
|
||||
.endif
|
||||
ACORN32= $S/arch/acorn32
|
||||
ARM= $S/arch/arm
|
||||
|
||||
HAVE_EGCS!= ${CC} --version | egrep "^(2\.[89]|egcs)" ; echo
|
||||
INCLUDES= -I. -I$S/arch -I$S -nostdinc
|
||||
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D_KERNEL_OPT -Darm32
|
||||
CWARNFLAGS?= -Werror -Wall -Wcomment -Wpointer-arith
|
||||
# XXX Delete -Wuninitialized for now, since the compiler doesn't
|
||||
# XXX always get it right. --thorpej
|
||||
CWARNFLAGS+= -Wno-uninitialized
|
||||
.if (${HAVE_EGCS} != "")
|
||||
CWARNFLAGS+= -Wno-main
|
||||
.endif
|
||||
CFLAGS= ${DEBUG} ${COPTS} ${CWARNFLAGS}
|
||||
AFLAGS= -x assembler-with-cpp -D_LOCORE
|
||||
|
||||
LOADADDRESS= 0xF0000000
|
||||
LINKFLAGS= -Ttext ${LOADADDRESS} -e start
|
||||
STRIPFLAGS= -g
|
||||
|
||||
%INCLUDES
|
||||
|
||||
HOSTED_CC= ${CC}
|
||||
HOSTED_CPPFLAGS=${CPPFLAGS:S/^-nostdinc$//}
|
||||
HOSTED_CFLAGS= ${CFLAGS}
|
||||
|
||||
### find out what to use for libkern
|
||||
KERN_AS= obj
|
||||
.include "$S/lib/libkern/Makefile.inc"
|
||||
.ifndef PROF
|
||||
LIBKERN= ${KERNLIB}
|
||||
.else
|
||||
LIBKERN= ${KERNLIB_PROF}
|
||||
.endif
|
||||
|
||||
### find out what to use for libcompat
|
||||
.include "$S/compat/common/Makefile.inc"
|
||||
.ifndef PROF
|
||||
LIBCOMPAT= ${COMPATLIB}
|
||||
.else
|
||||
LIBCOMPAT= ${COMPATLIB_PROF}
|
||||
.endif
|
||||
|
||||
# compile rules: rules are named ${TYPE}_${SUFFIX} where TYPE is NORMAL or
|
||||
# HOSTED}, and SUFFIX is the file suffix, capitalized (e.g. C for a .c file).
|
||||
|
||||
NORMAL_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c $<
|
||||
NOPROF_C= ${CC} ${CFLAGS} ${CPPFLAGS} -c $<
|
||||
NORMAL_S= ${CC} ${AFLAGS} ${CPPFLAGS} -c $<
|
||||
|
||||
HOSTED_C= ${HOSTED_CC} ${HOSTED_CFLAGS} ${HOSTED_CPPFLAGS} -c $<
|
||||
|
||||
%OBJS
|
||||
|
||||
%CFILES
|
||||
|
||||
%SFILES
|
||||
|
||||
# load lines for config "xxx" will be emitted as:
|
||||
# xxx: ${SYSTEM_DEP} swapxxx.o
|
||||
# ${SYSTEM_LD_HEAD}
|
||||
# ${SYSTEM_LD} swapxxx.o
|
||||
# ${SYSTEM_LD_TAIL}
|
||||
.ifdef MONITOR
|
||||
SYSTEM_OBJ= locore.o modedefs.o \
|
||||
param.o ioconf.o ${OBJS} ${LIBCOMPAT} ${LIBKERN}
|
||||
.else
|
||||
SYSTEM_OBJ= locore.o \
|
||||
param.o ioconf.o ${OBJS} ${LIBCOMPAT} ${LIBKERN}
|
||||
.endif
|
||||
SYSTEM_DEP= Makefile ${SYSTEM_OBJ}
|
||||
SYSTEM_LD_HEAD= rm -f $@
|
||||
SYSTEM_LD= @echo ${LD} ${LINKFLAGS} -o $@ '$${SYSTEM_OBJ}' vers.o; \
|
||||
${LD} ${LINKFLAGS} -o $@ ${SYSTEM_OBJ} vers.o
|
||||
SYSTEM_LD_TAIL= @${SIZE} $@; chmod 755 $@
|
||||
|
||||
DEBUG?=
|
||||
.if ${DEBUG} == "-g"
|
||||
LINKFLAGS+= -X
|
||||
SYSTEM_LD_TAIL+=; \
|
||||
echo mv -f $@ $@.gdb; mv -f $@ $@.gdb; \
|
||||
echo ${STRIP} ${STRIPFLAGS} -o $@ $@.gdb; \
|
||||
${STRIP} ${STRIPFLAGS} -o $@ $@.gdb
|
||||
.else
|
||||
#LINKFLAGS+= -S
|
||||
LINKFLAGS+= -x
|
||||
.endif
|
||||
|
||||
%LOAD
|
||||
|
||||
assym.h: $S/kern/genassym.sh ${ARM}/arm32/genassym.cf
|
||||
sh $S/kern/genassym.sh ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} \
|
||||
< ${ARM}/arm32/genassym.cf > assym.h.tmp && \
|
||||
mv -f assym.h.tmp assym.h
|
||||
|
||||
param.c: $S/conf/param.c
|
||||
rm -f param.c
|
||||
cp $S/conf/param.c .
|
||||
|
||||
param.o: param.c Makefile
|
||||
${NORMAL_C}
|
||||
|
||||
ioconf.o: ioconf.c
|
||||
${NORMAL_C}
|
||||
|
||||
newvers: ${SYSTEM_DEP} ${SYSTEM_SWAP_DEP}
|
||||
sh $S/conf/newvers.sh
|
||||
${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c vers.c
|
||||
|
||||
__CLEANKERNEL: .USE
|
||||
@echo "${.TARGET}ing the kernel objects"
|
||||
rm -f eddep *netbsd netbsd.gdb tags *.[io] [a-z]*.s \
|
||||
[Ee]rrs linterrs makelinks assym.h.tmp assym.h modedefs.c
|
||||
|
||||
__CLEANDEPEND: .USE
|
||||
rm -f .depend
|
||||
|
||||
clean: __CLEANKERNEL
|
||||
|
||||
cleandir distclean: __CLEANKERNEL __CLEANDEPEND
|
||||
|
||||
lint:
|
||||
@lint -hbxncez -Dvolatile= ${CPPFLAGS} -UKGDB \
|
||||
${ARM}/arm32/Locore.c ${CFILES} \
|
||||
ioconf.c param.c | \
|
||||
grep -v 'static function .* unused'
|
||||
|
||||
tags:
|
||||
@echo "see $S/kern/Makefile for tags"
|
||||
|
||||
links:
|
||||
egrep '#if' ${CFILES} | sed -f $S/conf/defines | \
|
||||
sed -e 's/:.*//' -e 's/\.c/.o/' | sort -u > dontlink
|
||||
echo ${CFILES} | tr -s ' ' '\12' | sed 's/\.c/.o/' | \
|
||||
sort -u | comm -23 - dontlink | \
|
||||
sed 's,../.*/\(.*.o\),rm -f \1; ln -s ../GENERIC/\1 \1,' > makelinks
|
||||
sh makelinks && rm -f dontlink
|
||||
|
||||
SRCS= ${ARM}/arm32/locore.S param.c ioconf.c ${CFILES} ${SFILES}
|
||||
.ifdef MONITOR
|
||||
SRCS+= modedefs.c
|
||||
.endif
|
||||
depend: .depend
|
||||
.depend: ${SRCS} assym.h param.c
|
||||
${MKDEP} ${AFLAGS} ${CPPFLAGS} ${ARM}/arm32/locore.S
|
||||
${MKDEP} -a ${CFLAGS} ${CPPFLAGS} param.c ioconf.c ${CFILES}
|
||||
test -z "${SFILES}" || ${MKDEP} -a ${AFLAGS} ${CPPFLAGS} ${SFILES}
|
||||
sh $S/kern/genassym.sh ${MKDEP} -f assym.dep ${CFLAGS} \
|
||||
${CPPFLAGS} < ${ARM}/arm32/genassym.cf
|
||||
@sed -e 's/.*\.o:.*\.c/assym.h:/' < assym.dep >> .depend
|
||||
@rm -f assym.dep
|
||||
.ifdef MONITOR
|
||||
${MKDEP} -a ${CFLAGS} ${CPPFLAGS} modedefs.c
|
||||
.endif
|
||||
|
||||
dependall: depend all
|
||||
|
||||
|
||||
# depend on root or device configuration
|
||||
autoconf.o conf.o: Makefile
|
||||
|
||||
# depend on network
|
||||
uipc_proto.o: Makefile
|
||||
|
||||
# depend on maxusers
|
||||
assym.h: Makefile
|
||||
|
||||
# depend on CPU configuration
|
||||
cpufunc.o cpufunc_asm.o: Makefile
|
||||
|
||||
# depend on DIAGNOSTIC etc.
|
||||
cpuswitch.o fault.o machdep.o: Makefile
|
||||
|
||||
|
||||
locore.o: ${ARM}/arm32/locore.S assym.h
|
||||
${NORMAL_S}
|
||||
|
||||
modedefs.c: ${ARM}/iomd/makemodes.awk ${ACORN32}/conf/monitors/${MONITOR} Makefile
|
||||
awk -f ${ARM}/iomd/makemodes.awk ${ACORN32}/conf/monitors/${MONITOR} ${MODES} >modedefs.c
|
||||
|
||||
modedefs.o: modedefs.c
|
||||
${NORMAL_C}
|
||||
|
||||
# The install target can be redefined by putting a
|
||||
# install-kernel-${MACHINE_NAME} target into /etc/mk.conf
|
||||
MACHINE_NAME!= uname -n
|
||||
install: install-kernel-${MACHINE_NAME}
|
||||
.if !target(install-kernel-${MACHINE_NAME}})
|
||||
install-kernel-${MACHINE_NAME}:
|
||||
rm -f /onetbsd
|
||||
ln /netbsd /onetbsd
|
||||
cp netbsd /nnetbsd
|
||||
mv /nnetbsd /netbsd
|
||||
.endif
|
||||
|
||||
%RULES
|
283
sys/arch/acorn32/conf/NC
Normal file
283
sys/arch/acorn32/conf/NC
Normal file
@ -0,0 +1,283 @@
|
||||
# $NetBSD: NC,v 1.1 2001/10/05 22:27:47 reinoud Exp $
|
||||
#
|
||||
# NC - with vidcconsole
|
||||
#
|
||||
|
||||
include "arch/acorn32/conf/std.acorn32"
|
||||
|
||||
# estimated number of users
|
||||
|
||||
maxusers 16
|
||||
|
||||
# Standard system options
|
||||
|
||||
options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
|
||||
#options NTP # NTP phase/frequency locked loop
|
||||
|
||||
# CPU options
|
||||
#options CPU_SA110 # Support the SA110 core
|
||||
#options CPU_ARM6 # Support the ARM6 core
|
||||
options CPU_ARM7 # Support the ARM7 core
|
||||
#options CPU_ARM8 # Support the ARM8 core
|
||||
#options ARM6_LATE_ABORT # ARM6XX late abort support
|
||||
|
||||
# Architecture options
|
||||
options RISCPC # We are a RiscPC
|
||||
#options RC7500 # We are a RC7500
|
||||
options NC
|
||||
|
||||
# FPA options
|
||||
|
||||
#options ARMFPE # ARM Ltd FPE
|
||||
|
||||
# File systems
|
||||
|
||||
#file-system FFS # UFS
|
||||
#file-system LFS # log-structured file system
|
||||
file-system MFS # memory file system
|
||||
file-system NFS # Network file system
|
||||
#file-system ADOSFS # AmigaDOS-compatible file system
|
||||
#file-system EXT2FS # second extended file system (linux)
|
||||
#file-system CD9660 # ISO 9660 + Rock Ridge file system
|
||||
#file-system MSDOSFS # MS-DOS file system
|
||||
#file-system FDESC # /dev/fd
|
||||
#file-system FILECORE # Acorn filecore file system
|
||||
file-system KERNFS # /kern
|
||||
#file-system NULLFS # loopback file system
|
||||
#file-system PORTAL # portal filesystem (still experimental)
|
||||
file-system PROCFS # /proc
|
||||
#file-system UMAPFS # NULLFS + uid and gid remapping
|
||||
#file-system UNION # union file system
|
||||
|
||||
# File system options
|
||||
#options QUOTA # UFS quotas
|
||||
#options NFSSERVER
|
||||
|
||||
# Networking options
|
||||
|
||||
#options GATEWAY # packet forwarding
|
||||
#options INET6 # IPV6
|
||||
#options IPSEC # IP security
|
||||
#options IPSEC_ESP # IP security (encryption part; define w/ IPSEC)
|
||||
#options IPSEC_DEBUG # debug for IP security
|
||||
options INET # IP + ICMP + TCP + UDP
|
||||
#options MROUTING # IP multicast routing
|
||||
#options NS # XNS
|
||||
#options NSIP # XNS tunneling over IP
|
||||
#options ISO,TPIP # OSI
|
||||
#options EON # OSI tunneling over IP
|
||||
#options CCITT,LLC,HDLC # X.25
|
||||
#options NETATALK # AppleTalk networking
|
||||
#options PFIL_HOOKS # pfil(9) packet filter hooks
|
||||
#options PPP_BSDCOMP # BSD-Compress compression support for PPP
|
||||
#options PPP_DEFLATE # Deflate compression support for PPP
|
||||
#options PPP_FILTER # Active filter support for PPP (requires bpf)
|
||||
#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
|
||||
|
||||
# Compatibility options
|
||||
|
||||
options COMPAT_43 # 4.3BSD compatibility.
|
||||
options COMPAT_14 # NetBSD 1.4 compatibility.
|
||||
#options COMPAT_13 # NetBSD 1.3 compatibility.
|
||||
#options COMPAT_12 # NetBSD 1.2 compatibility.
|
||||
#options COMPAT_11 # NetBSD 1.1 compatibility.
|
||||
#options COMPAT_10 # NetBSD 1.0 compatibility.
|
||||
#options COMPAT_09 # NetBSD 0.9 compatibility.
|
||||
#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
|
||||
|
||||
# Bootloader options
|
||||
#options COMPAT_OLD_BOOTLOADER
|
||||
|
||||
|
||||
# Shared memory options
|
||||
|
||||
options SYSVMSG # System V-like message queues
|
||||
options SYSVSEM # System V-like semaphores
|
||||
options SYSVSHM # System V-like memory sharing
|
||||
options SHMMAXPGS=1024 # 1024 pages is the default
|
||||
|
||||
# Device options
|
||||
|
||||
options MEMORY_DISK_HOOKS # boottime setup of ramdisk
|
||||
#options MEMORY_DISK_SIZE=0 # Size in blocks
|
||||
#options MINIROOTSIZE=3400 # Size in blocks
|
||||
#options MEMORY_DISK_IS_ROOT # use memory disk as root
|
||||
|
||||
# Miscellaneous kernel options
|
||||
options KTRACE # system call tracing, a la ktrace(1)
|
||||
options IRQSTATS # manage IRQ statistics
|
||||
#options LKM # loadable kernel modules
|
||||
options KMEMSTATS # kernel memory statistics
|
||||
|
||||
# Development and Debugging options
|
||||
|
||||
#options ARM700BUGTRACK # track the ARM700 swi bug
|
||||
#options PORTMASTER # Enable PortMaster only options
|
||||
options DIAGNOSTIC # internally consistency checks
|
||||
#options PMAP_DEBUG # Enable pmap_debug_level code
|
||||
#options IPKDB # remote kernel debugging
|
||||
#options DDB # in-kernel debugger
|
||||
#options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
|
||||
#makeoptions DEBUG="-g" # compile full symbol table
|
||||
|
||||
config netbsd root on ne0 type nfs
|
||||
options NFS_BOOT_DHCP
|
||||
#options NFS_BOOTPARAM
|
||||
|
||||
# serial console ... the conaddr is hardcoded as the pioc address + 4*com offset
|
||||
# this really be fixed some day
|
||||
#options COMCONSOLE,CONADDR="0x210000+4*0x3f8",CONUNIT=0,CONSPEED=9600
|
||||
|
||||
# The main bus device
|
||||
mainbus0 at root
|
||||
|
||||
# The boot cpu
|
||||
cpu0 at mainbus?
|
||||
|
||||
# The IOMD
|
||||
iomd0 at mainbus?
|
||||
|
||||
# system clock via IOMD
|
||||
clock* at iomd?
|
||||
|
||||
# kbd via IOMD
|
||||
kbd* at iomd?
|
||||
|
||||
# quadrature mouse via IOMD
|
||||
#qms* at iomd?
|
||||
|
||||
# PS2 mouse via IOMD
|
||||
opms* at iomd?
|
||||
|
||||
# IIC bus device
|
||||
iic* at iomd?
|
||||
|
||||
# RTC device via IIC bus
|
||||
rtc* at iic? addr 0xa0
|
||||
|
||||
# time-of-day device via rtc device
|
||||
todclock0 at rtc?
|
||||
|
||||
# VIDC device
|
||||
vidc0 at mainbus?
|
||||
|
||||
# The vidc
|
||||
vidcconsole0 at vidc?
|
||||
|
||||
# generic VT console device
|
||||
vt0 at vidc?
|
||||
vt1 at vidc?
|
||||
#vt2 at vidc?
|
||||
#vt3 at vidc?
|
||||
#vt4 at vidc?
|
||||
#vt5 at vidc?
|
||||
|
||||
# Peripheral IO Controller
|
||||
pioc0 at mainbus? base 0x00210000
|
||||
|
||||
# IDE disk controller
|
||||
#wdc0 at pioc? offset 0x01f0 irq 9
|
||||
#wdc* at pioc? offset 0x0170 irq -1
|
||||
#wd* at wdc? channel ? drive ?
|
||||
#atapibus* at wdc? channel ?
|
||||
#cd* at atapibus? drive ?
|
||||
#sd* at atapibus? drive ?
|
||||
|
||||
# Floppy disk controller
|
||||
#fdc* at pioc? offset 0x03f0 irq 12 dack 0x2000
|
||||
#fdc* at pioc? offset 0x0370 irq -1 dack 0x2000
|
||||
#fd0 at fdc? drive ?
|
||||
|
||||
# Serial ports
|
||||
#com* at pioc? offset 0x03f8 irq 10
|
||||
#com* at pioc? offset 0x02f8 irq -1
|
||||
#com* at pioc? offset 0x0338 irq -1
|
||||
#com* at pioc? offset 0x0238 irq -1
|
||||
|
||||
# Parallel ports
|
||||
lpt* at pioc? offset 0x0278 irq 0
|
||||
#lpt* at pioc? offset 0x0378 irq -1
|
||||
#lpt* at pioc? offset 0x03bc irq -1
|
||||
|
||||
# Crude sound device
|
||||
beep0 at vidc?
|
||||
|
||||
# Audio device
|
||||
vidcaudio0 at vidc?
|
||||
audio* at vidcaudio0
|
||||
|
||||
# System beep
|
||||
sysbeep0 at vidc?
|
||||
|
||||
# Podule bus device
|
||||
podulebus0 at root
|
||||
|
||||
#asc* at podulebus? # Acorn SCSI card
|
||||
#scsibus* at asc?
|
||||
|
||||
#cosc* at podulebus? # MCS Connect32 SCSI II card
|
||||
#scsibus* at cosc?
|
||||
|
||||
#ptsc* at podulebus? # Power-Tec SCSI II card
|
||||
#scsibus* at ptsc?
|
||||
|
||||
#csc* at podulebus? # Cumana SCSI II card
|
||||
#scsibus* at csc?
|
||||
|
||||
#oak* at podulebus? # Oak SCSI I card
|
||||
#scsibus* at oak?
|
||||
|
||||
#csa* at podulebus? # Cumana SCSI I adpater
|
||||
#scsibus* at csa?
|
||||
|
||||
#hcsc* at podulebus0 slot ? # HCCS 8-bit SCSI interface
|
||||
#scsibus* at hcsc?
|
||||
|
||||
#sd* at scsibus? target ? lun ? # SCSI disk drives
|
||||
#st* at scsibus? target ? lun ? # SCSI tape drives
|
||||
#cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
|
||||
#ch* at scsibus? target ? lun ? # SCSI auto-changers
|
||||
#uk* at scsibus? target ? lun ? # SCSI unknown device
|
||||
#ss* at scsibus? target ? lun ? # SCSI scanner
|
||||
|
||||
#icside* at podulebus? # ICS IDE card
|
||||
#wd* at icside? channel ? drive ?
|
||||
#atapibus* at icside? channel ?
|
||||
|
||||
#rapide* at podulebus? # Yellowstone RapIDE card
|
||||
#wd* at rapide? channel ? drive ?
|
||||
#atapibus* at rapide? channel ?
|
||||
|
||||
#simide* at podulebus? # Simtec IDE card
|
||||
#wd* at simide? channel ? drive ?
|
||||
#atapibus* at simide? channel ?
|
||||
|
||||
#amps* at podulebus? # Atomwide Multi-Port Serial card
|
||||
#com* at amps?
|
||||
|
||||
#ie* at podulebus? # Ether1 podules
|
||||
#ea* at podulebus? # Ether3 podules
|
||||
#eb0 at podulebus? # EtherB network slot cards
|
||||
ne* at podulebus? # NE2000 clone cards
|
||||
|
||||
pseudo-device loop 1 # network loopback
|
||||
#pseudo-device bpfilter 8 # packet filter
|
||||
#pseudo-device sl 2 # CSLIP
|
||||
#pseudo-device ppp 2 # PPP
|
||||
#pseudo-device tun 2 # network tunneling over tty
|
||||
#pseudo-device ipfilter 1 # ip filter
|
||||
#pseudo-device strip 4 # STRIP
|
||||
pseudo-device pty # pseudo-terminals
|
||||
#pseudo-device tb 1 # tablet line discipline
|
||||
pseudo-device vnd 4 # disk-like interface to files
|
||||
#pseudo-device ccd 2 # concatenated disk devices
|
||||
pseudo-device md 1 # Ramdisk driver
|
||||
pseudo-device rnd # /dev/random and /dev/urandom
|
||||
|
||||
#makeoptions MONITOR="Taxan875+LR"
|
||||
makeoptions MONITOR="AKF85"
|
||||
makeoptions MODES="640,480,70"
|
||||
#makeoptions MODES="800,600,60"
|
||||
#makeoptions MONITOR="PALTV"
|
||||
#makeoptions MODES="640,256,60 640,480,60 1024,768,60 1024,768,70 800,600,60 1280,1024 1152,900"
|
||||
|
309
sys/arch/acorn32/conf/NC_WSCONS
Normal file
309
sys/arch/acorn32/conf/NC_WSCONS
Normal file
@ -0,0 +1,309 @@
|
||||
# $NetBSD: NC_WSCONS,v 1.1 2001/10/05 22:27:47 reinoud Exp $
|
||||
#
|
||||
# NC - with wscons
|
||||
#
|
||||
|
||||
include "arch/acorn32/conf/std.acorn32"
|
||||
|
||||
# estimated number of users
|
||||
|
||||
maxusers 16
|
||||
|
||||
# Standard system options
|
||||
|
||||
options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
|
||||
#options NTP # NTP phase/frequency locked loop
|
||||
|
||||
# CPU options
|
||||
#options CPU_SA110 # Support the SA110 core
|
||||
#options CPU_ARM6 # Support the ARM6 core
|
||||
options CPU_ARM7 # Support the ARM7 core
|
||||
#options CPU_ARM8 # Support the ARM8 core
|
||||
#options ARM6_LATE_ABORT # ARM6XX late abort support
|
||||
|
||||
# Architecture options
|
||||
options RISCPC # We are a RiscPC
|
||||
#options RC7500 # We are a RC7500
|
||||
options NC
|
||||
|
||||
# FPA options
|
||||
|
||||
#options ARMFPE # ARM Ltd FPE
|
||||
|
||||
# File systems
|
||||
|
||||
#file-system FFS # UFS
|
||||
#file-system LFS # log-structured file system
|
||||
file-system MFS # memory file system
|
||||
file-system NFS # Network file system
|
||||
#file-system ADOSFS # AmigaDOS-compatible file system
|
||||
#file-system EXT2FS # second extended file system (linux)
|
||||
#file-system CD9660 # ISO 9660 + Rock Ridge file system
|
||||
#file-system MSDOSFS # MS-DOS file system
|
||||
#file-system FDESC # /dev/fd
|
||||
#file-system FILECORE # Acorn filecore file system
|
||||
file-system KERNFS # /kern
|
||||
#file-system NULLFS # loopback file system
|
||||
#file-system PORTAL # portal filesystem (still experimental)
|
||||
file-system PROCFS # /proc
|
||||
#file-system UMAPFS # NULLFS + uid and gid remapping
|
||||
#file-system UNION # union file system
|
||||
|
||||
# File system options
|
||||
#options QUOTA # UFS quotas
|
||||
#options NFSSERVER
|
||||
|
||||
# Networking options
|
||||
|
||||
#options GATEWAY # packet forwarding
|
||||
#options INET6 # IPV6
|
||||
#options IPSEC # IP security
|
||||
#options IPSEC_ESP # IP security (encryption part; define w/ IPSEC)
|
||||
#options IPSEC_DEBUG # debug for IP security
|
||||
options INET # IP + ICMP + TCP + UDP
|
||||
#options MROUTING # IP multicast routing
|
||||
#options NS # XNS
|
||||
#options NSIP # XNS tunneling over IP
|
||||
#options ISO,TPIP # OSI
|
||||
#options EON # OSI tunneling over IP
|
||||
#options CCITT,LLC,HDLC # X.25
|
||||
#options NETATALK # AppleTalk networking
|
||||
#options PFIL_HOOKS # pfil(9) packet filter hooks
|
||||
#options PPP_BSDCOMP # BSD-Compress compression support for PPP
|
||||
#options PPP_DEFLATE # Deflate compression support for PPP
|
||||
#options PPP_FILTER # Active filter support for PPP (requires bpf)
|
||||
#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
|
||||
|
||||
# Compatibility options
|
||||
|
||||
options COMPAT_43 # 4.3BSD compatibility.
|
||||
options COMPAT_14 # NetBSD 1.4 compatibility.
|
||||
#options COMPAT_13 # NetBSD 1.3 compatibility.
|
||||
#options COMPAT_12 # NetBSD 1.2 compatibility.
|
||||
#options COMPAT_11 # NetBSD 1.1 compatibility.
|
||||
#options COMPAT_10 # NetBSD 1.0 compatibility.
|
||||
#options COMPAT_09 # NetBSD 0.9 compatibility.
|
||||
#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
|
||||
|
||||
# Bootloader options
|
||||
#options COMPAT_OLD_BOOTLOADER
|
||||
|
||||
|
||||
# Shared memory options
|
||||
|
||||
options SYSVMSG # System V-like message queues
|
||||
options SYSVSEM # System V-like semaphores
|
||||
options SYSVSHM # System V-like memory sharing
|
||||
options SHMMAXPGS=1024 # 1024 pages is the default
|
||||
|
||||
# Device options
|
||||
|
||||
options MEMORY_DISK_HOOKS # boottime setup of ramdisk
|
||||
#options MEMORY_DISK_SIZE=0 # Size in blocks
|
||||
#options MINIROOTSIZE=3400 # Size in blocks
|
||||
#options MEMORY_DISK_IS_ROOT # use memory disk as root
|
||||
|
||||
# Miscellaneous kernel options
|
||||
options KTRACE # system call tracing, a la ktrace(1)
|
||||
options IRQSTATS # manage IRQ statistics
|
||||
#options LKM # loadable kernel modules
|
||||
options KMEMSTATS # kernel memory statistics
|
||||
|
||||
# Development and Debugging options
|
||||
|
||||
#options ARM700BUGTRACK # track the ARM700 swi bug
|
||||
#options PORTMASTER # Enable PortMaster only options
|
||||
options DIAGNOSTIC # internally consistency checks
|
||||
#options PMAP_DEBUG # Enable pmap_debug_level code
|
||||
#options IPKDB # remote kernel debugging
|
||||
#options DDB # in-kernel debugger
|
||||
#options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
|
||||
#makeoptions DEBUG="-g" # compile full symbol table
|
||||
|
||||
config netbsd root on ne0 type nfs
|
||||
options NFS_BOOT_DHCP
|
||||
#options NFS_BOOTPARAM
|
||||
|
||||
# serial console ... the conaddr is hardcoded as the pioc address + 4*com offset
|
||||
# this really be fixed some day
|
||||
#options COMCONSOLE,CONADDR="0x210000+4*0x3f8",CONUNIT=0,CONSPEED=9600
|
||||
|
||||
# The main bus device
|
||||
mainbus0 at root
|
||||
|
||||
# The boot cpu
|
||||
cpu0 at mainbus?
|
||||
|
||||
# The IOMD
|
||||
iomd0 at mainbus?
|
||||
|
||||
# system clock via IOMD
|
||||
clock* at iomd?
|
||||
|
||||
# quadrature mouse via IOMD
|
||||
#qms* at iomd?
|
||||
|
||||
# IIC bus device
|
||||
iic* at iomd?
|
||||
|
||||
# RTC device via IIC bus
|
||||
rtc* at iic? addr 0xa0
|
||||
|
||||
# time-of-day device via rtc device
|
||||
todclock0 at rtc?
|
||||
|
||||
# VIDC device
|
||||
vidc0 at mainbus?
|
||||
|
||||
# WSCONS
|
||||
# ws console uses DUMB, SUN or VT100 terminal emulation
|
||||
#options WSEMUL_NODUMB
|
||||
#options WSEMUL_SUN
|
||||
options WSEMUL_VT100
|
||||
|
||||
#options FONT_BOLD8x16
|
||||
#options FONT_GALLANT12x22 # Very nice font
|
||||
#options FONT_LUCIDA16x29
|
||||
#options FONT_OMRON12x20 # looks funny
|
||||
#options FONT_QVSS8x15 # broken ?
|
||||
#options FONT_SONY12x25 # looks like VT220 font
|
||||
#options FONT_SONY8x16 # not tested
|
||||
options FONT_VT220L8x8 # 8x8 font as in Arch. cons
|
||||
#options FONT_VT220L8x16 # 8x(2x8) font as in Arch. cons
|
||||
#options FONT_VT220L8x10 # not tested
|
||||
#options FONT_VT220L8x20 # not tested
|
||||
|
||||
vidcvideo0 at vidc? # wscons driver for VIDC
|
||||
wsdisplay* at vidcvideo? console ? # display itself
|
||||
|
||||
rpckbd* at iomd? # based on old `kbd' driver
|
||||
wskbd* at rpckbd? # wskbd on RiscPC keyboard
|
||||
|
||||
pseudo-device wsmux 2 # why 2 ?
|
||||
|
||||
|
||||
# The origional vidcconsole :
|
||||
# vidcconsole kbd at IOMD
|
||||
# vidcconsole PS2 mouse at IOMD
|
||||
#vidcconsole0 at vidc? # display + vt100 emulation
|
||||
#kbd* at iomd? # PS/2 keyboard for vidcconsole
|
||||
#opms* at iomd? # RiscPC mouse for vidcconsole
|
||||
|
||||
# generic VT console device
|
||||
#vt0 at vidc?
|
||||
#vt1 at vidc?
|
||||
#vt2 at vidc?
|
||||
#vt3 at vidc?
|
||||
#vt4 at vidc?
|
||||
#vt5 at vidc?
|
||||
|
||||
# Peripheral IO Controller
|
||||
pioc0 at mainbus? base 0x00210000
|
||||
|
||||
# IDE disk controller
|
||||
#wdc0 at pioc? offset 0x01f0 irq 9
|
||||
#wdc* at pioc? offset 0x0170 irq -1
|
||||
#wd* at wdc? channel ? drive ?
|
||||
#atapibus* at wdc? channel ?
|
||||
#cd* at atapibus? drive ?
|
||||
#sd* at atapibus? drive ?
|
||||
|
||||
# Floppy disk controller
|
||||
#fdc* at pioc? offset 0x03f0 irq 12 dack 0x2000
|
||||
#fdc* at pioc? offset 0x0370 irq -1 dack 0x2000
|
||||
#fd0 at fdc? drive ?
|
||||
|
||||
# Serial ports
|
||||
#com* at pioc? offset 0x03f8 irq 10
|
||||
#com* at pioc? offset 0x02f8 irq -1
|
||||
#com* at pioc? offset 0x0338 irq -1
|
||||
#com* at pioc? offset 0x0238 irq -1
|
||||
|
||||
# Parallel ports
|
||||
lpt* at pioc? offset 0x0278 irq 0
|
||||
#lpt* at pioc? offset 0x0378 irq -1
|
||||
#lpt* at pioc? offset 0x03bc irq -1
|
||||
|
||||
# Crude sound device
|
||||
beep0 at vidc?
|
||||
|
||||
# Audio device
|
||||
vidcaudio0 at vidc?
|
||||
audio* at vidcaudio0
|
||||
|
||||
# System beep
|
||||
sysbeep0 at vidc?
|
||||
|
||||
# Podule bus device
|
||||
podulebus0 at root
|
||||
|
||||
#asc* at podulebus? # Acorn SCSI card
|
||||
#scsibus* at asc?
|
||||
|
||||
#cosc* at podulebus? # MCS Connect32 SCSI II card
|
||||
#scsibus* at cosc?
|
||||
|
||||
#ptsc* at podulebus? # Power-Tec SCSI II card
|
||||
#scsibus* at ptsc?
|
||||
|
||||
#csc* at podulebus? # Cumana SCSI II card
|
||||
#scsibus* at csc?
|
||||
|
||||
#oak* at podulebus? # Oak SCSI I card
|
||||
#scsibus* at oak?
|
||||
|
||||
#csa* at podulebus? # Cumana SCSI I adpater
|
||||
#scsibus* at csa?
|
||||
|
||||
#hcsc* at podulebus0 slot ? # HCCS 8-bit SCSI interface
|
||||
#scsibus* at hcsc?
|
||||
|
||||
#sd* at scsibus? target ? lun ? # SCSI disk drives
|
||||
#st* at scsibus? target ? lun ? # SCSI tape drives
|
||||
#cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
|
||||
#ch* at scsibus? target ? lun ? # SCSI auto-changers
|
||||
#uk* at scsibus? target ? lun ? # SCSI unknown device
|
||||
#ss* at scsibus? target ? lun ? # SCSI scanner
|
||||
|
||||
#icside* at podulebus? # ICS IDE card
|
||||
#wd* at icside? channel ? drive ?
|
||||
#atapibus* at icside? channel ?
|
||||
|
||||
#rapide* at podulebus? # Yellowstone RapIDE card
|
||||
#wd* at rapide? channel ? drive ?
|
||||
#atapibus* at rapide? channel ?
|
||||
|
||||
#simide* at podulebus? # Simtec IDE card
|
||||
#wd* at simide? channel ? drive ?
|
||||
#atapibus* at simide? channel ?
|
||||
|
||||
#amps* at podulebus? # Atomwide Multi-Port Serial card
|
||||
#com* at amps?
|
||||
|
||||
#ie* at podulebus? # Ether1 podules
|
||||
#ea* at podulebus? # Ether3 podules
|
||||
#eb0 at podulebus? # EtherB network slot cards
|
||||
ne* at podulebus? # NE2000 clone cards
|
||||
|
||||
pseudo-device loop 1 # network loopback
|
||||
#pseudo-device bpfilter 8 # packet filter
|
||||
#pseudo-device sl 2 # CSLIP
|
||||
#pseudo-device ppp 2 # PPP
|
||||
#pseudo-device tun 2 # network tunneling over tty
|
||||
#pseudo-device ipfilter 1 # ip filter
|
||||
#pseudo-device strip 4 # STRIP
|
||||
pseudo-device pty # pseudo-terminals
|
||||
#pseudo-device tb 1 # tablet line discipline
|
||||
pseudo-device vnd 4 # disk-like interface to files
|
||||
#pseudo-device ccd 2 # concatenated disk devices
|
||||
pseudo-device md 1 # Ramdisk driver
|
||||
pseudo-device rnd # /dev/random and /dev/urandom
|
||||
|
||||
#makeoptions MONITOR="Taxan875+LR"
|
||||
makeoptions MONITOR="AKF85"
|
||||
makeoptions MODES="640,480,70"
|
||||
#makeoptions MODES="800,600,60"
|
||||
|
||||
#makeoptions MONITOR="PALTV"
|
||||
#makeoptions MODES="640,256,60 640,480,60 1024,768,60 1024,768,70 800,600,60 1280,1024 1152,900"
|
||||
|
278
sys/arch/acorn32/conf/RISCPC
Normal file
278
sys/arch/acorn32/conf/RISCPC
Normal file
@ -0,0 +1,278 @@
|
||||
# $NetBSD: RISCPC,v 1.1 2001/10/05 22:27:47 reinoud Exp $
|
||||
#
|
||||
# RISCPC -- Full RiscPC config
|
||||
#
|
||||
|
||||
include "arch/acorn32/conf/std.acorn32"
|
||||
|
||||
# estimated number of users
|
||||
|
||||
maxusers 32
|
||||
|
||||
# Standard system options
|
||||
|
||||
options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
|
||||
#options NTP # NTP phase/frequency locked loop
|
||||
|
||||
# CPU options
|
||||
options CPU_SA110 # Support the SA110 core
|
||||
options CPU_ARM6 # Support the ARM6 core
|
||||
options CPU_ARM7 # Support the ARM7 core
|
||||
#options CPU_ARM8 # Support the ARM8 core
|
||||
#options ARM6_LATE_ABORT # ARM6XX late abort support
|
||||
|
||||
# For StrongARM only kernels
|
||||
#makeoptions COPTS="-O2 -march=armv3m -mtune=strongarm"
|
||||
|
||||
# Architecture options
|
||||
options RISCPC # We are a RiscPC
|
||||
#options RC7500 # We are a RC7500
|
||||
|
||||
# FPA options
|
||||
|
||||
#options ARMFPE # ARM Ltd FPE
|
||||
|
||||
# File systems
|
||||
|
||||
file-system FFS # UFS
|
||||
#file-system LFS # log-structured file system
|
||||
file-system MFS # memory file system
|
||||
file-system NFS # Network file system
|
||||
file-system ADOSFS # AmigaDOS-compatible file system
|
||||
file-system EXT2FS # second extended file system (linux)
|
||||
file-system CD9660 # ISO 9660 + Rock Ridge file system
|
||||
file-system MSDOSFS # MS-DOS file system
|
||||
file-system FDESC # /dev/fd
|
||||
file-system FILECORE # Acorn filecore file system
|
||||
file-system KERNFS # /kern
|
||||
file-system NULLFS # loopback file system
|
||||
file-system PORTAL # portal filesystem (still experimental)
|
||||
file-system PROCFS # /proc
|
||||
file-system UMAPFS # NULLFS + uid and gid remapping
|
||||
file-system UNION # union file system
|
||||
|
||||
# File system options
|
||||
options QUOTA # UFS quotas
|
||||
options NFSSERVER
|
||||
|
||||
# Networking options
|
||||
|
||||
options GATEWAY # packet forwarding
|
||||
options INET # IP + ICMP + TCP + UDP
|
||||
options INET6 # IPV6
|
||||
#options IPSEC # IP security
|
||||
#options IPSEC_ESP # IP security (encryption part; define w/ IPSEC)
|
||||
#options IPSEC_DEBUG # debug for IP security
|
||||
#options MROUTING # IP multicast routing
|
||||
#options NS # XNS
|
||||
#options NSIP # XNS tunneling over IP
|
||||
#options ISO,TPIP # OSI
|
||||
#options EON # OSI tunneling over IP
|
||||
#options CCITT,LLC,HDLC # X.25
|
||||
options NETATALK # AppleTalk networking
|
||||
#options PFIL_HOOKS # pfil(9) packet filter hooks
|
||||
#options PPP_BSDCOMP # BSD-Compress compression support for PPP
|
||||
#options PPP_DEFLATE # Deflate compression support for PPP
|
||||
#options PPP_FILTER # Active filter support for PPP (requires bpf)
|
||||
#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
|
||||
|
||||
# Compatibility options
|
||||
|
||||
options COMPAT_43 # 4.3BSD compatibility.
|
||||
options COMPAT_14 # NetBSD 1.4 compatibility.
|
||||
options COMPAT_13 # NetBSD 1.3 compatibility.
|
||||
options COMPAT_12 # NetBSD 1.2 compatibility.
|
||||
#options COMPAT_11 # NetBSD 1.1 compatibility.
|
||||
#options COMPAT_10 # NetBSD 1.0 compatibility.
|
||||
#options COMPAT_09 # NetBSD 0.9 compatibility.
|
||||
#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
|
||||
|
||||
# Bootloader options
|
||||
options COMPAT_OLD_BOOTLOADER
|
||||
|
||||
# Shared memory options
|
||||
|
||||
options SYSVMSG # System V-like message queues
|
||||
options SYSVSEM # System V-like semaphores
|
||||
options SYSVSHM # System V-like memory sharing
|
||||
options SHMMAXPGS=1024 # 1024 pages is the default
|
||||
|
||||
# Device options
|
||||
|
||||
options MEMORY_DISK_HOOKS # boottime setup of ramdisk
|
||||
#options MEMORY_DISK_SIZE=0 # Size in blocks
|
||||
#options MINIROOTSIZE=3400 # Size in blocks
|
||||
#options MEMORY_DISK_IS_ROOT # use memory disk as root
|
||||
|
||||
# Miscellaneous kernel options
|
||||
options KTRACE # system call tracing, a la ktrace(1)
|
||||
options IRQSTATS # manage IRQ statistics
|
||||
options LKM # loadable kernel modules
|
||||
options KMEMSTATS # kernel memory statistics
|
||||
|
||||
# Development and Debugging options
|
||||
|
||||
#options ARM700BUGTRACK # track the ARM700 swi bug
|
||||
#options PORTMASTER # Enable PortMaster only options
|
||||
options DIAGNOSTIC # internally consistency checks
|
||||
#options PMAP_DEBUG # Enable pmap_debug_level code
|
||||
#options IPKDB # remote kernel debugging
|
||||
options DDB # in-kernel debugger
|
||||
#options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
|
||||
#makeoptions DEBUG="-g" # compile full symbol table
|
||||
|
||||
config netbsd root on ? type ?
|
||||
|
||||
# serial console ... the conaddr is hardcoded as the pioc address + 4*com offset
|
||||
# this really be fixed some day
|
||||
#options COMCONSOLE,CONADDR="0x210000+4*0x3f8",CONUNIT=0,CONSPEED=9600
|
||||
|
||||
# The main bus device
|
||||
mainbus0 at root
|
||||
|
||||
# The boot cpu
|
||||
cpu0 at mainbus?
|
||||
|
||||
# The IOMD
|
||||
iomd0 at mainbus?
|
||||
|
||||
# system clock via IOMD
|
||||
clock* at iomd?
|
||||
|
||||
# kbd via IOMD
|
||||
kbd* at iomd?
|
||||
|
||||
# quadrature mouse via IOMD
|
||||
qms* at iomd?
|
||||
|
||||
# PS2 mouse via IOMD
|
||||
opms* at iomd?
|
||||
|
||||
# IIC bus device
|
||||
iic* at iomd?
|
||||
|
||||
# RTC device via IIC bus
|
||||
rtc* at iic? addr 0xa0
|
||||
|
||||
# time-of-day device via rtc device
|
||||
todclock0 at rtc?
|
||||
|
||||
# VIDC device
|
||||
vidc0 at mainbus?
|
||||
|
||||
# The vidc
|
||||
vidcconsole0 at vidc?
|
||||
|
||||
# generic VT console device
|
||||
vt0 at vidc?
|
||||
vt1 at vidc?
|
||||
vt2 at vidc?
|
||||
vt3 at vidc?
|
||||
vt4 at vidc?
|
||||
vt5 at vidc?
|
||||
|
||||
# Peripheral IO Controller
|
||||
pioc0 at mainbus? base 0x00210000
|
||||
|
||||
# IDE disk controller
|
||||
wdc0 at pioc? offset 0x01f0 irq 9
|
||||
#wdc* at pioc? offset 0x0170 irq -1
|
||||
wd* at wdc? channel ? drive ?
|
||||
atapibus* at wdc? channel ?
|
||||
cd* at atapibus? drive ?
|
||||
sd* at atapibus? drive ?
|
||||
|
||||
# Floppy disk controller
|
||||
fdc* at pioc? offset 0x03f0 irq 12 dack 0x2000
|
||||
fdc* at pioc? offset 0x0370 irq -1 dack 0x2000
|
||||
fd0 at fdc? drive ?
|
||||
|
||||
# Serial ports
|
||||
com* at pioc? offset 0x03f8 irq 10
|
||||
#com* at pioc? offset 0x02f8 irq -1
|
||||
#com* at pioc? offset 0x0338 irq -1
|
||||
#com* at pioc? offset 0x0238 irq -1
|
||||
|
||||
# Parallel ports
|
||||
lpt* at pioc? offset 0x0278 irq 0
|
||||
#lpt* at pioc? offset 0x0378 irq -1
|
||||
#lpt* at pioc? offset 0x03bc irq -1
|
||||
|
||||
# Crude sound device
|
||||
beep0 at vidc?
|
||||
|
||||
# Audio device
|
||||
vidcaudio0 at vidc?
|
||||
audio* at vidcaudio0
|
||||
|
||||
# System beep
|
||||
sysbeep0 at vidc?
|
||||
|
||||
# Podule bus device
|
||||
podulebus0 at root
|
||||
|
||||
asc* at podulebus? # Acorn SCSI card
|
||||
scsibus* at asc?
|
||||
|
||||
cosc* at podulebus? # MCS Connect32 SCSI II card
|
||||
scsibus* at cosc?
|
||||
|
||||
ptsc* at podulebus? # Power-Tec SCSI II card
|
||||
scsibus* at ptsc?
|
||||
|
||||
csc* at podulebus? # Cumana SCSI II card
|
||||
scsibus* at csc?
|
||||
|
||||
oak* at podulebus? # Oak SCSI I card
|
||||
scsibus* at oak?
|
||||
|
||||
csa* at podulebus? # Cumana SCSI I adpater
|
||||
scsibus* at csa?
|
||||
|
||||
hcsc* at podulebus0 slot ? # HCCS 8-bit SCSI interface
|
||||
scsibus* at hcsc?
|
||||
|
||||
sd* at scsibus? target ? lun ? # SCSI disk drives
|
||||
st* at scsibus? target ? lun ? # SCSI tape drives
|
||||
cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
|
||||
ch* at scsibus? target ? lun ? # SCSI auto-changers
|
||||
uk* at scsibus? target ? lun ? # SCSI unknown device
|
||||
ss* at scsibus? target ? lun ? # SCSI scanner
|
||||
|
||||
icside* at podulebus? # ICS IDE card
|
||||
wd* at icside? channel ? drive ?
|
||||
atapibus* at icside? channel ?
|
||||
|
||||
rapide* at podulebus? # Yellowstone RapIDE card
|
||||
wd* at rapide? channel ? drive ?
|
||||
atapibus* at rapide? channel ?
|
||||
|
||||
simide* at podulebus? # Simtec IDE card
|
||||
wd* at simide? channel ? drive ?
|
||||
atapibus* at simide? channel ?
|
||||
|
||||
amps* at podulebus? # Atomwide Multi-Port Serial card
|
||||
com* at amps?
|
||||
|
||||
ie* at podulebus? # Ether1 podules
|
||||
ea* at podulebus? # Ether3 podules
|
||||
eb0 at podulebus? # EtherB network slot cards
|
||||
ne* at podulebus? # NE2000 clone cards
|
||||
|
||||
pseudo-device loop 1 # network loopback
|
||||
pseudo-device bpfilter 8 # packet filter
|
||||
pseudo-device sl 2 # CSLIP
|
||||
pseudo-device ppp 2 # PPP
|
||||
pseudo-device tun 2 # network tunneling over tty
|
||||
#pseudo-device ipfilter 1 # ip filter
|
||||
#pseudo-device strip 4 # STRIP
|
||||
pseudo-device pty # pseudo-terminals
|
||||
pseudo-device tb 1 # tablet line discipline
|
||||
pseudo-device vnd 4 # disk-like interface to files
|
||||
pseudo-device ccd 2 # concatenated disk devices
|
||||
pseudo-device md 1 # Ramdisk driver
|
||||
pseudo-device rnd # /dev/random and /dev/urandom
|
||||
|
||||
makeoptions MONITOR="Taxan875+LR"
|
||||
#makeoptions MONITOR="AKF60"
|
||||
makeoptions MODES="1024,768,60 1024,768,70 800,600,60 640,480,60 1280,1024 1152,900"
|
268
sys/arch/acorn32/conf/RPCINST
Normal file
268
sys/arch/acorn32/conf/RPCINST
Normal file
@ -0,0 +1,268 @@
|
||||
# $NetBSD: RPCINST,v 1.1 2001/10/05 22:27:47 reinoud Exp $
|
||||
#
|
||||
# RPCINST -- RiscPC install configuration
|
||||
#
|
||||
|
||||
include "arch/acorn32/conf/std.acorn32"
|
||||
|
||||
# estimated number of users
|
||||
|
||||
maxusers 32
|
||||
|
||||
# Standard system options
|
||||
|
||||
options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
|
||||
#options NTP # NTP phase/frequency locked loop
|
||||
|
||||
# CPU options
|
||||
options CPU_SA110 # Support the SA110 core
|
||||
options CPU_ARM6 # Support the ARM6 core
|
||||
options CPU_ARM7 # Support the ARM7 core
|
||||
#options CPU_ARM8 # Support the ARM8 core
|
||||
#options ARM6_LATE_ABORT # ARM6XX late abort support
|
||||
|
||||
# Architecture options
|
||||
options RISCPC # We are a RiscPC
|
||||
#options RC7500 # We are a RC7500
|
||||
|
||||
# FPA options
|
||||
|
||||
#options ARMFPE # ARM Ltd FPE
|
||||
|
||||
# File systems
|
||||
|
||||
file-system FFS # UFS
|
||||
#file-system LFS # log-structured file system
|
||||
#file-system MFS # memory file system
|
||||
file-system NFS # Network file system
|
||||
#file-system ADOSFS # AmigaDOS-compatible file system
|
||||
#file-system EXT2FS # second extended file system (linux)
|
||||
file-system CD9660 # ISO 9660 + Rock Ridge file system
|
||||
file-system MSDOSFS # MS-DOS file system
|
||||
#file-system FDESC # /dev/fd
|
||||
file-system FILECORE # Acorn filecore file system
|
||||
file-system KERNFS # /kern
|
||||
#file-system NULLFS # loopback file system
|
||||
#file-system PORTAL # portal filesystem (still experimental)
|
||||
#file-system PROCFS # /proc
|
||||
#file-system UMAPFS # NULLFS + uid and gid remapping
|
||||
#file-system UNION # union file system
|
||||
|
||||
# File system options
|
||||
#options QUOTA # UFS quotas
|
||||
#options NFSSERVER
|
||||
|
||||
# Networking options
|
||||
|
||||
#options GATEWAY # packet forwarding
|
||||
options INET # IP + ICMP + TCP + UDP
|
||||
#options MROUTING # IP multicast routing
|
||||
#options NS # XNS
|
||||
#options NSIP # XNS tunneling over IP
|
||||
#options ISO,TPIP # OSI
|
||||
#options EON # OSI tunneling over IP
|
||||
#options CCITT,LLC,HDLC # X.25
|
||||
#options NETATALK # AppleTalk networking
|
||||
#options PFIL_HOOKS # pfil(9) packet filter hooks
|
||||
#options PPP_BSDCOMP # BSD-Compress compression support for PPP
|
||||
#options PPP_DEFLATE # Deflate compression support for PPP
|
||||
#options PPP_FILTER # Active filter support for PPP (requires bpf)
|
||||
#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
|
||||
|
||||
# Compatibility options
|
||||
|
||||
#options COMPAT_43 # 4.3BSD compatibility.
|
||||
options COMPAT_14 # NetBSD 1.4 compatibility.
|
||||
options COMPAT_13 # NetBSD 1.3 compatibility.
|
||||
options COMPAT_12 # NetBSD 1.2 compatibility.
|
||||
#options COMPAT_11 # NetBSD 1.1 compatibility.
|
||||
#options COMPAT_10 # NetBSD 1.0 compatibility.
|
||||
#options COMPAT_09 # NetBSD 0.9 compatibility.
|
||||
#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
|
||||
|
||||
# Bootloader options
|
||||
options COMPAT_OLD_BOOTLOADER
|
||||
|
||||
# Shared memory options
|
||||
|
||||
#options SYSVMSG # System V-like message queues
|
||||
#options SYSVSEM # System V-like semaphores
|
||||
#options SYSVSHM # System V-like memory sharing
|
||||
#options SHMMAXPGS=1024 # 1024 pages is the default
|
||||
|
||||
# Device options
|
||||
|
||||
options MEMORY_DISK_HOOKS # boottime setup of ramdisk
|
||||
#options MEMORY_DISK_SIZE=0 # Size in blocks
|
||||
options MINIROOTSIZE=3800 # Size in blocks
|
||||
options MEMORY_DISK_IS_ROOT # use memory disk as root
|
||||
|
||||
# Miscellaneous kernel options
|
||||
#options KTRACE # system call tracing, a la ktrace(1)
|
||||
#options IRQSTATS # manage IRQ statistics
|
||||
#options LKM # loadable kernel modules
|
||||
options KMEMSTATS # kernel memory statistics
|
||||
|
||||
# Development and Debugging options
|
||||
|
||||
#options ARM700BUGTRACK # track the ARM700 swi bug
|
||||
#options PORTMASTER # Enable PortMaster only options
|
||||
options DIAGNOSTIC # internally consistency checks
|
||||
#options PMAP_DEBUG # Enable pmap_debug_level code
|
||||
#options IPKDB # remote kernel debugging
|
||||
options DDB # in-kernel debugger
|
||||
#options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
|
||||
#makeoptions DEBUG="-g" # compile full symbol table
|
||||
|
||||
config netbsd root on ? type ffs
|
||||
|
||||
# serial console ... the conaddr is hardcoded as the pioc address + 4*com offset
|
||||
# this really be fixed some day
|
||||
#options COMCONSOLE,CONADDR="0x210000+4*0x3f8",CONUNIT=0,CONSPEED=9600
|
||||
|
||||
# The main bus device
|
||||
mainbus0 at root
|
||||
|
||||
# The boot cpu
|
||||
cpu0 at mainbus?
|
||||
|
||||
# The IOMD
|
||||
iomd0 at mainbus?
|
||||
|
||||
# system clock via IOMD
|
||||
clock* at iomd?
|
||||
|
||||
# kbd via IOMD
|
||||
kbd* at iomd?
|
||||
|
||||
# quadrature mouse via IOMD
|
||||
qms* at iomd?
|
||||
|
||||
# PS2 mouse via IOMD
|
||||
opms* at iomd?
|
||||
|
||||
# IIC bus device
|
||||
iic* at iomd?
|
||||
|
||||
# RTC device via IIC bus
|
||||
rtc* at iic? addr 0xa0
|
||||
|
||||
# time-of-day device via rtc device
|
||||
todclock0 at rtc?
|
||||
|
||||
# VIDC device
|
||||
vidc0 at mainbus?
|
||||
|
||||
# The vidc
|
||||
vidcconsole0 at vidc?
|
||||
|
||||
# generic VT console device
|
||||
vt0 at vidc?
|
||||
vt1 at vidc?
|
||||
vt2 at vidc?
|
||||
vt3 at vidc?
|
||||
vt4 at vidc?
|
||||
vt5 at vidc?
|
||||
|
||||
# Peripheral IO Controller
|
||||
pioc0 at mainbus? base 0x00210000
|
||||
|
||||
# IDE disk controller
|
||||
wdc0 at pioc? offset 0x01f0 irq 9
|
||||
#wdc* at pioc? offset 0x0170 irq -1
|
||||
wd* at wdc? channel ? drive ?
|
||||
atapibus* at wdc? channel ?
|
||||
cd* at atapibus? drive ?
|
||||
sd* at atapibus? drive ?
|
||||
|
||||
# Floppy disk controller
|
||||
fdc* at pioc? offset 0x03f0 irq 12 dack 0x2000
|
||||
fdc* at pioc? offset 0x0370 irq -1 dack 0x2000
|
||||
fd0 at fdc? drive ?
|
||||
|
||||
# Serial ports
|
||||
com* at pioc? offset 0x03f8 irq 10
|
||||
#com* at pioc? offset 0x02f8 irq -1
|
||||
#com* at pioc? offset 0x0338 irq -1
|
||||
#com* at pioc? offset 0x0238 irq -1
|
||||
|
||||
# Parallel ports
|
||||
lpt* at pioc? offset 0x0278 irq 0
|
||||
#lpt* at pioc? offset 0x0378 irq -1
|
||||
#lpt* at pioc? offset 0x03bc irq -1
|
||||
|
||||
# Crude sound device
|
||||
beep0 at vidc?
|
||||
|
||||
# Audio device
|
||||
#vidcaudio0 at vidc?
|
||||
#audio* at vidcaudio0
|
||||
|
||||
# System beep
|
||||
sysbeep0 at vidc?
|
||||
|
||||
# Podule bus device
|
||||
podulebus0 at root
|
||||
|
||||
asc* at podulebus? # Acorn SCSI card
|
||||
scsibus* at asc?
|
||||
|
||||
cosc* at podulebus? # MCS Connect32 SCSI II card
|
||||
scsibus* at cosc?
|
||||
|
||||
ptsc* at podulebus? # Power-Tec SCSI II card
|
||||
scsibus* at ptsc?
|
||||
|
||||
csc* at podulebus? # Cumana SCSI II card
|
||||
scsibus* at csc?
|
||||
|
||||
oak* at podulebus? # Oak SCSI I card
|
||||
scsibus* at oak?
|
||||
|
||||
csa* at podulebus? # Cumana SCSI I adpater
|
||||
scsibus* at csa?
|
||||
|
||||
hcsc* at podulebus0 slot ? # HCCS 8-bit SCSI interface
|
||||
scsibus* at hcsc?
|
||||
|
||||
sd* at scsibus? target ? lun ? # SCSI disk drives
|
||||
st* at scsibus? target ? lun ? # SCSI tape drives
|
||||
cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
|
||||
#ch* at scsibus? target ? lun ? # SCSI auto-changers
|
||||
#uk* at scsibus? target ? lun ? # SCSI unknown device
|
||||
#ss* at scsibus? target ? lun ? # SCSI scanner
|
||||
|
||||
icside* at podulebus? # ICS IDE card
|
||||
wd* at icside? channel ? drive ?
|
||||
atapibus* at icside? channel ?
|
||||
|
||||
rapide* at podulebus? # Yellowstone RapIDE card
|
||||
wd* at rapide? channel ? drive ?
|
||||
atapibus* at rapide? channel ?
|
||||
|
||||
simide* at podulebus? # Simtec IDE card
|
||||
wd* at simide? channel ? drive ?
|
||||
atapibus* at simide? channel ?
|
||||
|
||||
ie* at podulebus? # Ether1 podules
|
||||
ea* at podulebus? # Ether3 podules
|
||||
eb0 at podulebus? # EtherB network slot cards
|
||||
ne* at podulebus? # NE2000 clone cards
|
||||
|
||||
pseudo-device loop 1 # network loopback
|
||||
#pseudo-device bpfilter 8 # packet filter
|
||||
#pseudo-device sl 2 # CSLIP
|
||||
#pseudo-device ppp 2 # PPP
|
||||
#pseudo-device tun 2 # network tunneling over tty
|
||||
#pseudo-device ipfilter 1 # ip filter
|
||||
#pseudo-device strip 4 # STRIP
|
||||
pseudo-device pty # pseudo-terminals
|
||||
#pseudo-device tb 1 # tablet line discipline
|
||||
pseudo-device vnd 4 # disk-like interface to files
|
||||
pseudo-device ccd 2 # concatenated disk devices
|
||||
pseudo-device md 1 # Ramdisk driver
|
||||
#pseudo-device rnd # /dev/random and /dev/urandom
|
||||
|
||||
makeoptions MONITOR="Taxan875+LR"
|
||||
#makeoptions MONITOR="AKF60"
|
||||
makeoptions MODES="1024,768,60 1024,768,70 800,600,60 640,480,60 1280,1024 1152,900"
|
306
sys/arch/acorn32/conf/RPC_WSCONS
Normal file
306
sys/arch/acorn32/conf/RPC_WSCONS
Normal file
@ -0,0 +1,306 @@
|
||||
# $NetBSD: RPC_WSCONS,v 1.1 2001/10/05 22:27:47 reinoud Exp $
|
||||
#
|
||||
# RPC_WSCONS -- Full RiscPC config with wscons
|
||||
#
|
||||
|
||||
include "arch/acorn32/conf/std.acorn32"
|
||||
|
||||
# estimated number of users
|
||||
|
||||
maxusers 32
|
||||
|
||||
# Standard system options
|
||||
|
||||
options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
|
||||
#options NTP # NTP phase/frequency locked loop
|
||||
|
||||
# CPU options
|
||||
options CPU_SA110 # Support the SA110 core
|
||||
options CPU_ARM6 # Support the ARM6 core
|
||||
options CPU_ARM7 # Support the ARM7 core
|
||||
#options CPU_ARM8 # Support the ARM8 core
|
||||
#options ARM6_LATE_ABORT # ARM6XX late abort support
|
||||
|
||||
# For StrongARM only kernels
|
||||
#makeoptions COPTS="-O2 -march=armv3m -mtune=strongarm"
|
||||
|
||||
# Architecture options
|
||||
# Architecture options
|
||||
options RISCPC # We are a RiscPC
|
||||
#options RC7500 # We are a RC7500
|
||||
|
||||
# FPA options
|
||||
|
||||
#options ARMFPE # ARM Ltd FPE
|
||||
|
||||
# File systems
|
||||
|
||||
file-system FFS # UFS
|
||||
#file-system LFS # log-structured file system
|
||||
file-system MFS # memory file system
|
||||
file-system NFS # Network file system
|
||||
file-system ADOSFS # AmigaDOS-compatible file system
|
||||
file-system EXT2FS # second extended file system (linux)
|
||||
file-system CD9660 # ISO 9660 + Rock Ridge file system
|
||||
file-system MSDOSFS # MS-DOS file system
|
||||
file-system FDESC # /dev/fd
|
||||
file-system FILECORE # Acorn filecore file system
|
||||
file-system KERNFS # /kern
|
||||
file-system NULLFS # loopback file system
|
||||
file-system PORTAL # portal filesystem (still experimental)
|
||||
file-system PROCFS # /proc
|
||||
file-system UMAPFS # NULLFS + uid and gid remapping
|
||||
file-system UNION # union file system
|
||||
|
||||
# File system options
|
||||
options QUOTA # UFS quotas
|
||||
options NFSSERVER
|
||||
|
||||
# Networking options
|
||||
|
||||
options GATEWAY # packet forwarding
|
||||
options INET # IP + ICMP + TCP + UDP
|
||||
options INET6 # IPV6
|
||||
#options IPSEC # IP security
|
||||
#options IPSEC_ESP # IP security (encryption part; define w/ IPSEC)
|
||||
#options IPSEC_DEBUG # debug for IP security
|
||||
#options MROUTING # IP multicast routing
|
||||
#options NS # XNS
|
||||
#options NSIP # XNS tunneling over IP
|
||||
#options ISO,TPIP # OSI
|
||||
#options EON # OSI tunneling over IP
|
||||
#options CCITT,LLC,HDLC # X.25
|
||||
options NETATALK # AppleTalk networking
|
||||
#options PFIL_HOOKS # pfil(9) packet filter hooks
|
||||
#options PPP_BSDCOMP # BSD-Compress compression support for PPP
|
||||
#options PPP_DEFLATE # Deflate compression support for PPP
|
||||
#options PPP_FILTER # Active filter support for PPP (requires bpf)
|
||||
#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
|
||||
|
||||
# Compatibility options
|
||||
|
||||
options COMPAT_43 # 4.3BSD compatibility.
|
||||
options COMPAT_14 # NetBSD 1.4 compatibility.
|
||||
options COMPAT_13 # NetBSD 1.3 compatibility.
|
||||
options COMPAT_12 # NetBSD 1.2 compatibility.
|
||||
#options COMPAT_11 # NetBSD 1.1 compatibility.
|
||||
#options COMPAT_10 # NetBSD 1.0 compatibility.
|
||||
#options COMPAT_09 # NetBSD 0.9 compatibility.
|
||||
#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
|
||||
|
||||
# Bootloader options
|
||||
#options COMPAT_OLD_BOOTLOADER
|
||||
|
||||
# Shared memory options
|
||||
|
||||
options SYSVMSG # System V-like message queues
|
||||
options SYSVSEM # System V-like semaphores
|
||||
options SYSVSHM # System V-like memory sharing
|
||||
options SHMMAXPGS=1024 # 1024 pages is the default
|
||||
|
||||
# Device options
|
||||
|
||||
options MEMORY_DISK_HOOKS # boottime setup of ramdisk
|
||||
#options MEMORY_DISK_SIZE=0 # Size in blocks
|
||||
#options MINIROOTSIZE=3400 # Size in blocks
|
||||
#options MEMORY_DISK_IS_ROOT # use memory disk as root
|
||||
|
||||
# Miscellaneous kernel options
|
||||
options KTRACE # system call tracing, a la ktrace(1)
|
||||
options IRQSTATS # manage IRQ statistics
|
||||
options LKM # loadable kernel modules
|
||||
options KMEMSTATS # kernel memory statistics
|
||||
|
||||
# Development and Debugging options
|
||||
|
||||
#options ARM700BUGTRACK # track the ARM700 swi bug
|
||||
#options PORTMASTER # Enable PortMaster only options
|
||||
#options DIAGNOSTIC # internally consistency checks
|
||||
#options PMAP_DEBUG # Enable pmap_debug_level code
|
||||
#options IPKDB # remote kernel debugging
|
||||
options DDB # in-kernel debugger
|
||||
#options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
|
||||
#makeoptions DEBUG="-g" # compile full symbol table
|
||||
|
||||
config netbsd root on ? type ?
|
||||
|
||||
# serial console ... the conaddr is hardcoded as the pioc address + 4*com offset
|
||||
# this really be fixed some day
|
||||
#options COMCONSOLE,CONADDR="0x210000+4*0x3f8",CONUNIT=0,CONSPEED=9600
|
||||
|
||||
# The main bus device
|
||||
mainbus0 at root
|
||||
|
||||
# The boot cpu
|
||||
cpu0 at mainbus?
|
||||
|
||||
# The IOMD
|
||||
iomd0 at mainbus?
|
||||
|
||||
# system clock via IOMD
|
||||
clock* at iomd?
|
||||
|
||||
# IIC bus device
|
||||
iic* at iomd?
|
||||
|
||||
# RTC device via IIC bus
|
||||
rtc* at iic? addr 0xa0
|
||||
|
||||
# time-of-day device via rtc device
|
||||
todclock0 at rtc?
|
||||
|
||||
# VIDC device
|
||||
vidc0 at mainbus?
|
||||
|
||||
# WSCONS
|
||||
# ws console uses DUMB, SUN or VT100 terminal emulation
|
||||
#options WSEMUL_NODUMB
|
||||
#options WSEMUL_SUN
|
||||
options WSEMUL_VT100
|
||||
|
||||
#options WSDISPLAY_COMPAT_RAWKBD
|
||||
|
||||
#options FONT_BOLD8x16
|
||||
#options FONT_GALLANT12x22 # Very nice font
|
||||
#options FONT_LUCIDA16x29
|
||||
#options FONT_OMRON12x20 # looks funny
|
||||
#options FONT_QVSS8x15 # broken ?
|
||||
options FONT_SONY12x25 # looks like VT220 font
|
||||
options FONT_SONY8x16 # not tested
|
||||
#options FONT_VT220L8x8 # 8x8 font as in Arch. cons
|
||||
#options FONT_VT220L8x16 # 8x(2x8) font as in Arch. cons
|
||||
#options FONT_VT220L8x10 # not tested
|
||||
#options FONT_VT220L8x20 # not tested
|
||||
|
||||
vidcvideo0 at vidc? # wscons driver for VIDC
|
||||
wsdisplay* at vidcvideo? console ? # display itself
|
||||
|
||||
rpckbd* at iomd? # based on old `kbd' driver
|
||||
wskbd* at rpckbd? # wskbd on RiscPC keyboard
|
||||
|
||||
wsqms* at iomd? # ws quadmouse driver
|
||||
wsmouse* at wsqms? # wsmouse on ws quadmouse
|
||||
|
||||
|
||||
# The origional vidcconsole :
|
||||
# vidcconsole kbd at IOMD
|
||||
# vidcconsole PS2 mouse at IOMD
|
||||
#vidcconsole0 at vidc? # display + vt100 emulation
|
||||
#kbd* at iomd? # PS/2 keyboard for vidcconsole
|
||||
#qms* at iomd? # RiscPC mouse for vidcconsole
|
||||
#opms* at iomd? # A7000/NC? mouse for vidcconsole
|
||||
|
||||
# generic VT console device
|
||||
#vt0 at vidc?
|
||||
#vt1 at vidc?
|
||||
#vt2 at vidc?
|
||||
#vt3 at vidc?
|
||||
#vt4 at vidc?
|
||||
#vt5 at vidc?
|
||||
|
||||
|
||||
# Peripheral IO Controller
|
||||
pioc0 at mainbus? base 0x00210000
|
||||
|
||||
# IDE disk controller
|
||||
wdc0 at pioc? offset 0x01f0 irq 9
|
||||
#wdc* at pioc? offset 0x0170 irq -1
|
||||
wd* at wdc? channel ? drive ?
|
||||
atapibus* at wdc? channel ?
|
||||
cd* at atapibus? drive ?
|
||||
sd* at atapibus? drive ?
|
||||
|
||||
# Floppy disk controller
|
||||
fdc* at pioc? offset 0x03f0 irq 12 dack 0x2000
|
||||
fdc* at pioc? offset 0x0370 irq -1 dack 0x2000
|
||||
fd0 at fdc? drive ?
|
||||
|
||||
# Serial ports
|
||||
com* at pioc? offset 0x03f8 irq 10
|
||||
#com* at pioc? offset 0x02f8 irq -1
|
||||
#com* at pioc? offset 0x0338 irq -1
|
||||
#com* at pioc? offset 0x0238 irq -1
|
||||
|
||||
# Parallel ports
|
||||
lpt* at pioc? offset 0x0278 irq 0
|
||||
#lpt* at pioc? offset 0x0378 irq -1
|
||||
#lpt* at pioc? offset 0x03bc irq -1
|
||||
|
||||
# Crude sound device
|
||||
beep0 at vidc?
|
||||
|
||||
# Audio device
|
||||
vidcaudio0 at vidc?
|
||||
audio* at vidcaudio0
|
||||
|
||||
# System beep
|
||||
sysbeep0 at vidc?
|
||||
|
||||
# Podule bus device
|
||||
podulebus0 at root
|
||||
|
||||
asc* at podulebus? # Acorn SCSI card
|
||||
scsibus* at asc?
|
||||
|
||||
cosc* at podulebus? # MCS Connect32 SCSI II card
|
||||
scsibus* at cosc?
|
||||
|
||||
ptsc* at podulebus? # Power-Tec SCSI II card
|
||||
scsibus* at ptsc?
|
||||
|
||||
csc* at podulebus? # Cumana SCSI II card
|
||||
scsibus* at csc?
|
||||
|
||||
oak* at podulebus? # Oak SCSI I card
|
||||
scsibus* at oak?
|
||||
|
||||
csa* at podulebus? # Cumana SCSI I adpater
|
||||
scsibus* at csa?
|
||||
|
||||
hcsc* at podulebus0 slot ? # HCCS 8-bit SCSI interface
|
||||
scsibus* at hcsc?
|
||||
|
||||
sd* at scsibus? target ? lun ? # SCSI disk drives
|
||||
st* at scsibus? target ? lun ? # SCSI tape drives
|
||||
cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
|
||||
ch* at scsibus? target ? lun ? # SCSI auto-changers
|
||||
uk* at scsibus? target ? lun ? # SCSI unknown device
|
||||
ss* at scsibus? target ? lun ? # SCSI scanner
|
||||
|
||||
icside* at podulebus? # ICS IDE card
|
||||
wd* at icside? channel ? drive ?
|
||||
atapibus* at icside? channel ?
|
||||
|
||||
rapide* at podulebus? # Yellowstone RapIDE card
|
||||
wd* at rapide? channel ? drive ?
|
||||
atapibus* at rapide? channel ?
|
||||
|
||||
simide* at podulebus? # Simtec IDE card
|
||||
wd* at simide? channel ? drive ?
|
||||
atapibus* at simide? channel ?
|
||||
|
||||
amps* at podulebus? # Atomwide Multi-Port Serial card
|
||||
com* at amps?
|
||||
|
||||
ie* at podulebus? # Ether1 podules
|
||||
ea* at podulebus? # Ether3 podules
|
||||
eb0 at podulebus? # EtherB network slot cards
|
||||
ne* at podulebus? # NE2000 clone cards
|
||||
|
||||
pseudo-device loop 1 # network loopback
|
||||
pseudo-device bpfilter 8 # packet filter
|
||||
pseudo-device sl 2 # CSLIP
|
||||
pseudo-device ppp 2 # PPP
|
||||
pseudo-device tun 2 # network tunneling over tty
|
||||
#pseudo-device ipfilter 1 # ip filter
|
||||
#pseudo-device strip 4 # STRIP
|
||||
pseudo-device pty # pseudo-terminals
|
||||
pseudo-device tb 1 # tablet line discipline
|
||||
pseudo-device vnd 4 # disk-like interface to files
|
||||
pseudo-device ccd 2 # concatenated disk devices
|
||||
pseudo-device md 1 # Ramdisk driver
|
||||
pseudo-device rnd # /dev/random and /dev/urandom
|
||||
|
||||
makeoptions MONITOR="Taxan875+LR"
|
||||
#makeoptions MONITOR="AKF60"
|
||||
makeoptions MODES="1024,768,60 1024,768,70 800,600,60 640,480,60 1280,1024 1152,900"
|
338
sys/arch/acorn32/conf/files.acorn32
Normal file
338
sys/arch/acorn32/conf/files.acorn32
Normal file
@ -0,0 +1,338 @@
|
||||
# $NetBSD: files.acorn32,v 1.1 2001/10/05 22:27:47 reinoud Exp $
|
||||
#
|
||||
# First try for arm-specific configuration info
|
||||
#
|
||||
|
||||
maxpartitions 8
|
||||
maxusers 2 8 64
|
||||
|
||||
# Maintain Interrupt statistics
|
||||
defopt IRQSTATS
|
||||
|
||||
# X server support in console drivers
|
||||
defopt XSERVER
|
||||
|
||||
# Bootloader options (COMPAT... to be dropped ASAP)
|
||||
# (!)
|
||||
defopt COMPAT_OLD_BOOTLOADER
|
||||
|
||||
#
|
||||
# predefine some variables ... not that we have one but the arm framework
|
||||
# needs it to compile ... esp. the isadma bothers me (used by pmap.c)
|
||||
# it is never included but i need the isadma.h it generates
|
||||
#
|
||||
defopt FOOTBRIDGE
|
||||
define isadma
|
||||
file dev/isa/isadma.c isadma needs-flag
|
||||
|
||||
|
||||
#
|
||||
# Machine-independent ATA drivers
|
||||
#
|
||||
include "dev/ata/files.ata"
|
||||
major {wd = 16}
|
||||
|
||||
# PIOC (Peripheral IO Controller) device
|
||||
# parent to wdc, fdc, com and lpt
|
||||
device pioc { [offset = -1], [dack = -1], [irq = -1] }
|
||||
attach pioc at mainbus
|
||||
file arch/acorn32/mainbus/pioc.c
|
||||
|
||||
# Standard NetBSD wdc driver
|
||||
attach wdc at pioc with wdc_pioc
|
||||
file arch/acorn32/mainbus/wdc_pioc.c wdc_pioc
|
||||
|
||||
# Standard parallel driver
|
||||
# including dev/ic/lpt.c from the ISA file ... this sux
|
||||
device lpt
|
||||
file dev/ic/lpt.c lpt needs-flag
|
||||
|
||||
attach lpt at pioc with lpt_pioc
|
||||
file arch/acorn32/mainbus/lpt_pioc.c lpt_pioc needs-flag
|
||||
|
||||
# Standard NetBSD fd driver
|
||||
device fdc {drive = -1}
|
||||
attach fdc at pioc
|
||||
device fd: disk
|
||||
attach fd at fdc
|
||||
file arch/acorn32/mainbus/fd.c fdc needs-flag
|
||||
major {fd = 17}
|
||||
|
||||
# Standard serial driver
|
||||
attach com at pioc with com_pioc
|
||||
file arch/acorn32/mainbus/com_pioc.c com_pioc
|
||||
|
||||
# Memory disk driver
|
||||
file arch/acorn32/dev/md_hooks.c md & memory_disk_hooks
|
||||
major {md = 18}
|
||||
|
||||
# RAIDframe
|
||||
major {raid = 71}
|
||||
|
||||
# IOMD device
|
||||
# parent to kbd, qms, pms, iic
|
||||
# also provides irq and timer services
|
||||
device iomd {}
|
||||
attach iomd at mainbus
|
||||
file arch/arm/iomd/iomd.c iomd needs-flag
|
||||
file arch/arm/iomd/iomd_io.c iomd
|
||||
file arch/arm/iomd/iomd_io_asm.S iomd
|
||||
file arch/arm/iomd/iomd_irq.S iomd
|
||||
file arch/arm/iomd/iomd_irqhandler.c iomd
|
||||
file arch/arm/iomd/iomd_fiq.S iomd
|
||||
file arch/arm/iomd/iomd_dma.c iomd
|
||||
|
||||
# IIC device
|
||||
device iic { addr = -1 }
|
||||
file arch/arm/iomd/iic.c iic needs-flag
|
||||
|
||||
attach iic at iomd with iic_iomd
|
||||
file arch/arm/iomd/iic_iomd.c iic_iomd
|
||||
file arch/arm/iomd/iomd_iic.S iic_iomd
|
||||
|
||||
# IIC based RTC
|
||||
define todservice {}
|
||||
device rtc : todservice
|
||||
attach rtc at iic
|
||||
file arch/arm/iomd/rtc.c rtc needs-flag
|
||||
|
||||
device todclock
|
||||
attach todclock at todservice
|
||||
file arch/arm/iomd/todclock.c todclock needs-count
|
||||
|
||||
# IOMD mouse devices
|
||||
# clock device
|
||||
device clock
|
||||
attach clock at iomd
|
||||
file arch/arm/iomd/iomd_clock.c iomd
|
||||
|
||||
# quadmouse device
|
||||
device qms
|
||||
file arch/arm/iomd/qms.c qms needs-flag
|
||||
|
||||
attach qms at iomd with qms_iomd
|
||||
file arch/arm/iomd/qms_iomd.c qms_iomd
|
||||
|
||||
# PS/2 mouse device
|
||||
device opms: tty
|
||||
file arch/arm/iomd/pms.c opms & opms_iomd needs-flag
|
||||
|
||||
attach opms at iomd with opms_iomd
|
||||
file arch/arm/iomd/pms_iomd.c opms_iomd
|
||||
|
||||
# Standard keyboard driver (obsolete ... old vidc console)
|
||||
device kbd
|
||||
file arch/arm/iomd/kbd.c kbd needs-flag
|
||||
|
||||
attach kbd at iomd with kbd_iomd
|
||||
file arch/arm/iomd/kbd_iomd.c kbd_iomd
|
||||
|
||||
#
|
||||
# wscons
|
||||
#
|
||||
|
||||
# Include MI WSCONS stuff
|
||||
include "dev/wscons/files.wscons"
|
||||
include "dev/rasops/files.rasops"
|
||||
include "dev/wsfont/files.wsfont"
|
||||
|
||||
# wscons quadmouse device
|
||||
device wsqms : wsmousedev
|
||||
file arch/arm/iomd/wsqms.c wsqms needs-flag
|
||||
|
||||
attach wsqms at iomd with wsqms_iomd
|
||||
file arch/arm/iomd/wsqms_iomd.c wsqms_iomd
|
||||
|
||||
# RPC wscons keyboard driver
|
||||
device rpckbd : wskbddev
|
||||
file arch/arm/iomd/rpckbd.c rpckbd needs-flag
|
||||
file arch/acorn32/dev/wskbdmap_mfii.c rpckbd
|
||||
|
||||
attach rpckbd at iomd with rpckbd_iomd
|
||||
file arch/arm/iomd/rpckbd_iomd.c rpckbd_iomd
|
||||
|
||||
# VIDC device
|
||||
# parent to vidcconsole, vidcaudio, beep
|
||||
device vidc { [base = -1], [dack = -1], [irq = -1] }
|
||||
attach vidc at mainbus
|
||||
file arch/arm/iomd/vidc20.c vidc needs-count
|
||||
|
||||
# VIDC video wscons device
|
||||
device vidcvideo: rasops4, rasops8, rasops16, rasops32, wsemuldisplaydev
|
||||
attach vidcvideo at vidc
|
||||
file arch/arm/iomd/vidc20config.c vidcvideo needs-flag
|
||||
file arch/arm/iomd/vidcvideo.c vidcvideo needs-flag
|
||||
|
||||
# Audio devices
|
||||
device beep
|
||||
attach beep at vidc
|
||||
file arch/arm/iomd/beep.c beep needs-flag
|
||||
|
||||
device vidcaudio: audio
|
||||
attach vidcaudio at vidc
|
||||
file arch/arm/iomd/vidcaudio.c vidcaudio needs-flag
|
||||
|
||||
device lmcaudio: audio
|
||||
attach lmcaudio at vidc
|
||||
file arch/arm/iomd/lmcaudio.c lmcaudio needs-flag
|
||||
file arch/arm/iomd/lmc1982.S lmcaudio
|
||||
|
||||
# Podule bus device
|
||||
include "dev/podulebus/files.podulebus"
|
||||
|
||||
attach podulebus at root
|
||||
file arch/acorn32/podulebus/podulebus.c podulebus needs-flag
|
||||
file arch/acorn32/podulebus/podulebus_io.c podulebus
|
||||
file arch/acorn32/podulebus/podulebus_io_asm.S podulebus
|
||||
file arch/acorn32/podulebus/netslot.c podulebus
|
||||
|
||||
|
||||
# Ethernet devices
|
||||
|
||||
# Novell NE1000 and NE2000 clones (EtherM, EtherH)
|
||||
attach ne at podulebus with ne_pbus
|
||||
file arch/acorn32/podulebus/if_ne_pbus.c ne_pbus
|
||||
|
||||
device ie: ether, ifnet, arp
|
||||
attach ie at podulebus
|
||||
file arch/acorn32/podulebus/if_ie.c ie
|
||||
|
||||
#define ipkdb
|
||||
|
||||
#device kie: ipkdb
|
||||
#attach kie at podule
|
||||
#file arch/acorn32/podulebus/ipkdb_ie.c kie
|
||||
|
||||
#file arch/arm32/arm32/ipkdb_glue.c ipkdb
|
||||
#file arch/arm32/arm32/ipkdb_step.c ipkdb
|
||||
|
||||
#
|
||||
# Machine-independent SCSI drivers
|
||||
#
|
||||
|
||||
include "dev/scsipi/files.scsipi"
|
||||
major {sd = 24}
|
||||
major {cd = 26}
|
||||
|
||||
#
|
||||
# Miscelanious podulebus devices not moved yet to dev/podules
|
||||
#
|
||||
|
||||
# Generic sbic (WD3393) driver
|
||||
define sbic
|
||||
file arch/acorn32/podulebus/sbic.c sbic
|
||||
|
||||
# Acorn SCSI I specific layer for sbic
|
||||
device asc: scsi, sbic, podloader
|
||||
attach asc at podulebus
|
||||
file arch/acorn32/podulebus/asc.c asc needs-flag
|
||||
|
||||
# Generic AMD AM53C94 driver
|
||||
define esc
|
||||
file arch/acorn32/podulebus/esc.c esc
|
||||
|
||||
# Connect32 specific layer for esc
|
||||
device cosc: scsi, esc
|
||||
attach cosc at podulebus
|
||||
file arch/acorn32/podulebus/cosc.c cosc
|
||||
|
||||
# Generic fas216 + esp216 driver
|
||||
define sfas
|
||||
file arch/acorn32/podulebus/sfas.c sfas
|
||||
|
||||
device ptsc: scsi, sfas, podloader
|
||||
attach ptsc at podulebus
|
||||
file arch/acorn32/podulebus/ptsc.c ptsc
|
||||
|
||||
device csc: scsi, sfas, podloader
|
||||
attach csc at podulebus
|
||||
file arch/acorn32/podulebus/csc.c csc
|
||||
|
||||
# Cumana SCSI1 specific layer for ncr5380
|
||||
device csa: scsi, ncr5380sbc, podloader
|
||||
attach csa at podulebus
|
||||
file arch/acorn32/podulebus/csa.c csa
|
||||
|
||||
# ICS IDE driver
|
||||
device icside {[channel = -1]}: wdc_base, ata, atapi
|
||||
attach icside at podulebus
|
||||
file arch/acorn32/podulebus/icside.c icside
|
||||
file arch/acorn32/podulebus/icside_io_asm.S icside
|
||||
|
||||
# Yellowstone RapIDE driver
|
||||
device rapide {[channel = -1]}: wdc_base, ata, atapi
|
||||
attach rapide at podulebus
|
||||
file arch/acorn32/podulebus/rapide.c rapide
|
||||
file arch/acorn32/podulebus/rapide_io_asm.S rapide
|
||||
|
||||
# Simtec IDE driver
|
||||
device simide {[channel = -1]}: wdc_base, ata, atapi
|
||||
attach simide at podulebus
|
||||
file arch/acorn32/podulebus/simide.c simide
|
||||
file arch/acorn32/podulebus/simide_io_asm.S simide
|
||||
|
||||
# Atomwide Multi-Port Serial driver
|
||||
device amps {}
|
||||
attach amps at podulebus
|
||||
attach com at amps with com_amps
|
||||
file arch/acorn32/podulebus/amps.c amps
|
||||
|
||||
|
||||
#
|
||||
# VIDC console stuff (old)
|
||||
#
|
||||
|
||||
device vidcconsole
|
||||
attach vidcconsole at vidc
|
||||
file arch/arm/iomd/console/vidcconsole.c vidcconsole needs-count
|
||||
file arch/arm/iomd/console/consinit.c vidc needs-count
|
||||
device vt: tty
|
||||
attach vt at vidc
|
||||
|
||||
file dev/cninit.c vt
|
||||
file arch/arm/iomd/console/console.c vt needs-count
|
||||
file arch/arm/iomd/console/vidcrender.c vt
|
||||
file arch/arm/iomd/console/vidc_mc.S vt
|
||||
file arch/arm/iomd/console/vidc.c vt
|
||||
file arch/arm/iomd/console/vt220.c vt
|
||||
file arch/arm/iomd/console/debugconsole.c vt
|
||||
file arch/arm/iomd/console/dumb.c vt
|
||||
|
||||
# Generic MD files
|
||||
file arch/acorn32/acorn32/autoconf.c
|
||||
file arch/acorn32/acorn32/conf.c
|
||||
|
||||
file arch/arm/arm/disksubr.c disk
|
||||
file arch/arm/arm/disksubr_acorn.c disk
|
||||
file arch/arm/arm/disksubr_mbr.c disk
|
||||
|
||||
# ARM FPE
|
||||
file arch/arm32/fpe-arm/armfpe_glue.S armfpe
|
||||
file arch/arm32/fpe-arm/armfpe_init.c armfpe
|
||||
file arch/arm32/fpe-arm/armfpe.s armfpe
|
||||
|
||||
# RiscPC specific files
|
||||
file arch/acorn32/acorn32/rpc_machdep.c riscpc
|
||||
file arch/acorn32/acorn32/rpc_kbd_map.c riscpc & kbd
|
||||
|
||||
device sysbeep
|
||||
attach sysbeep at vidc with sysbeep_vidc
|
||||
file arch/arm/iomd/sysbeep_vidc.c sysbeep_vidc
|
||||
|
||||
#
|
||||
# Machine-independent I2O drivers.
|
||||
#
|
||||
include "dev/i2o/files.i2o"
|
||||
|
||||
|
||||
#
|
||||
# maybe we will use these later one time :
|
||||
#
|
||||
# Include USB stuff
|
||||
#include "dev/usb/files.usb"
|
||||
|
||||
#
|
||||
# we need this for rpcwskbd.c to compile
|
||||
#
|
||||
include "dev/pckbc/files.pckbc"
|
||||
|
20
sys/arch/acorn32/conf/monitors/A1097C
Normal file
20
sys/arch/acorn32/conf/monitors/A1097C
Normal file
@ -0,0 +1,20 @@
|
||||
# Modefile written by !MakeModes version 0.26 (14th December 1994)
|
||||
|
||||
file_format:1
|
||||
monitor_title:Hewlett Packard A1097C
|
||||
DPMS_state:0
|
||||
|
||||
|
||||
# 1280 x 1024 (70Hz)
|
||||
startmode
|
||||
mode_name:1280 x 1024
|
||||
x_res:1280
|
||||
y_res:1024
|
||||
pixel_rate:127000
|
||||
h_timings:144,200,0,1280,56,0
|
||||
v_timings:3,34,20,1024,0,1
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# End
|
||||
|
362
sys/arch/acorn32/conf/monitors/AKF60
Normal file
362
sys/arch/acorn32/conf/monitors/AKF60
Normal file
@ -0,0 +1,362 @@
|
||||
# $NetBSD: AKF60,v 1.1 2001/10/05 22:27:47 reinoud Exp $
|
||||
#
|
||||
# Modefile written by !MakeModes version 0.19 (22-Aug-1994)
|
||||
# Monitor description file for Acorn AKF60 monitor
|
||||
# Line rate: 30 - 50 kHz
|
||||
|
||||
file_format:1
|
||||
monitor_title:Acorn AKF60
|
||||
DPMS_state:1
|
||||
|
||||
# Letterbox modes
|
||||
|
||||
# 240 x 352 (70Hz)
|
||||
startmode
|
||||
mode_name:
|
||||
x_res:240
|
||||
y_res:352
|
||||
pixel_rate:9440
|
||||
h_timings:18,16,8,240,8,10
|
||||
v_timings:2,58,0,352,0,37
|
||||
sync_pol:2
|
||||
endmode
|
||||
|
||||
# 320 x 250 (70Hz - Modes 6,7)
|
||||
# Low band
|
||||
startmode
|
||||
mode_name:
|
||||
x_res:320
|
||||
y_res:250
|
||||
pixel_rate:12587
|
||||
h_timings:36,14,12,320,12,6
|
||||
v_timings:2,109,0,250,0,88
|
||||
sync_pol:2
|
||||
endmode
|
||||
|
||||
# 320 x 256 (70Hz - Modes 1,2,5,9,10,13)
|
||||
# Low band
|
||||
startmode
|
||||
mode_name:
|
||||
x_res:320
|
||||
y_res:256
|
||||
pixel_rate:12587
|
||||
h_timings:36,14,12,320,12,6
|
||||
v_timings:2,106,0,256,0,85
|
||||
sync_pol:2
|
||||
endmode
|
||||
|
||||
# 384 x 288 (70Hz)
|
||||
# Low band
|
||||
startmode
|
||||
mode_name:
|
||||
x_res:384
|
||||
y_res:288
|
||||
pixel_rate:18881
|
||||
h_timings:64,16,66,384,66,4
|
||||
v_timings:2,58,32,288,32,37
|
||||
sync_pol:2
|
||||
endmode
|
||||
|
||||
# 480 x 352 (70Hz)
|
||||
# Low band
|
||||
startmode
|
||||
mode_name:480 x 352
|
||||
x_res:480
|
||||
y_res:352
|
||||
pixel_rate:18881
|
||||
h_timings:64,16,18,480,18,4
|
||||
v_timings:2,58,0,352,0,37
|
||||
sync_pol:2
|
||||
endmode
|
||||
|
||||
# 640 x 200 (70Hz - Modes 44,45,46)
|
||||
# Low band
|
||||
startmode
|
||||
mode_name:
|
||||
x_res:640
|
||||
y_res:200
|
||||
pixel_rate:25175
|
||||
h_timings:88,22,22,640,22,6
|
||||
v_timings:2,134,0,200,0,113
|
||||
sync_pol:2
|
||||
endmode
|
||||
|
||||
# 640 x 250 (70Hz - Modes 3,11,14)
|
||||
# Low band
|
||||
startmode
|
||||
mode_name:
|
||||
x_res:640
|
||||
y_res:250
|
||||
pixel_rate:25175
|
||||
h_timings:88,22,22,640,22,6
|
||||
v_timings:2,109,0,250,0,88
|
||||
sync_pol:2
|
||||
endmode
|
||||
|
||||
# 640 x 256 (70Hz - Modes 0,4,8,12,15)
|
||||
# Low band
|
||||
startmode
|
||||
mode_name:
|
||||
x_res:640
|
||||
y_res:256
|
||||
pixel_rate:25175
|
||||
h_timings:88,22,22,640,22,6
|
||||
v_timings:2,106,0,256,0,85
|
||||
sync_pol:2
|
||||
endmode
|
||||
|
||||
# 640 x 352 (70Hz - Modes 41,42,43)
|
||||
# Low band
|
||||
startmode
|
||||
mode_name:
|
||||
x_res:640
|
||||
y_res:352
|
||||
pixel_rate:25175
|
||||
h_timings:88,22,22,640,22,6
|
||||
v_timings:2,58,0,352,0,37
|
||||
sync_pol:2
|
||||
endmode
|
||||
|
||||
# Other modes (some also numbered)
|
||||
|
||||
# 320 x 480 (60Hz - Games modes 48,49)
|
||||
# Low band
|
||||
startmode
|
||||
mode_name:
|
||||
x_res:320
|
||||
y_res:480
|
||||
pixel_rate:12587
|
||||
h_timings:36,14,12,320,12,6
|
||||
v_timings:2,32,0,480,0,11
|
||||
sync_pol:3
|
||||
endmode
|
||||
|
||||
# 320 x 480 (72Hz)
|
||||
# Mid band
|
||||
startmode
|
||||
mode_name:
|
||||
x_res:320
|
||||
y_res:480
|
||||
pixel_rate:15750
|
||||
h_timings:28,30,16,320,16,6
|
||||
v_timings:3,28,0,480,0,9
|
||||
sync_pol:3
|
||||
endmode
|
||||
|
||||
# 320 x 480 (75Hz)
|
||||
# Mid band
|
||||
startmode
|
||||
mode_name:
|
||||
x_res:320
|
||||
y_res:480
|
||||
pixel_rate:15750
|
||||
h_timings:26,34,16,320,16,8
|
||||
v_timings:3,16,0,480,0,1
|
||||
sync_pol:3
|
||||
endmode
|
||||
|
||||
# 360 x 480 (60Hz - PCSoft mode 47)
|
||||
# Low band
|
||||
startmode
|
||||
mode_name:
|
||||
x_res:360
|
||||
y_res:480
|
||||
pixel_rate:16783
|
||||
h_timings:62,44,16,360,16,34
|
||||
v_timings:2,32,0,480,0,11
|
||||
sync_pol:3
|
||||
endmode
|
||||
|
||||
# 640 x 480 (60Hz - Modes 25,26,27,28)
|
||||
# Low band
|
||||
startmode
|
||||
mode_name:640 x 480
|
||||
x_res:640
|
||||
y_res:480
|
||||
pixel_rate:25175
|
||||
h_timings:88,22,22,640,22,6
|
||||
v_timings:2,32,0,480,0,11
|
||||
sync_pol:3
|
||||
endmode
|
||||
|
||||
# 640 x 480 (72Hz)
|
||||
# Mid band
|
||||
startmode
|
||||
mode_name:640 x 480
|
||||
x_res:640
|
||||
y_res:480
|
||||
pixel_rate:31500
|
||||
h_timings:52,64,30,640,30,14
|
||||
# VESA:40,128,0,640,0,24
|
||||
v_timings:3,28,0,480,0,9
|
||||
sync_pol:3
|
||||
endmode
|
||||
|
||||
# 640 x 480 (75Hz)
|
||||
# Mid band
|
||||
startmode
|
||||
mode_name:640 x 480
|
||||
x_res:640
|
||||
y_res:480
|
||||
pixel_rate:31500
|
||||
h_timings:62,64,30,640,30,14
|
||||
# VESA:64,120,0,640,0,16
|
||||
v_timings:3,16,0,480,0,1
|
||||
sync_pol:3
|
||||
endmode
|
||||
|
||||
# 800 x 600 (56Hz - Modes 29,30,31)
|
||||
# Mid band
|
||||
startmode
|
||||
mode_name:800 x 600
|
||||
x_res:800
|
||||
y_res:600
|
||||
pixel_rate:36000
|
||||
h_timings:70,74,34,800,34,12
|
||||
# VESA:72,128,0,800,0,24
|
||||
v_timings:2,22,0,600,0,1
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 800 x 600 (60Hz)
|
||||
# Mid band
|
||||
startmode
|
||||
mode_name:800 x 600
|
||||
x_res:800
|
||||
y_res:600
|
||||
pixel_rate:40000
|
||||
h_timings:112,64,40,800,40,0
|
||||
# VESA:128,88, 0,800,0,40
|
||||
v_timings:4,23,0,600,0,1
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 800 x 600 (72Hz)
|
||||
# High band
|
||||
startmode
|
||||
mode_name:800 x 600
|
||||
x_res:800
|
||||
y_res:600
|
||||
pixel_rate:50000
|
||||
h_timings:88,34,42,800,42,34
|
||||
# VESA:120,64, 0,800,0,56
|
||||
v_timings:6,23,0,600,0,37
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 800 x 600 (75Hz)
|
||||
# High band
|
||||
startmode
|
||||
mode_name:800 x 600
|
||||
x_res:800
|
||||
y_res:600
|
||||
pixel_rate:49500
|
||||
h_timings:80,46,42,800,42,46
|
||||
# VESA:80,160,0,800,0,16
|
||||
v_timings:3,21,0,600,0,1
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 1024 x 768 (60Hz)
|
||||
# High band
|
||||
startmode
|
||||
mode_name:1024 x 768
|
||||
x_res:1024
|
||||
y_res:768
|
||||
pixel_rate:65000
|
||||
h_timings:128,36,60,1024,60,36
|
||||
# VESA:136,160,0,1024,0,24
|
||||
v_timings:6,29,0,768,0,3
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# Pixel-doubled modes
|
||||
|
||||
# 1280 x 480 (60Hz)
|
||||
# Low band
|
||||
startmode
|
||||
mode_name:1280 x 480
|
||||
x_res:1280
|
||||
y_res:480
|
||||
pixel_rate:50350
|
||||
h_timings:176,44,44,1280,44,12
|
||||
v_timings:2,32,0,480,0,11
|
||||
sync_pol:3
|
||||
endmode
|
||||
|
||||
# 1280 x 480 (72Hz)
|
||||
# Mid band
|
||||
startmode
|
||||
mode_name:1280 x 480
|
||||
x_res:1280
|
||||
y_res:480
|
||||
pixel_rate:63000
|
||||
h_timings:104,128,60,1280,60,28
|
||||
# VESA:80,256,0,1280,0,48
|
||||
v_timings:3,28,0,480,0,9
|
||||
sync_pol:3
|
||||
endmode
|
||||
|
||||
# 1280 x 480 (75Hz)
|
||||
# Mid band
|
||||
startmode
|
||||
mode_name:1280 x 480
|
||||
x_res:1280
|
||||
y_res:480
|
||||
pixel_rate:63000
|
||||
h_timings:124,128,60,1280,60,28
|
||||
# VESA:128,240,0,1280,0,32
|
||||
v_timings:3,16,0,480,0,1
|
||||
sync_pol:3
|
||||
endmode
|
||||
|
||||
# 1600 x 600 (56Hz)
|
||||
# Mid band
|
||||
startmode
|
||||
mode_name:1600 x 600
|
||||
x_res:1600
|
||||
y_res:600
|
||||
pixel_rate:72000
|
||||
h_timings:140,148,68,1600,68,24
|
||||
v_timings:2,22,0,600,0,1
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 1600 x 600 (60Hz)
|
||||
# Mid band
|
||||
startmode
|
||||
mode_name:1600 x 600
|
||||
x_res:1600
|
||||
y_res:600
|
||||
pixel_rate:80000
|
||||
h_timings:224,128,80,1600,80,0
|
||||
# VESA:256,176, 0,1600,0,80
|
||||
v_timings:4,23,0,600,0,1
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 1600 x 600 (72Hz)
|
||||
# High band
|
||||
startmode
|
||||
mode_name:1600 x 600
|
||||
x_res:1600
|
||||
y_res:600
|
||||
pixel_rate:100000
|
||||
h_timings:176,68,84,1600,84,68
|
||||
# VESA:240,128, 0,1600,0,112
|
||||
v_timings:6,23,0,600,0,37
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 1600 x 600 (75Hz)
|
||||
# High band
|
||||
startmode
|
||||
mode_name:1600 x 600
|
||||
x_res:1600
|
||||
y_res:600
|
||||
pixel_rate:99000
|
||||
h_timings:160,92,84,1600,84,92
|
||||
# VESA:160,320,0,1600,0,32
|
||||
v_timings:3,21,0,600,0,1
|
||||
sync_pol:0
|
||||
endmode
|
399
sys/arch/acorn32/conf/monitors/AKF85
Normal file
399
sys/arch/acorn32/conf/monitors/AKF85
Normal file
@ -0,0 +1,399 @@
|
||||
# $NetBSD: AKF85,v 1.1 2001/10/05 22:27:47 reinoud Exp $
|
||||
#
|
||||
# Modefile written by !MakeModes version 0.19 (22-Aug-1994)
|
||||
# Monitor description file for Acorn AKF85 monitor
|
||||
# Line rate: 30 - 82 kHz
|
||||
# Frame rate: 50 - 120 Hz
|
||||
# Dot rate: Up to 135 MHz
|
||||
|
||||
|
||||
file_format:1
|
||||
monitor_title:Acorn AKF85
|
||||
DPMS_state:0
|
||||
|
||||
# 240 x 352 (70Hz)
|
||||
startmode
|
||||
mode_name:
|
||||
x_res:240
|
||||
y_res:352
|
||||
pixel_rate:9440
|
||||
h_timings:20,16,8,240,8,8
|
||||
v_timings:2,58,0,352,0,37
|
||||
sync_pol:2
|
||||
endmode
|
||||
|
||||
# 320 x 250 (70Hz)
|
||||
startmode
|
||||
mode_name:
|
||||
x_res:320
|
||||
y_res:250
|
||||
pixel_rate:12587
|
||||
h_timings:42,14,12,320,12,0
|
||||
v_timings:2,109,0,250,0,88
|
||||
sync_pol:2
|
||||
endmode
|
||||
|
||||
# 320 x 256 (70Hz)
|
||||
startmode
|
||||
mode_name:
|
||||
x_res:320
|
||||
y_res:256
|
||||
pixel_rate:12587
|
||||
h_timings:42,14,12,320,12,0
|
||||
v_timings:2,106,0,256,0,85
|
||||
sync_pol:2
|
||||
endmode
|
||||
|
||||
# 320 x 480 (60Hz)
|
||||
startmode
|
||||
mode_name:
|
||||
x_res:320
|
||||
y_res:480
|
||||
pixel_rate:12587
|
||||
h_timings:42,14,12,320,12,0
|
||||
v_timings:2,32,0,480,0,11
|
||||
sync_pol:3
|
||||
endmode
|
||||
|
||||
# 320 x 480 (73Hz)
|
||||
startmode
|
||||
mode_name:
|
||||
x_res:320
|
||||
y_res:480
|
||||
pixel_rate:15750
|
||||
h_timings:24,40,16,320,16,0
|
||||
v_timings:3,28,0,480,0,9
|
||||
sync_pol:3
|
||||
endmode
|
||||
|
||||
# 320 x 480 (75Hz)
|
||||
startmode
|
||||
mode_name:
|
||||
x_res:320
|
||||
y_res:480
|
||||
pixel_rate:15750
|
||||
h_timings:24,44,16,320,16,0
|
||||
v_timings:3,16,0,480,0,1
|
||||
sync_pol:3
|
||||
endmode
|
||||
|
||||
# 360 x 480 (60Hz)
|
||||
startmode
|
||||
mode_name:
|
||||
x_res:360
|
||||
y_res:480
|
||||
pixel_rate:16783
|
||||
h_timings:64,46,16,360,16,30
|
||||
v_timings:2,32,0,480,0,11
|
||||
sync_pol:3
|
||||
endmode
|
||||
|
||||
# 384 x 288 (70Hz)
|
||||
startmode
|
||||
mode_name:
|
||||
x_res:384
|
||||
y_res:288
|
||||
pixel_rate:18881
|
||||
h_timings:68,16,66,384,66,0
|
||||
v_timings:2,58,32,288,32,37
|
||||
sync_pol:2
|
||||
endmode
|
||||
|
||||
# 480 x 352 (70Hz)
|
||||
startmode
|
||||
mode_name:480 x 352
|
||||
x_res:480
|
||||
y_res:352
|
||||
pixel_rate:18881
|
||||
h_timings:68,16,18,480,18,0
|
||||
v_timings:2,58,0,352,0,37
|
||||
sync_pol:2
|
||||
endmode
|
||||
|
||||
# 640 x 200 (70Hz)
|
||||
startmode
|
||||
mode_name:
|
||||
x_res:640
|
||||
y_res:200
|
||||
pixel_rate:25175
|
||||
h_timings:92,24,22,640,22,0
|
||||
v_timings:2,134,0,200,0,113
|
||||
sync_pol:2
|
||||
endmode
|
||||
|
||||
# 640 x 250 (70Hz)
|
||||
startmode
|
||||
mode_name:
|
||||
x_res:640
|
||||
y_res:250
|
||||
pixel_rate:25175
|
||||
h_timings:92,24,22,640,22,0
|
||||
v_timings:2,109,0,250,0,88
|
||||
sync_pol:2
|
||||
endmode
|
||||
|
||||
# 640 x 256 (70Hz)
|
||||
startmode
|
||||
mode_name:
|
||||
x_res:640
|
||||
y_res:256
|
||||
pixel_rate:25175
|
||||
h_timings:92,24,22,640,22,0
|
||||
v_timings:2,106,0,256,0,85
|
||||
sync_pol:2
|
||||
endmode
|
||||
|
||||
# 640 x 352 (70Hz)
|
||||
startmode
|
||||
mode_name:
|
||||
x_res:640
|
||||
y_res:352
|
||||
pixel_rate:25175
|
||||
h_timings:92,24,22,640,22,0
|
||||
v_timings:2,58,0,352,0,37
|
||||
sync_pol:2
|
||||
endmode
|
||||
|
||||
# 640 x 480 (60Hz)
|
||||
startmode
|
||||
mode_name:640 x 480
|
||||
x_res:640
|
||||
y_res:480
|
||||
pixel_rate:25175
|
||||
h_timings:94,22,22,640,22,0
|
||||
v_timings:2,32,0,480,0,11
|
||||
sync_pol:3
|
||||
endmode
|
||||
|
||||
# 640 x 480 (73Hz)
|
||||
startmode
|
||||
mode_name:640 x 480
|
||||
x_res:640
|
||||
y_res:480
|
||||
pixel_rate:31500
|
||||
h_timings:48,84,30,640,30,0
|
||||
v_timings:3,28,0,480,0,9
|
||||
sync_pol:3
|
||||
endmode
|
||||
|
||||
# 640 x 480 (75Hz)
|
||||
startmode
|
||||
mode_name:640 x 480
|
||||
x_res:640
|
||||
y_res:480
|
||||
pixel_rate:31500
|
||||
h_timings:64,76,30,640,30,0
|
||||
v_timings:3,16,0,480,0,1
|
||||
sync_pol:3
|
||||
endmode
|
||||
|
||||
# 640 x 480 (120Hz)
|
||||
startmode
|
||||
mode_name:640 x 480
|
||||
x_res:640
|
||||
y_res:480
|
||||
pixel_rate:52600
|
||||
h_timings:64,76,30,640,46,18
|
||||
v_timings:3,16,0,480,0,1
|
||||
sync_pol:3
|
||||
endmode
|
||||
|
||||
# 800 x 600 (60Hz)
|
||||
startmode
|
||||
mode_name:800 x 600
|
||||
x_res:800
|
||||
y_res:600
|
||||
pixel_rate:40000
|
||||
h_timings:128,48,40,800,40,0
|
||||
v_timings:4,23,0,600,0,1
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 800 x 600 (75Hz)
|
||||
startmode
|
||||
mode_name:800 x 600
|
||||
x_res:800
|
||||
y_res:600
|
||||
pixel_rate:49500
|
||||
h_timings:80,92,42,800,42,0
|
||||
v_timings:3,21,0,600,0,1
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 800 x 600 (100Hz)
|
||||
startmode
|
||||
mode_name:800 x 600
|
||||
x_res:800
|
||||
y_res:600
|
||||
pixel_rate:69350
|
||||
h_timings:100,104,0,800,66,42
|
||||
v_timings:3,21,0,600,0,1
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 1024 x 768 (60Hz)
|
||||
startmode
|
||||
mode_name:1024 x 768
|
||||
x_res:1024
|
||||
y_res:768
|
||||
pixel_rate:65000
|
||||
h_timings:136,64,60,1024,60,0
|
||||
v_timings:6,29,0,768,0,3
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 1024 x 768 (70Hz)
|
||||
startmode
|
||||
mode_name:1024 x 768
|
||||
x_res:1024
|
||||
y_res:768
|
||||
pixel_rate:75000
|
||||
h_timings:124,36,72,1024,72,0
|
||||
v_timings:6,29,0,768,0,3
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 1024 x 768 (75Hz)
|
||||
startmode
|
||||
mode_name:1024 x 768
|
||||
x_res:1024
|
||||
y_res:768
|
||||
pixel_rate:80310
|
||||
h_timings:122,86,30,1024,76,0
|
||||
v_timings:3,28,0,768,0,1
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 1024 x 768 (102Hz)
|
||||
startmode
|
||||
mode_name:1024 x 768
|
||||
x_res:1024
|
||||
y_res:768
|
||||
pixel_rate:119000
|
||||
h_timings:130,96,46,1024,106,50
|
||||
v_timings:3,28,0,768,0,1
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 1152 x 900 (55Hz)
|
||||
startmode
|
||||
mode_name:1152 x 900
|
||||
x_res:1152
|
||||
y_res:900
|
||||
pixel_rate:80000
|
||||
h_timings:156,40,98,1152,124,0
|
||||
v_timings:1,28,0,900,0,3
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 1152 x 900 (86Hz)
|
||||
startmode
|
||||
mode_name:1152 x 900
|
||||
x_res:1152
|
||||
y_res:900
|
||||
pixel_rate:134480
|
||||
h_timings:132,70,124,1152,124,70
|
||||
v_timings:1,28,0,900,0,3
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 1280 x 480 (60Hz)
|
||||
startmode
|
||||
mode_name:1280 x 480
|
||||
x_res:1280
|
||||
y_res:480
|
||||
pixel_rate:50350
|
||||
h_timings:188,44,44,1280,44,0
|
||||
v_timings:2,32,0,480,0,11
|
||||
sync_pol:3
|
||||
endmode
|
||||
|
||||
# 1280 x 480 (73Hz)
|
||||
startmode
|
||||
mode_name:1280 x 480
|
||||
x_res:1280
|
||||
y_res:480
|
||||
pixel_rate:63000
|
||||
h_timings:96,172,58,1280,58,0
|
||||
v_timings:3,28,0,480,0,9
|
||||
sync_pol:3
|
||||
endmode
|
||||
|
||||
# 1280 x 480 (75Hz)
|
||||
startmode
|
||||
mode_name:1280 x 480
|
||||
x_res:1280
|
||||
y_res:480
|
||||
pixel_rate:63000
|
||||
h_timings:128,156,58,1280,58,0
|
||||
v_timings:3,16,0,480,0,1
|
||||
sync_pol:3
|
||||
endmode
|
||||
|
||||
# 1280 x 1024 (76Hz)
|
||||
startmode
|
||||
mode_name:1280 x 1024
|
||||
x_res:1280
|
||||
y_res:1024
|
||||
pixel_rate:139000
|
||||
h_timings:166,90,96,1280,96,0
|
||||
v_timings:3,32,0,1024,0,3
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 1600 x 600 (56Hz)
|
||||
startmode
|
||||
mode_name:1600 x 600
|
||||
x_res:1600
|
||||
y_res:600
|
||||
pixel_rate:72000
|
||||
h_timings:144,168,68,1600,68,0
|
||||
v_timings:2,22,0,600,0,1
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 1600 x 600 (60Hz)
|
||||
startmode
|
||||
mode_name:1600 x 600
|
||||
x_res:1600
|
||||
y_res:600
|
||||
pixel_rate:80000
|
||||
h_timings:256,98,78,1600,78,2
|
||||
v_timings:4,23,0,600,0,1
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 1600 x 600 (72Hz)
|
||||
startmode
|
||||
mode_name:1600 x 600
|
||||
x_res:1600
|
||||
y_res:600
|
||||
pixel_rate:100000
|
||||
h_timings:226,58,84,1600,84,28
|
||||
v_timings:6,23,0,600,0,37
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 1600 x 600 (75Hz)
|
||||
startmode
|
||||
mode_name:1600 x 600
|
||||
x_res:1600
|
||||
y_res:600
|
||||
pixel_rate:99000
|
||||
h_timings:160,188,82,1600,82,0
|
||||
v_timings:3,21,0,600,0,1
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 1600 x 1200 (50Hz)
|
||||
startmode
|
||||
mode_name:1600 x 1200
|
||||
x_res:1600
|
||||
y_res:1200
|
||||
pixel_rate:131000
|
||||
h_timings:166,90,96,1600,128,44
|
||||
v_timings:3,32,0,1200,0,3
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# End
|
496
sys/arch/acorn32/conf/monitors/AKF85B
Normal file
496
sys/arch/acorn32/conf/monitors/AKF85B
Normal file
@ -0,0 +1,496 @@
|
||||
# Modefile written by !MakeModes version 0.19 (22-Aug-1994)
|
||||
# Monitor description file for Acorn AKF85 monitor
|
||||
# Line rate: 30 - 82 kHz
|
||||
# Frame rate: 50 - 120 Hz
|
||||
# Dot rate: Up to 135 MHz
|
||||
|
||||
|
||||
file_format:1
|
||||
monitor_title:Acorn AKF85
|
||||
DPMS_state:0
|
||||
|
||||
# 256 x 192 (101Hz)
|
||||
startmode
|
||||
mode_name:SegaMod
|
||||
x_res:256
|
||||
y_res:192
|
||||
pixel_rate:10000
|
||||
h_timings:36,40,16,256,38,14
|
||||
v_timings:3,19,16,192,16,2
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 256 x 192 (111Hz)
|
||||
startmode
|
||||
mode_name:256 x 192
|
||||
x_res:256
|
||||
y_res:192
|
||||
pixel_rate:12500
|
||||
h_timings:50,46,6,256,36,14
|
||||
v_timings:30,21,16,192,16,0
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 256 x 256 (85Hz)
|
||||
startmode
|
||||
mode_name:256 x 256
|
||||
x_res:256
|
||||
y_res:256
|
||||
pixel_rate:9500
|
||||
h_timings:20,16,8,256,8,8
|
||||
v_timings:2,58,0,256,0,37
|
||||
sync_pol:2
|
||||
endmode
|
||||
|
||||
# 320 x 250 (70Hz)
|
||||
startmode
|
||||
mode_name:320 x 250
|
||||
x_res:320
|
||||
y_res:250
|
||||
pixel_rate:12587
|
||||
h_timings:42,14,12,320,12,0
|
||||
v_timings:2,109,0,250,0,88
|
||||
sync_pol:2
|
||||
endmode
|
||||
|
||||
# 320 x 256 (60Hz)
|
||||
startmode
|
||||
mode_name:320 x 256
|
||||
x_res:320
|
||||
y_res:256
|
||||
pixel_rate:12000
|
||||
h_timings:42,14,12,320,12,0
|
||||
v_timings:2,106,0,256,0,133
|
||||
sync_pol:2
|
||||
endmode
|
||||
|
||||
# 320 x 256 (70Hz)
|
||||
startmode
|
||||
mode_name: 320 x 256
|
||||
x_res:320
|
||||
y_res:256
|
||||
pixel_rate:12587
|
||||
h_timings:42,14,12,320,12,0
|
||||
v_timings:2,106,0,256,0,85
|
||||
sync_pol:2
|
||||
endmode
|
||||
|
||||
# 320 x 400 (71Hz)
|
||||
startmode
|
||||
mode_name:320 x 400
|
||||
x_res:320
|
||||
y_res:400
|
||||
pixel_rate:12750
|
||||
h_timings:24,32,2,320,28,0
|
||||
v_timings:3,28,0,400,0,9
|
||||
sync_pol:3
|
||||
endmode
|
||||
|
||||
# 320 x 480 (60Hz)
|
||||
startmode
|
||||
mode_name:320 x 480
|
||||
x_res:320
|
||||
y_res:480
|
||||
pixel_rate:12587
|
||||
h_timings:42,14,12,320,12,0
|
||||
v_timings:2,32,0,480,0,11
|
||||
sync_pol:3
|
||||
endmode
|
||||
|
||||
# 320 x 480 (73Hz)
|
||||
startmode
|
||||
mode_name:320 x 480
|
||||
x_res:320
|
||||
y_res:480
|
||||
pixel_rate:15750
|
||||
h_timings:24,40,16,320,16,0
|
||||
v_timings:3,28,0,480,0,9
|
||||
sync_pol:3
|
||||
endmode
|
||||
|
||||
# 320 x 480 (75Hz)
|
||||
startmode
|
||||
mode_name:320 x 480
|
||||
x_res:320
|
||||
y_res:480
|
||||
pixel_rate:15750
|
||||
h_timings:24,44,16,320,16,0
|
||||
v_timings:3,16,0,480,0,1
|
||||
sync_pol:3
|
||||
endmode
|
||||
|
||||
# 320 x 512 (56Hz)
|
||||
startmode
|
||||
mode_name:320 x 512
|
||||
x_res:320
|
||||
y_res:512
|
||||
pixel_rate:12587
|
||||
h_timings:36,14,12,320,12,6
|
||||
v_timings:2,32,0,512,0,11
|
||||
sync_pol:3
|
||||
endmode
|
||||
|
||||
# 360 x 480 (60Hz)
|
||||
startmode
|
||||
mode_name:360 x 480
|
||||
x_res:360
|
||||
y_res:480
|
||||
pixel_rate:16783
|
||||
h_timings:64,46,16,360,16,30
|
||||
v_timings:2,32,0,480,0,11
|
||||
sync_pol:3
|
||||
endmode
|
||||
|
||||
# 384 x 192 (50Hz)
|
||||
startmode
|
||||
mode_name:384 x 192
|
||||
x_res:384
|
||||
y_res:192
|
||||
pixel_rate:8000
|
||||
h_timings:36,30,12,384,12,38
|
||||
v_timings:3,16,49,192,49,3
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 384 x 192 (89Hz)
|
||||
startmode
|
||||
mode_name:384 x 192
|
||||
x_res:384
|
||||
y_res:192
|
||||
pixel_rate:18881
|
||||
h_timings:68,16,66,384,66,0
|
||||
v_timings:2,58,32,192,32,37
|
||||
sync_pol:2
|
||||
endmode
|
||||
|
||||
# 384 x 288 (70Hz)
|
||||
startmode
|
||||
mode_name:384 x 288
|
||||
x_res:384
|
||||
y_res:288
|
||||
pixel_rate:18881
|
||||
h_timings:68,16,66,384,66,0
|
||||
v_timings:2,58,32,288,32,37
|
||||
sync_pol:2
|
||||
endmode
|
||||
|
||||
# 448 x 288 (86Hz)
|
||||
startmode
|
||||
mode_name:448 x 288
|
||||
x_res:448
|
||||
y_res:288
|
||||
pixel_rate:18881
|
||||
h_timings:68,16,18,448,18,0
|
||||
v_timings:2,58,0,288,0,37
|
||||
sync_pol:2
|
||||
endmode
|
||||
|
||||
# 480 x 352 (70Hz)
|
||||
startmode
|
||||
mode_name:480 x 352
|
||||
x_res:480
|
||||
y_res:352
|
||||
pixel_rate:18881
|
||||
h_timings:68,16,18,480,18,0
|
||||
v_timings:2,58,0,352,0,37
|
||||
sync_pol:2
|
||||
endmode
|
||||
|
||||
# 512 x 384 (60Hz)
|
||||
startmode
|
||||
mode_name:512 x 384
|
||||
x_res:512
|
||||
y_res:384
|
||||
pixel_rate:19860
|
||||
h_timings:88,32,0,512,22,8
|
||||
v_timings:70,7,8,384,0,30
|
||||
sync_pol:3
|
||||
endmode
|
||||
|
||||
# 640 x 200 (70Hz)
|
||||
startmode
|
||||
mode_name:640 x 200
|
||||
x_res:640
|
||||
y_res:200
|
||||
pixel_rate:25175
|
||||
h_timings:92,24,22,640,22,0
|
||||
v_timings:2,134,0,200,0,113
|
||||
sync_pol:2
|
||||
endmode
|
||||
|
||||
# 640 x 250 (70Hz)
|
||||
startmode
|
||||
mode_name:640 x 250
|
||||
x_res:640
|
||||
y_res:250
|
||||
pixel_rate:25175
|
||||
h_timings:92,24,22,640,22,0
|
||||
v_timings:2,109,0,250,0,88
|
||||
sync_pol:2
|
||||
endmode
|
||||
|
||||
# 640 x 256 (70Hz)
|
||||
startmode
|
||||
mode_name:640 x 256
|
||||
x_res:640
|
||||
y_res:256
|
||||
pixel_rate:25175
|
||||
h_timings:92,24,22,640,22,0
|
||||
v_timings:2,106,0,256,0,85
|
||||
sync_pol:2
|
||||
endmode
|
||||
|
||||
# 640 x 352 (70Hz)
|
||||
startmode
|
||||
mode_name:640 x 352
|
||||
x_res:640
|
||||
y_res:352
|
||||
pixel_rate:25175
|
||||
h_timings:92,24,22,640,22,0
|
||||
v_timings:2,58,0,352,0,37
|
||||
sync_pol:2
|
||||
endmode
|
||||
|
||||
# 640 x 480 (60Hz)
|
||||
startmode
|
||||
mode_name:640 x 480
|
||||
x_res:640
|
||||
y_res:480
|
||||
pixel_rate:25175
|
||||
h_timings:94,22,22,640,22,0
|
||||
v_timings:2,32,0,480,0,11
|
||||
sync_pol:3
|
||||
endmode
|
||||
|
||||
# 640 x 480 (73Hz)
|
||||
startmode
|
||||
mode_name:640 x 480
|
||||
x_res:640
|
||||
y_res:480
|
||||
pixel_rate:31500
|
||||
h_timings:48,84,30,640,30,0
|
||||
v_timings:3,28,0,480,0,9
|
||||
sync_pol:3
|
||||
endmode
|
||||
|
||||
# 640 x 480 (75Hz)
|
||||
startmode
|
||||
mode_name:640 x 480
|
||||
x_res:640
|
||||
y_res:480
|
||||
pixel_rate:31500
|
||||
h_timings:64,76,30,640,30,0
|
||||
v_timings:3,16,0,480,0,1
|
||||
sync_pol:3
|
||||
endmode
|
||||
|
||||
# 640 x 512 (75Hz)
|
||||
startmode
|
||||
mode_name: 640 x 512
|
||||
x_res:640
|
||||
y_res:512
|
||||
pixel_rate:33516
|
||||
h_timings:64,76,30,640,30,0
|
||||
v_timings:3,16,0,512,0,1
|
||||
sync_pol:3
|
||||
endmode
|
||||
|
||||
# 768 x 288 (82Hz)
|
||||
startmode
|
||||
mode_name:768 x 288
|
||||
x_res:768
|
||||
y_res:288
|
||||
pixel_rate:25000
|
||||
h_timings:20,16,8,768,8,8
|
||||
v_timings:2,58,0,288,0,20
|
||||
sync_pol:2
|
||||
endmode
|
||||
|
||||
# 800 x 600 (56Hz)
|
||||
startmode
|
||||
mode_name:800 x 600
|
||||
x_res:800
|
||||
y_res:600
|
||||
pixel_rate:36000
|
||||
h_timings:72,84,34,800,34,0
|
||||
v_timings:2,22,0,600,0,1
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 800 x 600 (60Hz)
|
||||
startmode
|
||||
mode_name:800 x 600
|
||||
x_res:800
|
||||
y_res:600
|
||||
pixel_rate:40000
|
||||
h_timings:128,48,40,800,40,0
|
||||
v_timings:4,23,0,600,0,1
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 800 x 600 (72Hz)
|
||||
startmode
|
||||
mode_name:800 x 600
|
||||
x_res:800
|
||||
y_res:600
|
||||
pixel_rate:50000
|
||||
h_timings:100,42,42,800,42,14
|
||||
v_timings:6,23,0,600,0,37
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 800 x 600 (75Hz)
|
||||
startmode
|
||||
mode_name:800 x 600
|
||||
x_res:800
|
||||
y_res:600
|
||||
pixel_rate:49500
|
||||
h_timings:80,92,42,800,42,0
|
||||
v_timings:3,21,0,600,0,1
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 1024 x 768 (60Hz)
|
||||
startmode
|
||||
mode_name:1024 x 768
|
||||
x_res:1024
|
||||
y_res:768
|
||||
pixel_rate:65000
|
||||
h_timings:136,64,60,1024,60,0
|
||||
v_timings:6,29,0,768,0,3
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 1024 x 768 (70Hz)
|
||||
startmode
|
||||
mode_name:1024 x 768
|
||||
x_res:1024
|
||||
y_res:768
|
||||
pixel_rate:75000
|
||||
h_timings:124,36,72,1024,72,0
|
||||
v_timings:6,29,0,768,0,3
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 1024 x 768 (75Hz)
|
||||
startmode
|
||||
mode_name:1024 x 768
|
||||
x_res:1024
|
||||
y_res:768
|
||||
pixel_rate:80310
|
||||
h_timings:122,86,30,1024,76,0
|
||||
v_timings:3,28,0,768,0,1
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 1280 x 480 (60Hz)
|
||||
startmode
|
||||
mode_name:1280 x 480
|
||||
x_res:1280
|
||||
y_res:480
|
||||
pixel_rate:50350
|
||||
h_timings:188,44,44,1280,44,0
|
||||
v_timings:2,32,0,480,0,11
|
||||
sync_pol:3
|
||||
endmode
|
||||
|
||||
# 1280 x 480 (73Hz)
|
||||
startmode
|
||||
mode_name:1280 x 480
|
||||
x_res:1280
|
||||
y_res:480
|
||||
pixel_rate:63000
|
||||
h_timings:96,172,58,1280,58,0
|
||||
v_timings:3,28,0,480,0,9
|
||||
sync_pol:3
|
||||
endmode
|
||||
|
||||
# 1280 x 480 (75Hz)
|
||||
startmode
|
||||
mode_name:1280 x 480
|
||||
x_res:1280
|
||||
y_res:480
|
||||
pixel_rate:63000
|
||||
h_timings:128,156,58,1280,58,0
|
||||
v_timings:3,16,0,480,0,1
|
||||
sync_pol:3
|
||||
endmode
|
||||
|
||||
# 1280 x 1024 (70Hz)
|
||||
startmode
|
||||
mode_name:1280 x 1024
|
||||
x_res:1280
|
||||
y_res:1024
|
||||
pixel_rate:132000
|
||||
h_timings:182,72,106,1280,120,18
|
||||
v_timings:3,32,0,1024,0,3
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 1600 x 600 (56Hz)
|
||||
startmode
|
||||
mode_name:1600 x 600
|
||||
x_res:1600
|
||||
y_res:600
|
||||
pixel_rate:72000
|
||||
h_timings:144,168,68,1600,68,0
|
||||
v_timings:2,22,0,600,0,1
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 1600 x 600 (60Hz)
|
||||
startmode
|
||||
mode_name:1600 x 600
|
||||
x_res:1600
|
||||
y_res:600
|
||||
pixel_rate:80000
|
||||
h_timings:256,98,78,1600,78,2
|
||||
v_timings:4,23,0,600,0,1
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 1600 x 600 (72Hz)
|
||||
startmode
|
||||
mode_name:1600 x 600
|
||||
x_res:1600
|
||||
y_res:600
|
||||
pixel_rate:100000
|
||||
h_timings:226,58,84,1600,84,28
|
||||
v_timings:6,23,0,600,0,37
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 1600 x 600 (75Hz)
|
||||
startmode
|
||||
mode_name:1600 x 600
|
||||
x_res:1600
|
||||
y_res:600
|
||||
pixel_rate:99000
|
||||
h_timings:160,188,82,1600,82,0
|
||||
v_timings:3,21,0,600,0,1
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 1600 x 1200 (57Hz)
|
||||
startmode
|
||||
mode_name:1600 × 1200
|
||||
x_res:1600
|
||||
y_res:1200
|
||||
pixel_rate:152000
|
||||
h_timings:160,116,62,1600,144,70
|
||||
v_timings:3,30,0,1200,0,0
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 1696 x 1236 (54Hz)
|
||||
startmode
|
||||
mode_name:1696 × 1236
|
||||
x_res:1696
|
||||
y_res:1236
|
||||
pixel_rate:145000
|
||||
h_timings:176,170,32,1696,62,0
|
||||
v_timings:3,21,8,1236,0,0
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# End
|
259
sys/arch/acorn32/conf/monitors/FA3415ATKE
Normal file
259
sys/arch/acorn32/conf/monitors/FA3415ATKE
Normal file
@ -0,0 +1,259 @@
|
||||
# Modefile written by !MakeModes version 0.26 (14th December 1994)
|
||||
|
||||
file_format:1
|
||||
monitor_title:Mitsubishi FA3415ATKE
|
||||
DPMS_state:0
|
||||
|
||||
# 240 x 352 (70Hz)
|
||||
startmode
|
||||
mode_name:
|
||||
x_res:240
|
||||
y_res:352
|
||||
pixel_rate:9440
|
||||
h_timings:20,16,8,240,8,8
|
||||
v_timings:2,58,0,352,0,37
|
||||
sync_pol:2
|
||||
endmode
|
||||
|
||||
# 320 x 250 (50Hz)
|
||||
startmode
|
||||
mode_name:
|
||||
x_res:320
|
||||
y_res:250
|
||||
pixel_rate:8000
|
||||
h_timings:36,30,44,320,44,38
|
||||
v_timings:3,16,20,250,20,3
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 320 x 256 (50Hz)
|
||||
startmode
|
||||
mode_name:
|
||||
x_res:320
|
||||
y_res:256
|
||||
pixel_rate:8000
|
||||
h_timings:36,30,44,320,44,38
|
||||
v_timings:3,16,17,256,17,3
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 320 x 480 (60Hz)
|
||||
startmode
|
||||
mode_name:
|
||||
x_res:320
|
||||
y_res:480
|
||||
pixel_rate:12587
|
||||
h_timings:42,14,12,320,12,0
|
||||
v_timings:2,32,0,480,0,11
|
||||
sync_pol:3
|
||||
endmode
|
||||
|
||||
# 360 x 480 (60Hz)
|
||||
startmode
|
||||
mode_name:
|
||||
x_res:360
|
||||
y_res:480
|
||||
pixel_rate:16783
|
||||
h_timings:64,46,16,360,16,30
|
||||
v_timings:2,32,0,480,0,11
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 384 x 288 (70Hz)
|
||||
startmode
|
||||
mode_name:
|
||||
x_res:384
|
||||
y_res:288
|
||||
pixel_rate:18881
|
||||
h_timings:68,16,66,384,66,0
|
||||
v_timings:2,58,32,288,32,37
|
||||
sync_pol:2
|
||||
endmode
|
||||
|
||||
# 480 x 352 (70Hz)
|
||||
startmode
|
||||
mode_name:480 x 352
|
||||
x_res:480
|
||||
y_res:352
|
||||
pixel_rate:18881
|
||||
h_timings:68,16,18,480,18,0
|
||||
v_timings:2,58,0,352,0,37
|
||||
sync_pol:2
|
||||
endmode
|
||||
|
||||
# 640 x 200 (60Hz)
|
||||
startmode
|
||||
mode_name:
|
||||
x_res:640
|
||||
y_res:200
|
||||
pixel_rate:16000
|
||||
h_timings:72,146,16,640,16,130
|
||||
v_timings:3,34,0,200,0,25
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 640 x 250 (50Hz)
|
||||
startmode
|
||||
mode_name:
|
||||
x_res:640
|
||||
y_res:250
|
||||
pixel_rate:16000
|
||||
h_timings:72,62,88,640,88,74
|
||||
v_timings:3,16,20,250,20,3
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 640 x 256 (50Hz)
|
||||
startmode
|
||||
mode_name:
|
||||
x_res:640
|
||||
y_res:256
|
||||
pixel_rate:16000
|
||||
h_timings:72,62,88,640,88,74
|
||||
v_timings:3,16,17,256,17,3
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 640 x 352 (60Hz)
|
||||
startmode
|
||||
mode_name:
|
||||
x_res:640
|
||||
y_res:352
|
||||
pixel_rate:16783
|
||||
h_timings:76,20,16,640,16,0
|
||||
v_timings:3,9,0,352,0,0
|
||||
sync_pol:2
|
||||
endmode
|
||||
|
||||
# 640 x 480 (60Hz)
|
||||
startmode
|
||||
mode_name:640 x 480
|
||||
x_res:640
|
||||
y_res:480
|
||||
pixel_rate:25175
|
||||
h_timings:94,22,22,640,22,0
|
||||
v_timings:2,32,0,480,0,11
|
||||
sync_pol:3
|
||||
endmode
|
||||
|
||||
# 640 x 480 (73Hz)
|
||||
startmode
|
||||
mode_name:640 x 480
|
||||
x_res:640
|
||||
y_res:480
|
||||
pixel_rate:31500
|
||||
h_timings:40,120,8,640,8,16
|
||||
v_timings:3,28,0,480,0,9
|
||||
sync_pol:3
|
||||
endmode
|
||||
|
||||
# 640 x 512 (50Hz)
|
||||
startmode
|
||||
mode_name:640x512 (50 Hz
|
||||
x_res:640
|
||||
y_res:512
|
||||
pixel_rate:24000
|
||||
h_timings:56,92,20,640,20,68
|
||||
v_timings:3,18,0,512,0,1
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 768 x 288 (50Hz)
|
||||
startmode
|
||||
mode_name:
|
||||
x_res:768
|
||||
y_res:288
|
||||
pixel_rate:16000
|
||||
h_timings:76,66,16,768,16,82
|
||||
v_timings:3,19,0,288,0,2
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 800 x 600 (56Hz)
|
||||
startmode
|
||||
mode_name:800 x 600
|
||||
x_res:800
|
||||
y_res:600
|
||||
pixel_rate:36000
|
||||
h_timings:72,114,14,800,14,10
|
||||
v_timings:2,22,0,600,0,1
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 800 x 600 (60Hz)
|
||||
startmode
|
||||
mode_name:800 x 600
|
||||
x_res:800
|
||||
y_res:600
|
||||
pixel_rate:40000
|
||||
h_timings:128,64,24,800,24,16
|
||||
v_timings:4,23,0,600,0,1
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 896 x 352 (70Hz)
|
||||
startmode
|
||||
mode_name:896x352 (75 Hz)
|
||||
x_res:896
|
||||
y_res:352
|
||||
pixel_rate:30000
|
||||
h_timings:118,38,50,896,20,0
|
||||
v_timings:3,9,0,352,0,20
|
||||
sync_pol:2
|
||||
endmode
|
||||
|
||||
# 1056 x 250 (50Hz)
|
||||
startmode
|
||||
mode_name:
|
||||
x_res:1056
|
||||
y_res:250
|
||||
pixel_rate:24000
|
||||
h_timings:108,72,106,1056,106,88
|
||||
v_timings:3,16,20,250,20,3
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 1056 x 256 (50Hz)
|
||||
startmode
|
||||
mode_name:
|
||||
x_res:1056
|
||||
y_res:256
|
||||
pixel_rate:24000
|
||||
h_timings:108,72,106,1056,106,88
|
||||
v_timings:3,16,17,256,17,3
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 1280 x 480 (60Hz)
|
||||
startmode
|
||||
mode_name:1280 x 480
|
||||
x_res:1280
|
||||
y_res:480
|
||||
pixel_rate:50350
|
||||
h_timings:188,44,44,1280,44,0
|
||||
v_timings:2,32,0,480,0,11
|
||||
sync_pol:3
|
||||
endmode
|
||||
# 1600 x 600 (56Hz)
|
||||
startmode
|
||||
mode_name:1600 x 600
|
||||
x_res:1600
|
||||
y_res:600
|
||||
pixel_rate:72000
|
||||
h_timings:144,236,20,1600,20,28
|
||||
v_timings:2,22,0,600,0,1
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 1600 x 600 (60Hz)
|
||||
startmode
|
||||
mode_name:1600 x 600
|
||||
x_res:1600
|
||||
y_res:600
|
||||
pixel_rate:80000
|
||||
h_timings:256,130,46,1600,46,34
|
||||
v_timings:4,23,0,600,0,1
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# End
|
100
sys/arch/acorn32/conf/monitors/NTSCTV
Normal file
100
sys/arch/acorn32/conf/monitors/NTSCTV
Normal file
@ -0,0 +1,100 @@
|
||||
# NTSC TV mode file
|
||||
# Last updated 09-May-96
|
||||
file_format:1
|
||||
monitor_title:NTSC TV
|
||||
DPMS_state:0
|
||||
|
||||
# 320 x 240 (60Hz)
|
||||
startmode
|
||||
mode_name:320 x 240
|
||||
x_res:320
|
||||
y_res:240
|
||||
pixel_rate:8000
|
||||
h_timings:38,56,32,320,32,30
|
||||
v_timings:3,18,0,240,0,1
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 640 x 240 (60Hz)
|
||||
startmode
|
||||
mode_name:640 x 240
|
||||
x_res:640
|
||||
y_res:240
|
||||
pixel_rate:16000
|
||||
h_timings:76,112,72,640,56,60
|
||||
v_timings:3,18,0,240,0,1
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 720 x 200 (60Hz)
|
||||
startmode
|
||||
mode_name:720 x 200
|
||||
x_res:720
|
||||
y_res:200
|
||||
pixel_rate:16000
|
||||
h_timings:76,112,32,720,16,60
|
||||
v_timings:3,18,20,200,20,1
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 640 x 220 (60Hz)
|
||||
startmode
|
||||
mode_name:640 x 220
|
||||
x_res:640
|
||||
y_res:220
|
||||
pixel_rate:16000
|
||||
h_timings:76,112,72,640,56,60
|
||||
v_timings:3,18,10,220,10,1
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# Interlaced modes
|
||||
|
||||
# 640 x 400 (30Hz)
|
||||
startmode
|
||||
mode_name:640 x 400
|
||||
x_res:640
|
||||
y_res:400
|
||||
pixel_rate:13500
|
||||
h_timings:64,60,46,640,26,22
|
||||
v_timings:3,18,20,200,20,1
|
||||
sync_pol:0
|
||||
interlaced
|
||||
endmode
|
||||
|
||||
# 640 x 480 (30Hz)
|
||||
startmode
|
||||
mode_name:640 x 480
|
||||
x_res:640
|
||||
y_res:480
|
||||
pixel_rate:13500
|
||||
h_timings:64,60,46,640,26,22
|
||||
v_timings:3,18,0,240,0,1
|
||||
sync_pol:0
|
||||
interlaced
|
||||
endmode
|
||||
|
||||
# 704 x 480 (30Hz)
|
||||
# Used by Macrovision module
|
||||
startmode
|
||||
mode_name:704 x 480
|
||||
x_res:704
|
||||
y_res:480
|
||||
pixel_rate:13500
|
||||
h_timings:64,74,0,704,0,16
|
||||
v_timings:3,18,0,240,0,1
|
||||
sync_pol:0
|
||||
interlaced
|
||||
endmode
|
||||
|
||||
# 768 x 480 (30Hz)
|
||||
startmode
|
||||
mode_name:768 x 480
|
||||
x_res:768
|
||||
y_res:480
|
||||
pixel_rate:15000
|
||||
h_timings:72,88,0,768,0,26
|
||||
v_timings:3,18,0,240,0,1
|
||||
sync_pol:0
|
||||
interlaced
|
||||
endmode
|
167
sys/arch/acorn32/conf/monitors/PALTV
Normal file
167
sys/arch/acorn32/conf/monitors/PALTV
Normal file
@ -0,0 +1,167 @@
|
||||
# PAL TV mode file
|
||||
# Last updated 09-May-96
|
||||
file_format:1
|
||||
monitor_title:PAL TV
|
||||
DPMS_state:0
|
||||
|
||||
# 320 x 250 (50Hz)
|
||||
startmode
|
||||
mode_name:320 x 250
|
||||
x_res:320
|
||||
y_res:250
|
||||
pixel_rate:8000
|
||||
h_timings:38,62,32,320,32,28
|
||||
v_timings:3,16,20,250,20,3
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 320 x 256 (50Hz)
|
||||
startmode
|
||||
mode_name:320 x 256
|
||||
x_res:320
|
||||
y_res:256
|
||||
pixel_rate:8000
|
||||
h_timings:38,62,32,320,32,28
|
||||
v_timings:3,16,17,256,17,3
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 384 x 288 (50Hz)
|
||||
startmode
|
||||
mode_name:384 x 288
|
||||
x_res:384
|
||||
y_res:288
|
||||
pixel_rate:8000
|
||||
h_timings:38,62,0,384,0,28
|
||||
v_timings:3,19,0,288,0,2
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 640 x 200 (50Hz)
|
||||
startmode
|
||||
mode_name:640 x 200
|
||||
x_res:640
|
||||
y_res:200
|
||||
pixel_rate:16000
|
||||
h_timings:76,122,64,640,64,58
|
||||
v_timings:3,16,45,200,45,3
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 640 x 250 (50Hz)
|
||||
startmode
|
||||
mode_name:640 x 250
|
||||
x_res:640
|
||||
y_res:250
|
||||
pixel_rate:16000
|
||||
h_timings:76,122,64,640,64,58
|
||||
v_timings:3,16,20,250,20,3
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 640 x 256 (50Hz)
|
||||
startmode
|
||||
mode_name:640 x 256
|
||||
x_res:640
|
||||
y_res:256
|
||||
pixel_rate:16000
|
||||
h_timings:76,122,64,640,64,58
|
||||
v_timings:3,16,17,256,17,3
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 704 x 288 (50Hz)
|
||||
startmode
|
||||
mode_name:704 x 288
|
||||
x_res:704
|
||||
y_res:288
|
||||
pixel_rate:13500
|
||||
h_timings:64,76,0,704,0,20
|
||||
v_timings:3,19,0,288,0,2
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 768 x 288 (50Hz)
|
||||
startmode
|
||||
mode_name:768 x 288
|
||||
x_res:768
|
||||
y_res:288
|
||||
pixel_rate:16000
|
||||
h_timings:76,122,0,768,0,58
|
||||
v_timings:3,19,0,288,0,2
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 1056 x 250 (50Hz)
|
||||
startmode
|
||||
mode_name:1056 x 250
|
||||
x_res:1056
|
||||
y_res:250
|
||||
pixel_rate:24000
|
||||
h_timings:116,182,48,1056,48,86
|
||||
v_timings:3,16,20,250,20,3
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 1056 x 256 (50Hz)
|
||||
startmode
|
||||
mode_name:1056 x 256
|
||||
x_res:1056
|
||||
y_res:256
|
||||
pixel_rate:24000
|
||||
h_timings:116,182,48,1056,48,86
|
||||
v_timings:3,16,17,256,17,3
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# Interlaced modes
|
||||
|
||||
# 640 x 480 (25Hz)
|
||||
startmode
|
||||
mode_name:640 x 480
|
||||
x_res:640
|
||||
y_res:480
|
||||
pixel_rate:13500
|
||||
h_timings:74,70,40,640,40,0
|
||||
v_timings:3,19,24,240,24,2
|
||||
sync_pol:0
|
||||
interlaced
|
||||
endmode
|
||||
|
||||
# 704 x 576 (25Hz)
|
||||
# Used by Macrovision module
|
||||
startmode
|
||||
mode_name:704 x 576
|
||||
x_res:704
|
||||
y_res:576
|
||||
pixel_rate:13500
|
||||
h_timings:64,62,0,704,0,34
|
||||
v_timings:3,19,0,288,0,2
|
||||
sync_pol:0
|
||||
interlaced
|
||||
endmode
|
||||
|
||||
# 720 x 576 (25Hz)
|
||||
startmode
|
||||
mode_name:720 x 576
|
||||
x_res:720
|
||||
y_res:576
|
||||
pixel_rate:13500
|
||||
h_timings:74,70,0,720,0,0
|
||||
v_timings:3,19,0,288,0,2
|
||||
sync_pol:0
|
||||
interlaced
|
||||
endmode
|
||||
|
||||
# 768 x 576 (25Hz)
|
||||
startmode
|
||||
mode_name:768 x 576
|
||||
x_res:768
|
||||
y_res:576
|
||||
pixel_rate:15000
|
||||
h_timings:82,102,0,768,0,8
|
||||
v_timings:3,19,0,288,0,2
|
||||
sync_pol:0
|
||||
interlaced
|
||||
endmode
|
||||
|
414
sys/arch/acorn32/conf/monitors/Taxan875+LR
Normal file
414
sys/arch/acorn32/conf/monitors/Taxan875+LR
Normal file
@ -0,0 +1,414 @@
|
||||
# $NetBSD: Taxan875+LR,v 1.1 2001/10/05 22:27:48 reinoud Exp $
|
||||
#
|
||||
# Modefile written by !MakeModes version 0.19 (22-Aug-1994)
|
||||
# Monitor description file for Taxan 875+LR monitor
|
||||
# Line rate: 30 - 82 kHz
|
||||
# Frame rate: 50 - 120 Hz
|
||||
# Dot rate: Up to 135 MHz
|
||||
|
||||
file_format:1
|
||||
monitor_title:Taxan 875+LR
|
||||
DPMS_state:0
|
||||
|
||||
# Letterbox modes
|
||||
|
||||
# 240 x 352 (70Hz)
|
||||
startmode
|
||||
mode_name:
|
||||
x_res:240
|
||||
y_res:352
|
||||
pixel_rate:9440
|
||||
h_timings:20,16,8,240,8,8
|
||||
v_timings:2,58,0,352,0,37
|
||||
sync_pol:2
|
||||
endmode
|
||||
|
||||
# 320 x 250 (70Hz - Modes 6,7)
|
||||
startmode
|
||||
mode_name:
|
||||
x_res:320
|
||||
y_res:250
|
||||
pixel_rate:12587
|
||||
h_timings:42,14,12,320,12,0
|
||||
v_timings:2,109,0,250,0,88
|
||||
sync_pol:2
|
||||
endmode
|
||||
|
||||
# 320 x 256 (70Hz - Modes 1,2,5,9,10,13)
|
||||
startmode
|
||||
mode_name:
|
||||
x_res:320
|
||||
y_res:256
|
||||
pixel_rate:12587
|
||||
h_timings:42,14,12,320,12,0
|
||||
v_timings:2,106,0,256,0,85
|
||||
sync_pol:2
|
||||
endmode
|
||||
|
||||
# 384 x 288 (70Hz)
|
||||
startmode
|
||||
mode_name:
|
||||
x_res:384
|
||||
y_res:288
|
||||
pixel_rate:18881
|
||||
h_timings: 68,16,66,384,66,0
|
||||
v_timings: 2,58,32,288,32,37
|
||||
sync_pol:2
|
||||
endmode
|
||||
|
||||
# 480 x 352 (70Hz)
|
||||
startmode
|
||||
mode_name:480 x 352
|
||||
x_res:480
|
||||
y_res:352
|
||||
pixel_rate:18881
|
||||
h_timings: 68,16,18,480,18,0
|
||||
v_timings: 2,58,0,352,0,37
|
||||
sync_pol:2
|
||||
endmode
|
||||
|
||||
# 640 x 200 (70Hz - Modes 44,45,46)
|
||||
startmode
|
||||
mode_name:
|
||||
x_res:640
|
||||
y_res:200
|
||||
pixel_rate:25175
|
||||
h_timings:92,24,22,640,22,0
|
||||
v_timings:2,134,0,200,0,113
|
||||
sync_pol:2
|
||||
endmode
|
||||
|
||||
# 640 x 250 (70Hz - Modes 3,11,14)
|
||||
startmode
|
||||
mode_name:
|
||||
x_res:640
|
||||
y_res:250
|
||||
pixel_rate:25175
|
||||
h_timings:92,24,22,640,22,0
|
||||
v_timings:2,109,0,250,0,88
|
||||
sync_pol:2
|
||||
endmode
|
||||
|
||||
# 640 x 256 (70Hz - Modes 0,4,8,12,15)
|
||||
startmode
|
||||
mode_name:
|
||||
x_res:640
|
||||
y_res:256
|
||||
pixel_rate:25175
|
||||
h_timings:92,24,22,640,22,0
|
||||
v_timings:2,106,0,256,0,85
|
||||
sync_pol:2
|
||||
endmode
|
||||
|
||||
# 640 x 352 (70Hz - Modes 41,42,43)
|
||||
startmode
|
||||
mode_name:
|
||||
x_res:640
|
||||
y_res:352
|
||||
pixel_rate:25175
|
||||
h_timings:92,24,22,640,22,0
|
||||
v_timings:2,58,0,352,0,37
|
||||
sync_pol:2
|
||||
endmode
|
||||
|
||||
# Other modes (some also numbered)
|
||||
|
||||
# 320 x 480 (60Hz - Games modes 48,49)
|
||||
startmode
|
||||
mode_name:
|
||||
x_res:320
|
||||
y_res:480
|
||||
pixel_rate:12587
|
||||
h_timings:42,14,12,320,12,0
|
||||
v_timings:2,32,0,480,0,11
|
||||
sync_pol:3
|
||||
endmode
|
||||
|
||||
# 320 x 480 (72Hz)
|
||||
startmode
|
||||
mode_name:
|
||||
x_res:320
|
||||
y_res:480
|
||||
pixel_rate:15750
|
||||
h_timings:24,40,16,320,16,0
|
||||
v_timings:3,28,0,480,0,9
|
||||
sync_pol:3
|
||||
endmode
|
||||
|
||||
# 320 x 480 (75Hz)
|
||||
startmode
|
||||
mode_name:
|
||||
x_res:320
|
||||
y_res:480
|
||||
pixel_rate:15750
|
||||
h_timings:24,44,16,320,16,0
|
||||
v_timings:3,16,0,480,0,1
|
||||
sync_pol:3
|
||||
endmode
|
||||
|
||||
# 360 x 480 (60Hz - PCSoft mode 47)
|
||||
startmode
|
||||
mode_name:
|
||||
x_res:360
|
||||
y_res:480
|
||||
pixel_rate:16783
|
||||
h_timings:64,46,16,360,16,30
|
||||
v_timings:2,32,0,480,0,11
|
||||
sync_pol:3
|
||||
endmode
|
||||
|
||||
# 640 x 480 (60Hz - Modes 25,26,27,28)
|
||||
startmode
|
||||
mode_name:640 x 480
|
||||
x_res:640
|
||||
y_res:480
|
||||
pixel_rate:25175
|
||||
h_timings:94,22,22,640,22,0
|
||||
v_timings:2,32,0,480,0,11
|
||||
sync_pol:3
|
||||
endmode
|
||||
|
||||
# 640 x 480 (72Hz)
|
||||
startmode
|
||||
mode_name:640 x 480
|
||||
x_res:640
|
||||
y_res:480
|
||||
pixel_rate:31500
|
||||
h_timings:48,84,30,640,30,0
|
||||
# VESA:40,128,0,640,0,24
|
||||
v_timings:3,28,0,480,0,9
|
||||
sync_pol:3
|
||||
endmode
|
||||
|
||||
# 640 x 480 (75Hz)
|
||||
startmode
|
||||
mode_name:640 x 480
|
||||
x_res:640
|
||||
y_res:480
|
||||
pixel_rate:31500
|
||||
h_timings:64,76,30,640,30,0
|
||||
# VESA:64,120,0,640,0,16
|
||||
v_timings:3,16,0,480,0,1
|
||||
sync_pol:3
|
||||
endmode
|
||||
|
||||
# 800 x 600 (56Hz - Modes 29,30,31)
|
||||
startmode
|
||||
mode_name:800 x 600
|
||||
x_res:800
|
||||
y_res:600
|
||||
pixel_rate:36000
|
||||
h_timings:72,84,34,800,34,0
|
||||
# VESA:72,128,0,800,0,24
|
||||
v_timings:2,22,0,600,0,1
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 800 x 600 (60Hz)
|
||||
startmode
|
||||
mode_name:800 x 600
|
||||
x_res:800
|
||||
y_res:600
|
||||
pixel_rate:40000
|
||||
h_timings:128,48,40,800,40,0
|
||||
# VESA:128,88, 0,800,0,40
|
||||
v_timings:4,23,0,600,0,1
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 800 x 600 (72Hz)
|
||||
startmode
|
||||
mode_name:800 x 600
|
||||
x_res:800
|
||||
y_res:600
|
||||
pixel_rate:50000
|
||||
h_timings:100,42,42,800,42,14
|
||||
# VESA:120,64, 0,800,0,56
|
||||
v_timings:6,23,0,600,0,37
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# Stick with just the 72Hz mode as this is a factory default
|
||||
# 800 x 600 (75Hz)
|
||||
#startmode
|
||||
#mode_name:800 x 600
|
||||
#x_res:800
|
||||
#y_res:600
|
||||
#pixel_rate:49500
|
||||
#h_timings:80,92,42,800,42,0
|
||||
# VESA:80,160,0,800,0,16
|
||||
#v_timings:3,21,0,600,0,1
|
||||
#sync_pol:0
|
||||
#endmode
|
||||
|
||||
# 1024 x 768 (60Hz)
|
||||
startmode
|
||||
mode_name:1024 x 768
|
||||
x_res:1024
|
||||
y_res:768
|
||||
pixel_rate:65000
|
||||
h_timings:136,64,60,1024,60,0
|
||||
# VESA:136,160,0,1024,0,24
|
||||
v_timings:6,29,0,768,0,3
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 1024 x 768 (70Hz)
|
||||
startmode
|
||||
mode_name:1024 x 768
|
||||
x_res:1024
|
||||
y_res:768
|
||||
pixel_rate:75000
|
||||
h_timings:124,36,72,1024,72,0
|
||||
# VESA:136,144,0,1024,0,24
|
||||
v_timings:6,29,0,768,0,3
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# this has been removed so that it does not get selected for the 16 colour
|
||||
# version. 70Hz 1024x768 is a build in setting, 75Hz ain't !
|
||||
# 1024 x 768 (75Hz)
|
||||
#startmode
|
||||
#mode_name:1024 x 768
|
||||
#x_res:1024
|
||||
#y_res:768
|
||||
#pixel_rate:80310
|
||||
# VESA:78750
|
||||
#h_timings:122,86,30,1024,76,0
|
||||
# VESA: 96,176,0,1024,0,16
|
||||
#v_timings:3,28,0,768,0,1
|
||||
#sync_pol:0
|
||||
#endmode
|
||||
|
||||
# 1152 x 900 (53Hz)
|
||||
startmode
|
||||
mode_name:1152 x 900
|
||||
x_res:1152
|
||||
y_res:900
|
||||
pixel_rate:76000
|
||||
h_timings:152,64,60,1152,100,0
|
||||
v_timings:6,29,0,900,0,3
|
||||
sync_pol:3
|
||||
endmode
|
||||
|
||||
# 1152 x 900 (76Hz)
|
||||
startmode
|
||||
mode_name:1152 x 900
|
||||
x_res:1152
|
||||
y_res:900
|
||||
pixel_rate:117000
|
||||
h_timings:170,96,96,1152,104,12
|
||||
v_timings:3,33,0,900,0,3
|
||||
sync_pol:3
|
||||
endmode
|
||||
|
||||
# 1280 x 1024 (60Hz)
|
||||
startmode
|
||||
mode_name:1280 x 1024
|
||||
x_res:1280
|
||||
y_res:1024
|
||||
pixel_rate:110000
|
||||
h_timings:166,90,96,1280,96,0
|
||||
#h_timings:128,256,0,1280,0,64
|
||||
v_timings:3,32,0,1024,0,3
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# The taxan has a 70Hz 1280 x 768 build in just got to find it.
|
||||
# 1280 x 1024 (70Hz)
|
||||
startmode
|
||||
mode_name:1280 x 1024
|
||||
x_res:1280
|
||||
y_res:1024
|
||||
pixel_rate:128000
|
||||
h_timings:160,88,96,1280,96,0
|
||||
#h_timings:166,90,96,1280,96,0
|
||||
#h_timings:128,256,0,1280,0,64
|
||||
v_timings:3,32,0,1024,0,3
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# Pixel-doubled modes
|
||||
|
||||
# 1280 x 480 (60Hz)
|
||||
startmode
|
||||
mode_name:1280 x 480
|
||||
x_res:1280
|
||||
y_res:480
|
||||
pixel_rate:50350
|
||||
h_timings:188,44,44,1280,44,0
|
||||
v_timings:2,32,0,480,0,11
|
||||
sync_pol:3
|
||||
endmode
|
||||
|
||||
# 1280 x 480 (72Hz)
|
||||
startmode
|
||||
mode_name:1280 x 480
|
||||
x_res:1280
|
||||
y_res:480
|
||||
pixel_rate:63000
|
||||
h_timings:96,172,58,1280,58,0
|
||||
# VESA:80,256,0,1280,0,48
|
||||
v_timings:3,28,0,480,0,9
|
||||
sync_pol:3
|
||||
endmode
|
||||
|
||||
# 1280 x 480 (75Hz)
|
||||
startmode
|
||||
mode_name:1280 x 480
|
||||
x_res:1280
|
||||
y_res:480
|
||||
pixel_rate:63000
|
||||
h_timings:128,156,58,1280,58,0
|
||||
# VESA:128,240,0,1280,0,32
|
||||
v_timings:3,16,0,480,0,1
|
||||
sync_pol:3
|
||||
endmode
|
||||
|
||||
# 1600 x 600 (56Hz)
|
||||
startmode
|
||||
mode_name:1600 x 600
|
||||
x_res:1600
|
||||
y_res:600
|
||||
pixel_rate:72000
|
||||
h_timings:144,168,68,1600,68,0
|
||||
v_timings:2,22,0,600,0,1
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 1600 x 600 (60Hz)
|
||||
startmode
|
||||
mode_name:1600 x 600
|
||||
x_res:1600
|
||||
y_res:600
|
||||
pixel_rate:80000
|
||||
h_timings:256,98,78,1600,78,2
|
||||
# VESA:256,176, 0,1600,0,80
|
||||
v_timings:4,23,0,600,0,1
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 1600 x 600 (72Hz)
|
||||
startmode
|
||||
mode_name:1600 x 600
|
||||
x_res:1600
|
||||
y_res:600
|
||||
pixel_rate:100000
|
||||
h_timings:226,58,84,1600,84,28
|
||||
# VESA:240,128, 0,1600,0,112
|
||||
v_timings:6,23,0,600,0,37
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 1600 x 600 (75Hz)
|
||||
startmode
|
||||
mode_name:1600 x 600
|
||||
x_res:1600
|
||||
y_res:600
|
||||
pixel_rate:99000
|
||||
h_timings:160,188,82,1600,82,0
|
||||
# VESA:160,320,0,1600,0,32
|
||||
v_timings:3,21,0,600,0,1
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
171
sys/arch/acorn32/conf/monitors/VGA
Normal file
171
sys/arch/acorn32/conf/monitors/VGA
Normal file
@ -0,0 +1,171 @@
|
||||
# Modefile written by !MakeModes version 0.04 (30-Sep-93)
|
||||
|
||||
file_format:1
|
||||
monitor_title:Generic VGAPlus
|
||||
|
||||
# 320 x 250 (70Hz)
|
||||
startmode
|
||||
mode_name:320 x 250
|
||||
x_res:320
|
||||
y_res:250
|
||||
pixel_rate:12587
|
||||
h_timings:48,22,0,320,0,10
|
||||
v_timings:2,109,0,250,0,88
|
||||
sync_pol:2
|
||||
endmode
|
||||
|
||||
# 320 x 256 (70Hz)
|
||||
startmode
|
||||
mode_name:320 x 256
|
||||
x_res:320
|
||||
y_res:256
|
||||
pixel_rate:12587
|
||||
h_timings:48,22,0,320,0,10
|
||||
v_timings:2,106,0,256,0,85
|
||||
sync_pol:2
|
||||
endmode
|
||||
|
||||
# 320 x 480 (60Hz)
|
||||
startmode
|
||||
mode_name:320 x 480
|
||||
x_res:320
|
||||
y_res:480
|
||||
pixel_rate:12587
|
||||
h_timings:48,22,0,320,0,10
|
||||
v_timings:2,32,0,480,0,11
|
||||
sync_pol:3
|
||||
endmode
|
||||
|
||||
# 360 x 480 (60Hz)
|
||||
startmode
|
||||
mode_name:360 x 480
|
||||
x_res:360
|
||||
y_res:480
|
||||
pixel_rate:16783
|
||||
h_timings:64,62,0,360,0,46
|
||||
v_timings:2,32,0,480,0,11
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 640 x 200 (70Hz)
|
||||
startmode
|
||||
mode_name:640 x 200
|
||||
x_res:640
|
||||
y_res:200
|
||||
pixel_rate:25175
|
||||
h_timings:96,46,0,640,0,18
|
||||
v_timings:2,134,0,200,0,113
|
||||
sync_pol:2
|
||||
endmode
|
||||
|
||||
# 640 x 250 (70Hz)
|
||||
startmode
|
||||
mode_name:640 x 250
|
||||
x_res:640
|
||||
y_res:250
|
||||
pixel_rate:25175
|
||||
h_timings:96,46,0,640,0,18
|
||||
v_timings:2,109,0,250,0,88
|
||||
sync_pol:2
|
||||
endmode
|
||||
|
||||
# 640 x 256 (70Hz)
|
||||
startmode
|
||||
mode_name:640 x 256
|
||||
x_res:640
|
||||
y_res:256
|
||||
pixel_rate:25175
|
||||
h_timings:96,46,0,640,0,18
|
||||
v_timings:2,106,0,256,0,85
|
||||
sync_pol:2
|
||||
endmode
|
||||
|
||||
# 640 x 352 (70Hz)
|
||||
startmode
|
||||
mode_name:640 x 352
|
||||
x_res:640
|
||||
y_res:352
|
||||
pixel_rate:25175
|
||||
h_timings:96,46,0,640,0,18
|
||||
v_timings:2,58,0,352,0,37
|
||||
sync_pol:2
|
||||
endmode
|
||||
|
||||
# 640 x 480 (60Hz)
|
||||
startmode
|
||||
mode_name:640 x 480
|
||||
x_res:640
|
||||
y_res:480
|
||||
pixel_rate:25175
|
||||
h_timings:96,46,0,640,0,18
|
||||
v_timings:2,32,0,480,0,11
|
||||
sync_pol:3
|
||||
endmode
|
||||
|
||||
# 800 x 600 (56Hz)
|
||||
startmode
|
||||
mode_name:800 x 600
|
||||
x_res:800
|
||||
y_res:600
|
||||
pixel_rate:36000
|
||||
h_timings:72,114,14,800,14,10
|
||||
v_timings:2,22,0,600,0,1
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 800 x 600 (60Hz)
|
||||
startmode
|
||||
mode_name:800 x 600
|
||||
x_res:800
|
||||
y_res:600
|
||||
pixel_rate:40000
|
||||
h_timings:128,64,24,800,24,16
|
||||
v_timings:4,23,0,600,0,1
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 1024 x 768 (60Hz)
|
||||
startmode
|
||||
mode_name:1024 x 768
|
||||
x_res:1024
|
||||
y_res:768
|
||||
pixel_rate:65000
|
||||
h_timings:136,142,18,1024,18,6
|
||||
v_timings:6,29,0,768,0,3
|
||||
sync_pol:3
|
||||
endmode
|
||||
|
||||
# 1280 x 480 (60Hz)
|
||||
startmode
|
||||
mode_name:1280 x 480
|
||||
x_res:1280
|
||||
y_res:480
|
||||
pixel_rate:50350
|
||||
h_timings:192,92,0,1280,0,36
|
||||
v_timings:2,32,0,480,0,11
|
||||
sync_pol:3
|
||||
endmode
|
||||
|
||||
# 1600 x 600 (56Hz)
|
||||
startmode
|
||||
mode_name:1600 x 600
|
||||
x_res:1600
|
||||
y_res:600
|
||||
pixel_rate:72000
|
||||
h_timings:144,236,20,1600,20,28
|
||||
v_timings:2,22,0,600,0,1
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 1600 x 600 (60Hz)
|
||||
startmode
|
||||
mode_name:1600 x 600
|
||||
x_res:1600
|
||||
y_res:600
|
||||
pixel_rate:80000
|
||||
h_timings:256,130,46,1600,46,34
|
||||
v_timings:4,23,0,600,0,1
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# End
|
204
sys/arch/acorn32/conf/monitors/VGAPlus
Normal file
204
sys/arch/acorn32/conf/monitors/VGAPlus
Normal file
@ -0,0 +1,204 @@
|
||||
# Modefile written by !MakeModes version 0.04 (30-Sep-93)
|
||||
|
||||
file_format:1
|
||||
monitor_title:Generic VGAPlus
|
||||
|
||||
# 320 x 250 (70Hz)
|
||||
startmode
|
||||
mode_name:320 x 250
|
||||
x_res:320
|
||||
y_res:250
|
||||
pixel_rate:12587
|
||||
h_timings:48,22,0,320,0,10
|
||||
v_timings:2,109,0,250,0,88
|
||||
sync_pol:2
|
||||
endmode
|
||||
|
||||
# 320 x 256 (70Hz)
|
||||
startmode
|
||||
mode_name:320 x 256
|
||||
x_res:320
|
||||
y_res:256
|
||||
pixel_rate:12587
|
||||
h_timings:48,22,0,320,0,10
|
||||
v_timings:2,106,0,256,0,85
|
||||
sync_pol:2
|
||||
endmode
|
||||
|
||||
# 320 x 480 (60Hz)
|
||||
startmode
|
||||
mode_name:320 x 480
|
||||
x_res:320
|
||||
y_res:480
|
||||
pixel_rate:12587
|
||||
h_timings:48,22,0,320,0,10
|
||||
v_timings:2,32,0,480,0,11
|
||||
sync_pol:3
|
||||
endmode
|
||||
|
||||
# 360 x 480 (60Hz)
|
||||
startmode
|
||||
mode_name:360 x 480
|
||||
x_res:360
|
||||
y_res:480
|
||||
pixel_rate:16783
|
||||
h_timings:64,62,0,360,0,46
|
||||
v_timings:2,32,0,480,0,11
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 640 x 200 (70Hz)
|
||||
startmode
|
||||
mode_name:640 x 200
|
||||
x_res:640
|
||||
y_res:200
|
||||
pixel_rate:25175
|
||||
h_timings:96,46,0,640,0,18
|
||||
v_timings:2,134,0,200,0,113
|
||||
sync_pol:2
|
||||
endmode
|
||||
|
||||
# 640 x 250 (70Hz)
|
||||
startmode
|
||||
mode_name:640 x 250
|
||||
x_res:640
|
||||
y_res:250
|
||||
pixel_rate:25175
|
||||
h_timings:96,46,0,640,0,18
|
||||
v_timings:2,109,0,250,0,88
|
||||
sync_pol:2
|
||||
endmode
|
||||
|
||||
# 640 x 256 (70Hz)
|
||||
startmode
|
||||
mode_name:640 x 256
|
||||
x_res:640
|
||||
y_res:256
|
||||
pixel_rate:25175
|
||||
h_timings:96,46,0,640,0,18
|
||||
v_timings:2,106,0,256,0,85
|
||||
sync_pol:2
|
||||
endmode
|
||||
|
||||
# 640 x 352 (70Hz)
|
||||
startmode
|
||||
mode_name:640 x 352
|
||||
x_res:640
|
||||
y_res:352
|
||||
pixel_rate:25175
|
||||
h_timings:96,46,0,640,0,18
|
||||
v_timings:2,58,0,352,0,37
|
||||
sync_pol:2
|
||||
endmode
|
||||
|
||||
# 640 x 480 (60Hz)
|
||||
startmode
|
||||
mode_name:640 x 480
|
||||
x_res:640
|
||||
y_res:480
|
||||
pixel_rate:25175
|
||||
h_timings:96,46,0,640,0,18
|
||||
v_timings:2,32,0,480,0,11
|
||||
sync_pol:3
|
||||
endmode
|
||||
|
||||
# 640 x 480 (73Hz)
|
||||
startmode
|
||||
mode_name:640 x 480
|
||||
x_res:640
|
||||
y_res:480
|
||||
pixel_rate:31500
|
||||
h_timings:40,120,8,640,8,16
|
||||
v_timings:3,28,0,480,0,9
|
||||
sync_pol:3
|
||||
endmode
|
||||
|
||||
# 800 x 600 (56Hz)
|
||||
startmode
|
||||
mode_name:800 x 600
|
||||
x_res:800
|
||||
y_res:600
|
||||
pixel_rate:36000
|
||||
h_timings:72,114,14,800,14,10
|
||||
v_timings:2,22,0,600,0,1
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 800 x 600 (60Hz)
|
||||
startmode
|
||||
mode_name:800 x 600
|
||||
x_res:800
|
||||
y_res:600
|
||||
pixel_rate:40000
|
||||
h_timings:128,64,24,800,24,16
|
||||
v_timings:4,23,0,600,0,1
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 800 x 600 (72Hz)
|
||||
startmode
|
||||
mode_name:800 x 600
|
||||
x_res:800
|
||||
y_res:600
|
||||
pixel_rate:50000
|
||||
h_timings:120,54,10,800,10,46
|
||||
v_timings:6,23,0,600,0,37
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 1024 x 768 (60Hz)
|
||||
startmode
|
||||
mode_name:1024 x 768
|
||||
x_res:1024
|
||||
y_res:768
|
||||
pixel_rate:65000
|
||||
h_timings:136,142,18,1024,18,6
|
||||
v_timings:6,29,0,768,0,3
|
||||
sync_pol:3
|
||||
endmode
|
||||
|
||||
# 1280 x 480 (60Hz)
|
||||
startmode
|
||||
mode_name:1280 x 480
|
||||
x_res:1280
|
||||
y_res:480
|
||||
pixel_rate:50350
|
||||
h_timings:192,92,0,1280,0,36
|
||||
v_timings:2,32,0,480,0,11
|
||||
sync_pol:3
|
||||
endmode
|
||||
|
||||
# 1600 x 600 (56Hz)
|
||||
startmode
|
||||
mode_name:1600 x 600
|
||||
x_res:1600
|
||||
y_res:600
|
||||
pixel_rate:72000
|
||||
h_timings:144,236,20,1600,20,28
|
||||
v_timings:2,22,0,600,0,1
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 1600 x 600 (60Hz)
|
||||
startmode
|
||||
mode_name:1600 x 600
|
||||
x_res:1600
|
||||
y_res:600
|
||||
pixel_rate:80000
|
||||
h_timings:256,130,46,1600,46,34
|
||||
v_timings:4,23,0,600,0,1
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# 1600 x 600 (72Hz)
|
||||
startmode
|
||||
mode_name:1600 x 600
|
||||
x_res:1600
|
||||
y_res:600
|
||||
pixel_rate:100000
|
||||
h_timings:240,108,20,1600,20,92
|
||||
v_timings:6,23,0,600,0,37
|
||||
sync_pol:0
|
||||
endmode
|
||||
|
||||
# End
|
12
sys/arch/acorn32/conf/std.acorn32
Normal file
12
sys/arch/acorn32/conf/std.acorn32
Normal file
@ -0,0 +1,12 @@
|
||||
# $NetBSD: std.acorn32,v 1.1 2001/10/05 22:27:47 reinoud Exp $
|
||||
#
|
||||
# standard NetBSD/arm32 options
|
||||
|
||||
machine acorn32 arm
|
||||
|
||||
options EXEC_AOUT
|
||||
options EXEC_ELF32
|
||||
options EXEC_SCRIPT
|
||||
|
||||
# To support easy transit to ../arch/arm/arm32
|
||||
options ARM32
|
107
sys/arch/acorn32/dev/md_hooks.c
Normal file
107
sys/arch/acorn32/dev/md_hooks.c
Normal file
@ -0,0 +1,107 @@
|
||||
/* $NetBSD: md_hooks.c,v 1.1 2001/10/05 22:27:48 reinoud Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1995 Gordon W. Ross
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. The name of the author may not be used to endorse or promote products
|
||||
* derived from this software without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include "opt_md.h"
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/reboot.h>
|
||||
#include <sys/device.h>
|
||||
#include <sys/systm.h>
|
||||
|
||||
#include <uvm/uvm_extern.h>
|
||||
|
||||
#include <dev/md.h>
|
||||
|
||||
#include "opt_mdsize.h"
|
||||
|
||||
#ifdef MINIROOTSIZE
|
||||
#define ROOTBYTES (MINIROOTSIZE << DEV_BSHIFT)
|
||||
|
||||
/*
|
||||
* This array will be patched to contain a file-system image.
|
||||
* See the program: src/distrib/sun3/common/rdsetroot.c
|
||||
*/
|
||||
int md_root_size = ROOTBYTES;
|
||||
char md_root_image[ROOTBYTES] = "|This is the root ramdisk!\n";
|
||||
|
||||
#else /* MINIROOTSIZE */
|
||||
|
||||
u_int memory_disc_size = 0; /* set by machdep.c */
|
||||
static struct md_conf *bootmd = NULL;
|
||||
|
||||
extern int load_memory_disc_from_floppy __P((struct md_conf *md, dev_t dev));
|
||||
|
||||
#include "fdc.h"
|
||||
#endif /* MINIROOTSIZE */
|
||||
|
||||
void
|
||||
md_attach_hook(unit, md)
|
||||
int unit;
|
||||
struct md_conf *md;
|
||||
{
|
||||
if (unit == 0) {
|
||||
#ifdef MINIROOTSIZE
|
||||
/* Setup root ramdisk */
|
||||
md->md_addr = (caddr_t) md_root_image;
|
||||
md->md_size = (size_t) md_root_size;
|
||||
md->md_type = MD_KMEM_FIXED;
|
||||
#else /* MINIROOTSIZE */
|
||||
#ifdef MEMORY_DISK_SIZE
|
||||
if (memory_disc_size == 0 && MEMORY_DISK_SIZE)
|
||||
memory_disc_size = (MEMORY_DISK_SIZE << DEV_BSHIFT);
|
||||
#endif /* MEMORY_DISK_SIZE */
|
||||
if (memory_disc_size != 0) {
|
||||
md->md_size = round_page(memory_disc_size);
|
||||
md->md_addr = (caddr_t)uvm_km_zalloc(kernel_map, memory_disc_size);
|
||||
md->md_type = MD_KMEM_FIXED;
|
||||
bootmd = md;
|
||||
}
|
||||
#endif /* MINIROOTSIZE */
|
||||
printf("md%d: allocated %ldK (%ld blocks)\n", unit, (long)md->md_size / 1024, (long)md->md_size / DEV_BSIZE);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* This is called during open (i.e. mountroot)
|
||||
*/
|
||||
|
||||
void
|
||||
md_open_hook(unit, md)
|
||||
int unit;
|
||||
struct md_conf *md;
|
||||
{
|
||||
if (unit == 0) {
|
||||
/* The root memory disk only works single-user. */
|
||||
boothowto |= RB_SINGLE;
|
||||
#if !defined(MINIROOTSIZE) && NFDC > 0
|
||||
load_memory_disc_from_floppy(bootmd, makedev(17, 1)); /* XXX 1.44MB FD */
|
||||
#endif
|
||||
}
|
||||
}
|
178
sys/arch/acorn32/dev/wskbdmap_mfii.c
Normal file
178
sys/arch/acorn32/dev/wskbdmap_mfii.c
Normal file
@ -0,0 +1,178 @@
|
||||
/* $NetBSD: wskbdmap_mfii.c,v 1.1 2001/10/05 22:27:48 reinoud Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2001 The NetBSD Foundation, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This code is derived from software contributed to The NetBSD Foundation
|
||||
* by Reinoud Zandijk
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. All advertising materials mentioning features or use of this software
|
||||
* must display the following acknowledgement:
|
||||
* This product includes software developed by the NetBSD
|
||||
* Foundation, Inc. and its contributors.
|
||||
* 4. Neither the name of The NetBSD Foundation nor the names of its
|
||||
* contributors may be used to endorse or promote products derived
|
||||
* from this software without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
|
||||
* ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
|
||||
* TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
|
||||
* BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||||
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* Created the RiscPC keyboard table on base of the XT table origionaly
|
||||
* created by Juergen Hannken-Illjes.
|
||||
*/
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <dev/wscons/wsksymdef.h>
|
||||
#include <dev/wscons/wsksymvar.h>
|
||||
#include <arm/iomd/wskbdmap_mfii.h>
|
||||
|
||||
#define KC(n) KS_KEYCODE(n)
|
||||
|
||||
static const keysym_t rpckbd_keydesc_uk[] = {
|
||||
/* pos command normal shifted altgr shift-altgr */
|
||||
KC(118), KS_Cmd_Debugger, KS_Escape,
|
||||
|
||||
KC(22), KS_1, KS_exclam, KS_plusminus, KS_exclamdown,
|
||||
KC(30), KS_2, KS_quotedbl, KS_twosuperior, KS_cent,
|
||||
KC(38), KS_3, KS_sterling, KS_threesuperior,
|
||||
KC(37), KS_4, KS_dollar, KS_acute, KS_currency,
|
||||
KC(46), KS_5, KS_percent, KS_mu, KS_yen,
|
||||
KC(54), KS_6, KS_asciicircum, KS_paragraph,
|
||||
KC(61), KS_7, KS_ampersand, KS_periodcentered,
|
||||
KC(62), KS_8, KS_asterisk, KS_cedilla, KS_ordfeminine,
|
||||
KC(70), KS_9, KS_parenleft, KS_onesuperior, KS_diaeresis,
|
||||
KC(69), KS_0, KS_parenright, KS_masculine, KS_copyright,
|
||||
KC(78), KS_minus, KS_underscore, KS_hyphen, KS_ssharp,
|
||||
KC(85), KS_equal, KS_plus, KS_onehalf, KS_guillemotleft,
|
||||
KC(14), KS_grave, KS_notsign, KS_brokenbar,
|
||||
KC(102), KS_Cmd_ResetEmul, KS_Delete,
|
||||
KC(13), KS_Tab,
|
||||
KC(21), KS_q,
|
||||
KC(29), KS_w,
|
||||
KC(36), KS_e,
|
||||
KC(45), KS_r,
|
||||
KC(44), KS_t,
|
||||
KC(53), KS_y,
|
||||
KC(60), KS_u,
|
||||
KC(67), KS_i,
|
||||
KC(68), KS_o,
|
||||
KC(77), KS_p,
|
||||
KC(84), KS_bracketleft, KS_braceleft,
|
||||
KC(91), KS_bracketright, KS_braceright,
|
||||
KC(90), KS_Return,
|
||||
KC(20), KS_Cmd1, KS_Control_L,
|
||||
KC(28), KS_a,
|
||||
KC(27), KS_s,
|
||||
KC(35), KS_d,
|
||||
KC(43), KS_f,
|
||||
KC(52), KS_g,
|
||||
KC(51), KS_h,
|
||||
KC(59), KS_j,
|
||||
KC(66), KS_k,
|
||||
KC(75), KS_l,
|
||||
KC(76), KS_semicolon, KS_colon,
|
||||
KC(82), KS_apostrophe, KS_at, KS_section, KS_Agrave,
|
||||
KC(93), KS_numbersign, KS_asciitilde, KS_sterling, KS_thorn,
|
||||
KC(18), KS_Shift_L,
|
||||
KC(97), KS_backslash, KS_bar,
|
||||
KC(26), KS_z,
|
||||
KC(34), KS_x,
|
||||
KC(33), KS_c,
|
||||
KC(42), KS_v,
|
||||
KC(50), KS_b,
|
||||
KC(49), KS_n,
|
||||
KC(58), KS_m,
|
||||
KC(65), KS_comma, KS_less,
|
||||
KC(73), KS_period, KS_greater,
|
||||
KC(74), KS_slash, KS_question,
|
||||
KC(89), KS_Shift_R,
|
||||
KC(124), KS_KP_Multiply,
|
||||
KC(17), KS_Cmd2, KS_Alt_L, KS_Meta_L,
|
||||
KC(41), KS_space,
|
||||
KC(88), KS_Caps_Lock,
|
||||
KC(5), KS_Cmd_Screen0, KS_f1,
|
||||
KC(6), KS_Cmd_Screen1, KS_f2,
|
||||
KC(4), KS_Cmd_Screen2, KS_f3,
|
||||
KC(12), KS_Cmd_Screen3, KS_f4,
|
||||
KC(3), KS_Cmd_Screen4, KS_f5,
|
||||
KC(11), KS_Cmd_Screen5, KS_f6,
|
||||
KC(131), KS_Cmd_Screen6, KS_f7,
|
||||
KC(10), KS_Cmd_Screen7, KS_f8,
|
||||
KC(1), KS_Cmd_Screen8, KS_f9,
|
||||
KC(9), KS_Cmd_Screen9, KS_f10,
|
||||
KC(119), KS_Num_Lock,
|
||||
KC(126), KS_Hold_Screen,
|
||||
KC(108), KS_KP_Home, KS_KP_7,
|
||||
KC(117), KS_KP_Up, KS_KP_8,
|
||||
KC(125), KS_KP_Prior, KS_KP_9,
|
||||
KC(123), KS_KP_Subtract,
|
||||
KC(107), KS_KP_Left, KS_KP_4,
|
||||
KC(115), KS_KP_Begin, KS_KP_5,
|
||||
KC(116), KS_KP_Right, KS_KP_6,
|
||||
KC(121), KS_KP_Add,
|
||||
KC(105), KS_KP_End, KS_KP_1,
|
||||
KC(114), KS_KP_Down, KS_KP_2,
|
||||
KC(122), KS_KP_Next, KS_KP_3,
|
||||
KC(112), KS_KP_Insert, KS_KP_0,
|
||||
KC(113), KS_KP_Delete, KS_KP_Decimal,
|
||||
KC(120), KS_f11,
|
||||
KC(7), KS_f12,
|
||||
KC(127), KS_Pause, /* Break */ /* XXX fixme XXX */
|
||||
KC(346), KS_KP_Enter,
|
||||
KC(276), KS_Control_R,
|
||||
KC(380), KS_Print_Screen,
|
||||
KC(330), KS_KP_Divide,
|
||||
KC(380), KS_Print_Screen,
|
||||
/* pos command normal shifted altgr shift-altgr */
|
||||
KC(273), KS_Mode_switch, KS_Mode_switch, KS_Mode_switch, KS_Multi_key,
|
||||
#if 0
|
||||
KC(198), KS_Cmd_ResetClose, /* CTL-Break */ /* XXX fixme XXX */
|
||||
#endif
|
||||
KC(364), KS_Home,
|
||||
KC(373), KS_Up,
|
||||
KC(381), KS_Prior,
|
||||
KC(363), KS_Left,
|
||||
KC(372), KS_Right,
|
||||
KC(361), KS_End,
|
||||
KC(370), KS_Down,
|
||||
KC(378), KS_Next,
|
||||
KC(368), KS_Insert,
|
||||
KC(369), KS_Delete,
|
||||
#if 0 /* dunno what to map this one too */
|
||||
KC(221), KS_Menu,
|
||||
#endif
|
||||
};
|
||||
|
||||
|
||||
#define KBD_MAP(name, base, map) \
|
||||
{ name, base, sizeof(map)/sizeof(keysym_t), map }
|
||||
/* KBD_NULLMAP generates a entry for machine native variant.
|
||||
the entry will be modified by machine dependent keyboard driver. */
|
||||
#define KBD_NULLMAP(name, base) { name, base, 0, 0 }
|
||||
|
||||
const struct wscons_keydesc rpckbd_keydesctab[] = {
|
||||
KBD_MAP(KB_UK, 0, rpckbd_keydesc_uk),
|
||||
{0, 0, 0, 0}
|
||||
};
|
||||
|
||||
#undef KBD_MAP
|
||||
#undef KC
|
||||
|
26
sys/arch/acorn32/include/Makefile
Normal file
26
sys/arch/acorn32/include/Makefile
Normal file
@ -0,0 +1,26 @@
|
||||
# $NetBSD: Makefile,v 1.1 2001/10/05 22:27:48 reinoud Exp $
|
||||
|
||||
KDIR= /sys/arch/acorn32/include
|
||||
INCSDIR= /usr/include/acorn32
|
||||
|
||||
INCS= ansi.h aout_machdep.h asm.h \
|
||||
beep.h bootconfig.h bswap.h bus.h \
|
||||
cdefs.h conf.h cpu.h cpufunc.h cpus.h \
|
||||
db_machdep.h devmap.h disklabel.h disklabel_acorn.h \
|
||||
elf_machdep.h endian.h endian_machdep.h \
|
||||
float.h fp.h frame.h \
|
||||
ieee.h ieeefp.h iic.h \
|
||||
int_const.h int_fmtio.h int_limits.h int_mwgwtypes.h int_types.h \
|
||||
intr.h io.h ipkdb.h irqhandler.h \
|
||||
joystick.h \
|
||||
katelib.h kbd.h \
|
||||
limits.h lock.h \
|
||||
math.h mouse.h \
|
||||
param.h pcb.h pmap.h proc.h profile.h psl.h pte.h ptrace.h \
|
||||
reg.h rtc.h \
|
||||
setjmp.h signal.h stdarg.h sysarch.h \
|
||||
trap.h types.h \
|
||||
undefined.h \
|
||||
varargs.h vconsole.h vidc.h vmparam.h
|
||||
|
||||
.include <bsd.kinc.mk>
|
3
sys/arch/acorn32/include/ansi.h
Normal file
3
sys/arch/acorn32/include/ansi.h
Normal file
@ -0,0 +1,3 @@
|
||||
/* $NetBSD: ansi.h,v 1.1 2001/10/05 22:27:48 reinoud Exp $ */
|
||||
|
||||
#include <arm/ansi.h>
|
3
sys/arch/acorn32/include/aout_machdep.h
Normal file
3
sys/arch/acorn32/include/aout_machdep.h
Normal file
@ -0,0 +1,3 @@
|
||||
/* $NetBSD: aout_machdep.h,v 1.1 2001/10/05 22:27:48 reinoud Exp $ */
|
||||
|
||||
#include <arm/aout_machdep.h>
|
3
sys/arch/acorn32/include/asm.h
Normal file
3
sys/arch/acorn32/include/asm.h
Normal file
@ -0,0 +1,3 @@
|
||||
/* $NetBSD: asm.h,v 1.1 2001/10/05 22:27:49 reinoud Exp $ */
|
||||
|
||||
#include <arm/asm.h>
|
43
sys/arch/acorn32/include/beep.h
Normal file
43
sys/arch/acorn32/include/beep.h
Normal file
@ -0,0 +1,43 @@
|
||||
/* $NetBSD: beep.h,v 1.1 2001/10/05 22:27:49 reinoud Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) Mark Brinicombe 1995 All rights reserved
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. All advertising materials mentioning features or use of this software
|
||||
* must display the following acknowledgement:
|
||||
* This product includes software developed by the RiscBSD team.
|
||||
* 4. The name of the author may not be used to endorse or promote products
|
||||
* derived from this software without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
struct wavebuffer {
|
||||
caddr_t addr;
|
||||
int size;
|
||||
};
|
||||
|
||||
#define BEEP_GENERATE _IO ( 'B', 100)
|
||||
#define BEEP_SETRATE _IO ( 'B', 101)
|
||||
#define BEEP_SET _IOW ( 'B', 102, struct wavebuffer )
|
||||
|
||||
/* End of beep.h */
|
110
sys/arch/acorn32/include/bootconfig.h
Normal file
110
sys/arch/acorn32/include/bootconfig.h
Normal file
@ -0,0 +1,110 @@
|
||||
/* $NetBSD: bootconfig.h,v 1.1 2001/10/05 22:27:49 reinoud Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1994 Mark Brinicombe.
|
||||
* Copyright (c) 1994 Brini.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This code is derived from software written for Brini by Mark Brinicombe
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. All advertising materials mentioning features or use of this software
|
||||
* must display the following acknowledgement:
|
||||
* This product includes software developed by Mark Brinicombe
|
||||
* for the NetBSD Project.
|
||||
* 4. The name of the company nor the name of the author may be used to
|
||||
* endorse or promote products derived from this software without specific
|
||||
* prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
|
||||
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
* IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
|
||||
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* boot configuration structures
|
||||
*
|
||||
* Created : 12/09/94
|
||||
*
|
||||
* Based on kate/boot/bootconfig.h
|
||||
*/
|
||||
|
||||
#include "opt_footbridge.h"
|
||||
|
||||
typedef struct _PhysMem {
|
||||
u_int address;
|
||||
u_int pages;
|
||||
} PhysMem;
|
||||
|
||||
#if defined(_KERNEL)
|
||||
|
||||
#define DRAM_BLOCKS 4
|
||||
typedef struct _BootConfig {
|
||||
u_int kernvirtualbase;
|
||||
u_int kernphysicalbase;
|
||||
u_int kernsize;
|
||||
u_int argvirtualbase;
|
||||
u_int argphysicalbase;
|
||||
u_int argsize;
|
||||
u_int scratchvirtualbase;
|
||||
u_int scratchphysicalbase;
|
||||
u_int scratchsize;
|
||||
|
||||
u_int display_start;
|
||||
u_int display_size;
|
||||
u_int width;
|
||||
u_int height;
|
||||
u_int log2_bpp;
|
||||
|
||||
PhysMem dram[DRAM_BLOCKS];
|
||||
PhysMem vram[1];
|
||||
|
||||
u_int dramblocks;
|
||||
u_int vramblocks;
|
||||
u_int pagesize;
|
||||
u_int drampages;
|
||||
u_int vrampages;
|
||||
|
||||
char kernelname[80];
|
||||
|
||||
u_int framerate;
|
||||
u_char machine_id[4];
|
||||
u_int magic;
|
||||
u_int display_phys;
|
||||
} BootConfig;
|
||||
|
||||
#define OLD_BOOTCONFIG_MAGIC 0x42301068
|
||||
#define BOOTCONFIG_MAGIC 0x43112233
|
||||
|
||||
extern BootConfig bootconfig;
|
||||
#endif /* _KERNEL */
|
||||
|
||||
|
||||
#ifdef _KERNEL
|
||||
#define BOOTOPT_TYPE_BOOLEAN 0
|
||||
#define BOOTOPT_TYPE_STRING 1
|
||||
#define BOOTOPT_TYPE_INT 2
|
||||
#define BOOTOPT_TYPE_BININT 3
|
||||
#define BOOTOPT_TYPE_HEXINT 4
|
||||
#define BOOTOPT_TYPE_MASK 7
|
||||
|
||||
int get_bootconf_option __P((char *string, char *option, int type, void *result));
|
||||
|
||||
extern char *boot_args;
|
||||
extern char *boot_file;
|
||||
#endif /* _KERNEL */
|
||||
|
||||
/* End of bootconfig.h */
|
3
sys/arch/acorn32/include/bswap.h
Normal file
3
sys/arch/acorn32/include/bswap.h
Normal file
@ -0,0 +1,3 @@
|
||||
/* $NetBSD: bswap.h,v 1.1 2001/10/05 22:27:49 reinoud Exp $ */
|
||||
|
||||
#include <arm/bswap.h>
|
4
sys/arch/acorn32/include/bus.h
Normal file
4
sys/arch/acorn32/include/bus.h
Normal file
@ -0,0 +1,4 @@
|
||||
/* $NetBSD: bus.h,v 1.1 2001/10/05 22:27:49 reinoud Exp $ */
|
||||
|
||||
#include <arm/bus.h>
|
||||
|
3
sys/arch/acorn32/include/cdefs.h
Normal file
3
sys/arch/acorn32/include/cdefs.h
Normal file
@ -0,0 +1,3 @@
|
||||
/* $NetBSD: cdefs.h,v 1.1 2001/10/05 22:27:49 reinoud Exp $ */
|
||||
|
||||
#include <arm/cdefs.h>
|
110
sys/arch/acorn32/include/conf.h
Normal file
110
sys/arch/acorn32/include/conf.h
Normal file
@ -0,0 +1,110 @@
|
||||
/* $NetBSD: conf.h,v 1.1 2001/10/05 22:27:49 reinoud Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1997 Mark Brinicombe.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. All advertising materials mentioning features or use of this software
|
||||
* must display the following acknowledgement:
|
||||
* This product includes software developed by Mark Brinicombe
|
||||
* for the NetBSD Project.
|
||||
* 4. The name of the company nor the name of the author may be used to
|
||||
* endorse or promote products derived from this software without specific
|
||||
* prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
|
||||
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
* IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
|
||||
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* RiscBSD kernel project
|
||||
*
|
||||
* conf.h
|
||||
*
|
||||
* Prototypes for device driver functions
|
||||
*/
|
||||
|
||||
#include <sys/conf.h>
|
||||
|
||||
bdev_decl(wd);
|
||||
cdev_decl(wd);
|
||||
bdev_decl(sw);
|
||||
cdev_decl(sw);
|
||||
bdev_decl(fd);
|
||||
cdev_decl(fd);
|
||||
bdev_decl(md);
|
||||
cdev_decl(md);
|
||||
bdev_decl(raid);
|
||||
cdev_decl(raid);
|
||||
|
||||
/* Character device declarations */
|
||||
|
||||
/* open, close, read, write, ioctl, tty, mmap -- XXX should be a tty */
|
||||
#define cdev_physcon_init(c,n) cdev__ttym_init(c,n,0)
|
||||
|
||||
/* open, close, ioctl */
|
||||
#define cdev_beep_init(c,n) cdev__oci_init(c,n)
|
||||
|
||||
/* open, close, read, ioctl */
|
||||
#define cdev_kbd_init(c,n) cdev__ocri_init(c,n)
|
||||
|
||||
/* open, close, ioctl, mmap */
|
||||
#define cdev_vidcvid_init(c,n) { \
|
||||
dev_init(c,n,open), dev_init(c,n,close), dev_noimpl(read,enodev), \
|
||||
dev_noimpl(write,enodev), dev_init(c,n,ioctl), \
|
||||
dev_noimpl(stop,enodev), 0, seltrue, dev_init(c,n,mmap), 0 }
|
||||
|
||||
/* open, close, read, write, ioctl */
|
||||
#define cdev_iic_init(c,n) cdev__ocrwi_init(c,n)
|
||||
#define cdev_rtc_init(c,n) cdev__ocrwi_init(c,n)
|
||||
|
||||
/* open, close, read, ioctl */
|
||||
#define cdev_prof_init(c,n) cdev__ocri_init(c,n)
|
||||
|
||||
#define mmread mmrw
|
||||
#define mmwrite mmrw
|
||||
cdev_decl(mm);
|
||||
|
||||
cdev_decl(physcon);
|
||||
cdev_decl(vidcconsole);
|
||||
cdev_decl(com);
|
||||
cdev_decl(lpt);
|
||||
cdev_decl(qms);
|
||||
cdev_decl(pms);
|
||||
cdev_decl(beep);
|
||||
cdev_decl(kbd);
|
||||
cdev_decl(iic);
|
||||
cdev_decl(rtc);
|
||||
cdev_decl(fcom);
|
||||
cdev_decl(pc);
|
||||
cdev_decl(scr);
|
||||
cdev_decl(prof);
|
||||
cdev_decl(usb);
|
||||
cdev_decl(uhid);
|
||||
cdev_decl(ugen);
|
||||
cdev_decl(ulpt);
|
||||
cdev_decl(ucom);
|
||||
cdev_decl(urio);
|
||||
cdev_decl(uscanner);
|
||||
cdev_decl(vc_nb_);
|
||||
cdev_decl(wsdisplay);
|
||||
cdev_decl(wskbd);
|
||||
cdev_decl(wsmouse);
|
||||
cdev_decl(wsmux);
|
||||
cdev_decl(scsibus);
|
||||
cdev_decl(openfirm);
|
3
sys/arch/acorn32/include/cpu.h
Normal file
3
sys/arch/acorn32/include/cpu.h
Normal file
@ -0,0 +1,3 @@
|
||||
/* $NetBSD: cpu.h,v 1.1 2001/10/05 22:27:49 reinoud Exp $ */
|
||||
|
||||
#include <arm/cpu.h>
|
4
sys/arch/acorn32/include/cpufunc.h
Normal file
4
sys/arch/acorn32/include/cpufunc.h
Normal file
@ -0,0 +1,4 @@
|
||||
/* $NetBSD: cpufunc.h,v 1.1 2001/10/05 22:27:49 reinoud Exp $ */
|
||||
|
||||
#include <arm/cpufunc.h>
|
||||
|
4
sys/arch/acorn32/include/cpus.h
Normal file
4
sys/arch/acorn32/include/cpus.h
Normal file
@ -0,0 +1,4 @@
|
||||
/* $NetBSD: cpus.h,v 1.1 2001/10/05 22:27:49 reinoud Exp $ */
|
||||
|
||||
#include <arm/cpus.h>
|
||||
|
4
sys/arch/acorn32/include/db_machdep.h
Normal file
4
sys/arch/acorn32/include/db_machdep.h
Normal file
@ -0,0 +1,4 @@
|
||||
/* $NetBSD: db_machdep.h,v 1.1 2001/10/05 22:27:49 reinoud Exp $ */
|
||||
|
||||
#include <arm/db_machdep.h>
|
||||
|
78
sys/arch/acorn32/include/devmap.h
Normal file
78
sys/arch/acorn32/include/devmap.h
Normal file
@ -0,0 +1,78 @@
|
||||
/* $NetBSD: devmap.h,v 1.1 2001/10/05 22:27:49 reinoud Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 1997
|
||||
* Digital Equipment Corporation. All rights reserved.
|
||||
*
|
||||
* This software is furnished under license and may be used and
|
||||
* copied only in accordance with the following terms and conditions.
|
||||
* Subject to these conditions, you may download, copy, install,
|
||||
* use, modify and distribute this software in source and/or binary
|
||||
* form. No title or ownership is transferred hereby.
|
||||
*
|
||||
* 1) Any source code used, modified or distributed must reproduce
|
||||
* and retain this copyright notice and list of conditions as
|
||||
* they appear in the source file.
|
||||
*
|
||||
* 2) No right is granted to use any trade name, trademark, or logo of
|
||||
* Digital Equipment Corporation. Neither the "Digital Equipment
|
||||
* Corporation" name nor any trademark or logo of Digital Equipment
|
||||
* Corporation may be used to endorse or promote products derived
|
||||
* from this software without the prior written permission of
|
||||
* Digital Equipment Corporation.
|
||||
*
|
||||
* 3) This software is provided "AS-IS" and any express or implied
|
||||
* warranties, including but not limited to, any implied warranties
|
||||
* of merchantability, fitness for a particular purpose, or
|
||||
* non-infringement are disclaimed. In no event shall DIGITAL be
|
||||
* liable for any damages whatsoever, and in particular, DIGITAL
|
||||
* shall not be liable for special, indirect, consequential, or
|
||||
* incidental damages or damages for lost profits, loss of
|
||||
* revenue or loss of use, whether such damages arise in contract,
|
||||
* negligence, tort, under statute, in equity, at law or otherwise,
|
||||
* even if advised of the possibility of such damage.
|
||||
*/
|
||||
|
||||
/*
|
||||
** devmap.h -- device memory mapping definitions
|
||||
**
|
||||
** <-----------------map size------------------------->
|
||||
** <--internal offset--><--internal size-->
|
||||
** |--------------------|------------------|----------|
|
||||
** v v v v
|
||||
** page device device page
|
||||
** start memory memory end
|
||||
** (map offset) start end
|
||||
*/
|
||||
|
||||
#ifndef _DEVMAP_H_
|
||||
#define _DEVMAP_H_
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
#define MAP_INFO_UNKNOWN -1
|
||||
#define MAP_IOCTL 0
|
||||
#define MAP_MMAP 1
|
||||
#define MAP_I386_IOMAP 3
|
||||
|
||||
struct map_info {
|
||||
int method; /* Mapping method - eg. IOCTL, MMAP, or I386_IOMAP */
|
||||
u_long size; /* size of region, in bus-space units */
|
||||
union {
|
||||
long maxmapinfo[64/sizeof(long)];
|
||||
struct {
|
||||
int placeholder; /* nothing needed */
|
||||
} map_info_ioctl; /* used for ioctl method */
|
||||
struct {
|
||||
off_t map_offset; /* offset to be given to mmap, page aligned */
|
||||
size_t map_size; /* size to be given to mmap, page aligned */
|
||||
off_t internal_offset; /* internal offset in mapped rgn to data */
|
||||
size_t internal_size; /* actual size of accessible region */
|
||||
} map_info_mmap; /* used for mmap'd methods */
|
||||
struct {
|
||||
u_long start_port;
|
||||
} map_info_i386_iomap;
|
||||
} u;
|
||||
};
|
||||
|
||||
#endif /* _DEVMAP_H_ */
|
3
sys/arch/acorn32/include/disklabel.h
Normal file
3
sys/arch/acorn32/include/disklabel.h
Normal file
@ -0,0 +1,3 @@
|
||||
/* $NetBSD: disklabel.h,v 1.1 2001/10/05 22:27:49 reinoud Exp $ */
|
||||
|
||||
#include <arm/disklabel.h>
|
3
sys/arch/acorn32/include/disklabel_acorn.h
Normal file
3
sys/arch/acorn32/include/disklabel_acorn.h
Normal file
@ -0,0 +1,3 @@
|
||||
/* $NetBSD: disklabel_acorn.h,v 1.1 2001/10/05 22:27:49 reinoud Exp $ */
|
||||
|
||||
#include <arm/disklabel_acorn.h>
|
3
sys/arch/acorn32/include/elf_machdep.h
Normal file
3
sys/arch/acorn32/include/elf_machdep.h
Normal file
@ -0,0 +1,3 @@
|
||||
/* $NetBSD: elf_machdep.h,v 1.1 2001/10/05 22:27:49 reinoud Exp $ */
|
||||
|
||||
#include <arm/elf_machdep.h>
|
3
sys/arch/acorn32/include/endian.h
Normal file
3
sys/arch/acorn32/include/endian.h
Normal file
@ -0,0 +1,3 @@
|
||||
/* $NetBSD: endian.h,v 1.1 2001/10/05 22:27:49 reinoud Exp $ */
|
||||
|
||||
#include <sys/endian.h>
|
3
sys/arch/acorn32/include/endian_machdep.h
Normal file
3
sys/arch/acorn32/include/endian_machdep.h
Normal file
@ -0,0 +1,3 @@
|
||||
/* $NetBSD: endian_machdep.h,v 1.1 2001/10/05 22:27:49 reinoud Exp $ */
|
||||
|
||||
#include <arm/endian_machdep.h>
|
3
sys/arch/acorn32/include/float.h
Normal file
3
sys/arch/acorn32/include/float.h
Normal file
@ -0,0 +1,3 @@
|
||||
/* $NetBSD: float.h,v 1.1 2001/10/05 22:27:50 reinoud Exp $ */
|
||||
|
||||
#include <arm/float.h>
|
3
sys/arch/acorn32/include/fp.h
Normal file
3
sys/arch/acorn32/include/fp.h
Normal file
@ -0,0 +1,3 @@
|
||||
/* $NetBSD: fp.h,v 1.1 2001/10/05 22:27:50 reinoud Exp $ */
|
||||
|
||||
#include <arm/fp.h>
|
3
sys/arch/acorn32/include/frame.h
Normal file
3
sys/arch/acorn32/include/frame.h
Normal file
@ -0,0 +1,3 @@
|
||||
/* $NetBSD: frame.h,v 1.1 2001/10/05 22:27:50 reinoud Exp $ */
|
||||
|
||||
#include <arm/arm32/frame.h>
|
3
sys/arch/acorn32/include/ieee.h
Normal file
3
sys/arch/acorn32/include/ieee.h
Normal file
@ -0,0 +1,3 @@
|
||||
/* $NetBSD: ieee.h,v 1.1 2001/10/05 22:27:50 reinoud Exp $ */
|
||||
|
||||
#include <arm/ieee.h>
|
3
sys/arch/acorn32/include/ieeefp.h
Normal file
3
sys/arch/acorn32/include/ieeefp.h
Normal file
@ -0,0 +1,3 @@
|
||||
/* $NetBSD: ieeefp.h,v 1.1 2001/10/05 22:27:50 reinoud Exp $ */
|
||||
|
||||
#include <arm/ieeefp.h>
|
71
sys/arch/acorn32/include/iic.h
Normal file
71
sys/arch/acorn32/include/iic.h
Normal file
@ -0,0 +1,71 @@
|
||||
/* $NetBSD: iic.h,v 1.1 2001/10/05 22:27:50 reinoud Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1996 Mark Brinicombe.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. All advertising materials mentioning features or use of this software
|
||||
* must display the following acknowledgement:
|
||||
* This product includes software developed by Brini.
|
||||
* 4. The name of the company nor the name of the author may be used to
|
||||
* endorse or promote products derived from this software without specific
|
||||
* prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY BRINI ``AS IS'' AND ANY EXPRESS OR IMPLIED
|
||||
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
* IN NO EVENT SHALL BRINI OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
|
||||
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* RiscBSD kernel project
|
||||
*
|
||||
* iic.h
|
||||
*
|
||||
* header file for IIC
|
||||
*
|
||||
* Created : 15/04/96
|
||||
*/
|
||||
|
||||
/*
|
||||
* IIC bus driver attach arguments
|
||||
*/
|
||||
|
||||
#ifdef _KERNEL
|
||||
|
||||
struct iicbus_attach_args {
|
||||
int ib_addr; /* i/o address */
|
||||
void *ib_aux; /* driver specific */
|
||||
};
|
||||
|
||||
#define iic_bitdelay 10
|
||||
|
||||
#define IIC_WRITE 0x00
|
||||
#define IIC_READ 0x01
|
||||
|
||||
/* Prototypes for assembly functions */
|
||||
|
||||
void iic_set_state __P((int data, int clock));
|
||||
void iic_set_state_and_ack __P((int data, int clock));
|
||||
void iic_delay __P((int delay));
|
||||
|
||||
/* Prototype for kernel interface to IIC bus */
|
||||
|
||||
int iic_control __P((u_char address, u_char *buffer, int count));
|
||||
|
||||
#endif /* _KERNEL */
|
||||
|
||||
/* End of iic.h */
|
3
sys/arch/acorn32/include/int_const.h
Normal file
3
sys/arch/acorn32/include/int_const.h
Normal file
@ -0,0 +1,3 @@
|
||||
/* $NetBSD: int_const.h,v 1.1 2001/10/05 22:27:50 reinoud Exp $ */
|
||||
|
||||
#include <arm/int_const.h>
|
3
sys/arch/acorn32/include/int_fmtio.h
Normal file
3
sys/arch/acorn32/include/int_fmtio.h
Normal file
@ -0,0 +1,3 @@
|
||||
/* $NetBSD: int_fmtio.h,v 1.1 2001/10/05 22:27:50 reinoud Exp $ */
|
||||
|
||||
#include <arm/int_fmtio.h>
|
3
sys/arch/acorn32/include/int_limits.h
Normal file
3
sys/arch/acorn32/include/int_limits.h
Normal file
@ -0,0 +1,3 @@
|
||||
/* $NetBSD: int_limits.h,v 1.1 2001/10/05 22:27:50 reinoud Exp $ */
|
||||
|
||||
#include <arm/int_limits.h>
|
3
sys/arch/acorn32/include/int_mwgwtypes.h
Normal file
3
sys/arch/acorn32/include/int_mwgwtypes.h
Normal file
@ -0,0 +1,3 @@
|
||||
/* $NetBSD: int_mwgwtypes.h,v 1.1 2001/10/05 22:27:50 reinoud Exp $ */
|
||||
|
||||
#include <arm/int_mwgwtypes.h>
|
3
sys/arch/acorn32/include/int_types.h
Normal file
3
sys/arch/acorn32/include/int_types.h
Normal file
@ -0,0 +1,3 @@
|
||||
/* $NetBSD: int_types.h,v 1.1 2001/10/05 22:27:50 reinoud Exp $ */
|
||||
|
||||
#include <arm/int_types.h>
|
72
sys/arch/acorn32/include/intr.h
Normal file
72
sys/arch/acorn32/include/intr.h
Normal file
@ -0,0 +1,72 @@
|
||||
/* $NetBSD: intr.h,v 1.1 2001/10/05 22:27:50 reinoud Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1997 Mark Brinicombe.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. All advertising materials mentioning features or use of this software
|
||||
* must display the following acknowledgement:
|
||||
* This product includes software developed by Mark Brinicombe
|
||||
* for the NetBSD Project.
|
||||
* 4. The name of the company nor the name of the author may be used to
|
||||
* endorse or promote products derived from this software without specific
|
||||
* prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
|
||||
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
* IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
|
||||
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifndef _ARM32_INTR_H_
|
||||
#define _ARM32_INTR_H_
|
||||
|
||||
/* Define the various Interrupt Priority Levels */
|
||||
|
||||
/* Hardware Interrupt Priority Levels are not mutually exclusive. */
|
||||
|
||||
#define IPL_BIO 0 /* block I/O */
|
||||
#define IPL_NET 1 /* network */
|
||||
#define IPL_TTY 2 /* terminal */
|
||||
#define IPL_IMP 3 /* memory allocation */
|
||||
#define IPL_AUDIO 4 /* audio */
|
||||
#define IPL_CLOCK 5 /* clock */
|
||||
#define IPL_HIGH 6 /* */
|
||||
#define IPL_SERIAL 7 /* serial */
|
||||
#define IPL_NONE 8
|
||||
|
||||
#define IPL_LEVELS 8
|
||||
|
||||
#define IST_UNUSABLE -1 /* interrupt cannot be used */
|
||||
#define IST_NONE 0 /* none (dummy) */
|
||||
#define IST_PULSE 1 /* pulsed */
|
||||
#define IST_EDGE 2 /* edge-triggered */
|
||||
#define IST_LEVEL 3 /* level-triggered */
|
||||
|
||||
/* Software interrupt priority levels */
|
||||
|
||||
#define SOFTIRQ_CLOCK 0
|
||||
#define SOFTIRQ_NET 1
|
||||
#define SOFTIRQ_SERIAL 2
|
||||
|
||||
#define SOFTIRQ_BIT(x) (1 << x)
|
||||
|
||||
#include <machine/irqhandler.h>
|
||||
#include <machine/psl.h>
|
||||
|
||||
#endif /* _ARM32_INTR_H */
|
114
sys/arch/acorn32/include/io.h
Normal file
114
sys/arch/acorn32/include/io.h
Normal file
@ -0,0 +1,114 @@
|
||||
/* $NetBSD: io.h,v 1.1 2001/10/05 22:27:50 reinoud Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1994 Mark Brinicombe.
|
||||
* Copyright (c) 1994 Brini.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This code is derived from software written for Brini by Mark Brinicombe
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. All advertising materials mentioning features or use of this software
|
||||
* must display the following acknowledgement:
|
||||
* This product includes software developed by Brini.
|
||||
* 4. The name of the company nor the name of the author may be used to
|
||||
* endorse or promote products derived from this software without specific
|
||||
* prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY BRINI ``AS IS'' AND ANY EXPRESS OR IMPLIED
|
||||
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
* IN NO EVENT SHALL BRINI OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
|
||||
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* RiscBSD kernel project
|
||||
*
|
||||
* io.h
|
||||
*
|
||||
* IO registers
|
||||
*
|
||||
* Created : 10/10/94
|
||||
*/
|
||||
|
||||
/* Some of these addresses are frightening and need cleaning up */
|
||||
|
||||
/*
|
||||
* The podule addresses should be removed and localised for the podules.
|
||||
* This is difficuly as the podule addresses are interleaved with the
|
||||
* other IO devices thus making it difficult to separate them.
|
||||
*/
|
||||
|
||||
#define IO_CONF_BASE 0xf6000000
|
||||
|
||||
#define IO_HW_BASE 0x03000000
|
||||
|
||||
#define IO_BASE 0xf6200000
|
||||
|
||||
#define COMBO_BASE 0xf6210000
|
||||
|
||||
#define IDE_CONTROLLER_BASE 0xf62107c0
|
||||
|
||||
#define FLOPPY_CONTROLLER_BASE 0xf6210fc0
|
||||
|
||||
#define FLOPPY_DACK 0x00002000
|
||||
|
||||
#define SERIAL0_CONTROLLER_BASE 0xf6210fe0
|
||||
|
||||
#define SERIAL1_CONTROLLER_BASE 0xf6210be0
|
||||
|
||||
#define PARALLEL_CONTROLLER_BASE 0xf62109e0
|
||||
|
||||
#ifdef RC7500
|
||||
|
||||
#define IDE_CONTROLLER_BASE2 0xf622B000
|
||||
|
||||
/*
|
||||
* a bit low turns attached LED on
|
||||
*/
|
||||
#define LEDPORT (IO_BASE + 0x0002B060)
|
||||
#define LED0 0x01
|
||||
#define LED1 0x02
|
||||
#define LED2 0x04
|
||||
#define LED3 0x08
|
||||
#define LED4 0x10
|
||||
#define LED5 0x20
|
||||
#define LED6 0x40
|
||||
#define LED7 0x80
|
||||
#define LEDOFF 0x00
|
||||
#define LEDALL 0xFF
|
||||
#endif
|
||||
|
||||
|
||||
#define EASI_HW_BASE 0x08000000
|
||||
#define EASI_BASE 0xf8000000
|
||||
#define EASI_SIZE 0x01000000
|
||||
|
||||
#define SIMPLE_PODULE_SIZE 0x00004000
|
||||
|
||||
#define MOD_PODULE_BASE 0xf6200000
|
||||
#define SYNC_PODULE_BASE 0xf63c0000
|
||||
#define SYNC_PODULE_HW_BASE 0x033c0000
|
||||
#define FAST_PODULE_BASE 0xf6340000
|
||||
#define MEDIUM_PODULE_BASE 0xf60c0000
|
||||
#define SLOW_PODULE_BASE 0xf6040000
|
||||
|
||||
#define PODULE_GAP 0x00020000
|
||||
#define MAX_PODULES 8
|
||||
|
||||
#define NETSLOT_BASE 0xf622b000
|
||||
#define MAX_NETSLOTS 1
|
||||
|
||||
/* End of io.h */
|
4
sys/arch/acorn32/include/ipkdb.h
Normal file
4
sys/arch/acorn32/include/ipkdb.h
Normal file
@ -0,0 +1,4 @@
|
||||
/* $NetBSD: ipkdb.h,v 1.1 2001/10/05 22:27:50 reinoud Exp $ */
|
||||
|
||||
#include <arm/ipkdb.h>
|
||||
|
216
sys/arch/acorn32/include/irqhandler.h
Normal file
216
sys/arch/acorn32/include/irqhandler.h
Normal file
@ -0,0 +1,216 @@
|
||||
/* $NetBSD: irqhandler.h,v 1.1 2001/10/05 22:27:50 reinoud Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1994-1996 Mark Brinicombe.
|
||||
* Copyright (c) 1994 Brini.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This code is derived from software written for Brini by Mark Brinicombe
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. All advertising materials mentioning features or use of this software
|
||||
* must display the following acknowledgement:
|
||||
* This product includes software developed by Mark Brinicombe
|
||||
* for the NetBSD Project.
|
||||
* 4. The name of the company nor the name of the author may be used to
|
||||
* endorse or promote products derived from this software without specific
|
||||
* prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
|
||||
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
* IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
|
||||
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* IRQ related stuff (defines + structures)
|
||||
*
|
||||
* Created : 30/09/94
|
||||
*/
|
||||
|
||||
#ifndef _ARM32_IRQHANDLER_H_
|
||||
#define _ARM32_IRQHANDLER_H_
|
||||
|
||||
#if defined(_KERNEL_OPT)
|
||||
#include "iomd.h"
|
||||
#endif
|
||||
|
||||
#ifndef _LOCORE
|
||||
#include <sys/types.h>
|
||||
#endif /* _LOCORE */
|
||||
|
||||
/* Define the IRQ bits */
|
||||
|
||||
/*
|
||||
* XXX this is really getting rather horrible.
|
||||
* Shortly to be replaced with system specific interrupt tables and handling
|
||||
*/
|
||||
|
||||
#if NIOMD > 0
|
||||
|
||||
/* Only for ARM7500 : */
|
||||
|
||||
/*#define IRQ_PRINTER 0x00*/
|
||||
/*#define IRQ_RESERVED0 0x01*/
|
||||
#define IRQ_BUTTON 0x02
|
||||
#define IRQ_FLYBACK 0x03
|
||||
#define IRQ_POR 0x04
|
||||
#define IRQ_TIMER0 0x05
|
||||
#define IRQ_TIMER1 0x06
|
||||
|
||||
#define IRQ_DREQ3 0x08
|
||||
/*#define IRQ_HD1 0x09*/
|
||||
/*#define IRQ_HD IRQ_HD1*/
|
||||
#define IRQ_DREQ2 0x0A
|
||||
/*#define IRQ_FLOPPY 0x0C*/
|
||||
/*#define IRQ_SERIAL 0x0D*/
|
||||
#define IRQ_KBDTX 0x0E
|
||||
#define IRQ_KBDRX 0x0F
|
||||
|
||||
#define IRQ_IRQ3 0x10
|
||||
#define IRQ_IRQ4 0x11
|
||||
#define IRQ_IRQ5 0x12
|
||||
#define IRQ_IRQ6 0x13
|
||||
#define IRQ_IRQ7 0x14
|
||||
#define IRQ_IRQ9 0x15
|
||||
#define IRQ_IRQ10 0x16
|
||||
#define IRQ_IRQ11 0x17
|
||||
|
||||
#define IRQ_MSDRX 0x18
|
||||
#define IRQ_MSDTX 0x19
|
||||
#define IRQ_ATOD 0x1A
|
||||
#define IRQ_CLOCK 0x1B
|
||||
#define IRQ_PANIC 0x1C
|
||||
/*#define IRQ_RESERVED2 0x1D*/
|
||||
/*#define IRQ_RESERVED3 0x1E*/
|
||||
|
||||
|
||||
/*
|
||||
* Note that Sound DMA IRQ is on the 31st vector.
|
||||
* It's not part of the IRQD.
|
||||
*/
|
||||
#define IRQ_SDMA 0x1F
|
||||
|
||||
/* Several interrupts are different between the A7000 and RC7500 */
|
||||
#ifdef RC7500
|
||||
|
||||
#define IRQ_FIQDOWN 0x07
|
||||
#define IRQ_ETHERNET 0x0B
|
||||
#define IRQ_HD2 IRQ_IRQ11
|
||||
|
||||
#else /* RC7500 */
|
||||
|
||||
/*#define IRQ_RESERVED1 0x07 */
|
||||
#define IRQ_EXTENDED 0x0B
|
||||
#define IRQ_PODULE 0x0D
|
||||
|
||||
#endif /* RC7500 */
|
||||
|
||||
|
||||
|
||||
|
||||
/* for non ARM7500 machines : */
|
||||
|
||||
/*#define IRQ_PRINTER 0x00*/
|
||||
/*#define IRQ_RESERVED0 0x01*/
|
||||
/*#define IRQ_FLOPPYIDX 0x02*/
|
||||
#define IRQ_FLYBACK 0x03
|
||||
#define IRQ_POR 0x04
|
||||
#define IRQ_TIMER0 0x05
|
||||
#define IRQ_TIMER1 0x06
|
||||
/*#define IRQ_RESERVED1 0x07*/
|
||||
|
||||
/*#define IRQ_RESERVED2 0x08*/
|
||||
/*#define IRQ_HD 0x09*/
|
||||
/*#define IRQ_SERIAL 0x0A*/
|
||||
#define IRQ_EXTENDED 0x0B
|
||||
/*#define IRQ_FLOPPY 0x0C*/
|
||||
#define IRQ_PODULE 0x0D
|
||||
#define IRQ_KBDTX 0x0E
|
||||
#define IRQ_KBDRX 0x0F
|
||||
|
||||
#define IRQ_DMACH0 0x10
|
||||
#define IRQ_DMACH1 0x11
|
||||
#define IRQ_DMACH2 0x12
|
||||
#define IRQ_DMACH3 0x13
|
||||
#define IRQ_DMASCH0 0x14
|
||||
#define IRQ_DMASCH1 0x15
|
||||
/*#define IRQ_RESERVED3 0x16*/
|
||||
/*#define IRQ_RESERVED4 0x17*/
|
||||
|
||||
|
||||
|
||||
#endif /* NIOMD > 0 */
|
||||
|
||||
#define IRQ_VSYNC IRQ_FLYBACK /* Aliased */
|
||||
#define IRQ_NETSLOT IRQ_EXTENDED
|
||||
|
||||
#define IRQ_INSTRUCT -1
|
||||
#define NIRQS 0x20
|
||||
|
||||
#include <machine/intr.h>
|
||||
|
||||
#ifndef _LOCORE
|
||||
typedef struct irqhandler {
|
||||
int (*ih_func) __P((void *arg));/* handler function */
|
||||
void *ih_arg; /* Argument to handler */
|
||||
int ih_level; /* Interrupt level */
|
||||
int ih_num; /* Interrupt number (for accounting) */
|
||||
const char *ih_name; /* Name of interrupt (for vmstat -i) */
|
||||
u_int ih_flags; /* Interrupt flags */
|
||||
u_int ih_maskaddr; /* mask address for expansion cards */
|
||||
u_int ih_maskbits; /* interrupt bit for expansion cards */
|
||||
struct irqhandler *ih_next; /* next handler */
|
||||
} irqhandler_t;
|
||||
|
||||
#ifdef _KERNEL
|
||||
extern u_int irqmasks[IPL_LEVELS];
|
||||
extern irqhandler_t *irqhandlers[NIRQS];
|
||||
|
||||
void irq_init __P((void));
|
||||
int irq_claim __P((int, irqhandler_t *));
|
||||
int irq_release __P((int, irqhandler_t *));
|
||||
void *intr_claim __P((int irq, int level, const char *name, int (*func) __P((void *)), void *arg));
|
||||
int intr_release __P((void *ih));
|
||||
void irq_setmasks __P((void));
|
||||
void disable_irq __P((int));
|
||||
void enable_irq __P((int));
|
||||
#endif /* _KERNEL */
|
||||
#endif /* _LOCORE */
|
||||
|
||||
#define IRQ_FLAG_ACTIVE 0x00000001 /* This is the active handler in list */
|
||||
|
||||
#ifndef _LOCORE
|
||||
typedef struct fiqhandler {
|
||||
void (*fh_func) __P((void));/* handler function */
|
||||
u_int fh_size; /* Size of handler function */
|
||||
u_int fh_mask; /* FIQ mask */
|
||||
u_int fh_r8; /* FIQ mode r8 */
|
||||
u_int fh_r9; /* FIQ mode r9 */
|
||||
u_int fh_r10; /* FIQ mode r10 */
|
||||
u_int fh_r11; /* FIQ mode r11 */
|
||||
u_int fh_r12; /* FIQ mode r12 */
|
||||
u_int fh_r13; /* FIQ mode r13 */
|
||||
} fiqhandler_t;
|
||||
|
||||
#ifdef _KERNEL
|
||||
int fiq_claim __P((fiqhandler_t *));
|
||||
int fiq_release __P((fiqhandler_t *));
|
||||
#endif /* _KERNEL */
|
||||
#endif /* _LOCORE */
|
||||
|
||||
#endif /* _ARM32_IRQHANDLER_H_ */
|
||||
|
||||
/* End of irqhandler.h */
|
3
sys/arch/acorn32/include/isa_machdep.h
Normal file
3
sys/arch/acorn32/include/isa_machdep.h
Normal file
@ -0,0 +1,3 @@
|
||||
/* $NetBSD: isa_machdep.h,v 1.1 2001/10/05 22:27:51 reinoud Exp $ */
|
||||
|
||||
#include <arm/isa_machdep.h>
|
4
sys/arch/acorn32/include/isapnp_machdep.h
Normal file
4
sys/arch/acorn32/include/isapnp_machdep.h
Normal file
@ -0,0 +1,4 @@
|
||||
/* $NetBSD: isapnp_machdep.h,v 1.1 2001/10/05 22:27:51 reinoud Exp $ */
|
||||
|
||||
#include <arm/isapnp_machdep.h>
|
||||
|
23
sys/arch/acorn32/include/joystick.h
Normal file
23
sys/arch/acorn32/include/joystick.h
Normal file
@ -0,0 +1,23 @@
|
||||
/* $NetBSD: joystick.h,v 1.1 2001/10/05 22:27:51 reinoud Exp $ */
|
||||
|
||||
#ifndef _JOY_IOCTL_H_
|
||||
#define _JOY_IOCTL_H_
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/ioctl.h>
|
||||
|
||||
struct joystick {
|
||||
int x;
|
||||
int y;
|
||||
int b1;
|
||||
int b2;
|
||||
};
|
||||
|
||||
#define JOY_SETTIMEOUT _IOW('J', 1, int) /* set timeout */
|
||||
#define JOY_GETTIMEOUT _IOR('J', 2, int) /* get timeout */
|
||||
#define JOY_SET_X_OFFSET _IOW('J', 3, int) /* set offset on X-axis */
|
||||
#define JOY_SET_Y_OFFSET _IOW('J', 4, int) /* set offset on X-axis */
|
||||
#define JOY_GET_X_OFFSET _IOR('J', 5, int) /* get offset on X-axis */
|
||||
#define JOY_GET_Y_OFFSET _IOR('J', 6, int) /* get offset on Y-axis */
|
||||
|
||||
#endif /* _JOY_IOCTL_H_ */
|
4
sys/arch/acorn32/include/katelib.h
Normal file
4
sys/arch/acorn32/include/katelib.h
Normal file
@ -0,0 +1,4 @@
|
||||
/* $NetBSD: katelib.h,v 1.1 2001/10/05 22:27:51 reinoud Exp $ */
|
||||
|
||||
#include <arm/arm32/katelib.h>
|
||||
|
66
sys/arch/acorn32/include/kbd.h
Normal file
66
sys/arch/acorn32/include/kbd.h
Normal file
@ -0,0 +1,66 @@
|
||||
/* $NetBSD: kbd.h,v 1.1 2001/10/05 22:27:51 reinoud Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1995 Mark Brinicombe.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. All advertising materials mentioning features or use of this software
|
||||
* must display the following acknowledgement:
|
||||
* This product includes software developed by Mark Brinicombe.
|
||||
* 4. The name of the company nor the name of the author may be used to
|
||||
* endorse or promote products derived from this software without specific
|
||||
* prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
|
||||
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
* IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
|
||||
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* RiscBSD kernel project
|
||||
*
|
||||
* kbd.h
|
||||
*
|
||||
* Keyboard ioctls
|
||||
*
|
||||
* Created : 21/07/95
|
||||
*/
|
||||
|
||||
struct kbd_data {
|
||||
int keycode;
|
||||
struct timeval event_time;
|
||||
};
|
||||
|
||||
struct kbd_autorepeat {
|
||||
int ka_delay;
|
||||
int ka_rate;
|
||||
};
|
||||
|
||||
#define KBD_GETAUTOREPEAT _IOR( 'k', 100, struct kbd_autorepeat)
|
||||
#define KBD_SETAUTOREPEAT _IOW( 'k', 101, struct kbd_autorepeat)
|
||||
#define KBD_SETLEDS _IOW( 'k', 102, int)
|
||||
#define KBD_XXX _IOW( 'k', 103, int)
|
||||
|
||||
#define KBD_LED_SCROLL_LOCK 0x01
|
||||
#define KBD_LED_NUM_LOCK 0x02
|
||||
#define KBD_LED_CAPS_LOCK 0x04
|
||||
|
||||
#ifdef _KERNEL
|
||||
void kbdsetstate __P((int /*state*/));
|
||||
int kbdgetstate __P((void));
|
||||
#endif
|
||||
|
||||
/* End of kbd.h */
|
132
sys/arch/acorn32/include/kerndebug.h
Normal file
132
sys/arch/acorn32/include/kerndebug.h
Normal file
@ -0,0 +1,132 @@
|
||||
/* $NetBSD: kerndebug.h,v 1.1 2001/10/05 22:27:51 reinoud Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 1997
|
||||
* Digital Equipment Corporation. All rights reserved.
|
||||
*
|
||||
* This software is furnished under license and may be used and
|
||||
* copied only in accordance with the following terms and conditions.
|
||||
* Subject to these conditions, you may download, copy, install,
|
||||
* use, modify and distribute this software in source and/or binary
|
||||
* form. No title or ownership is transferred hereby.
|
||||
*
|
||||
* 1) Any source code used, modified or distributed must reproduce
|
||||
* and retain this copyright notice and list of conditions as
|
||||
* they appear in the source file.
|
||||
*
|
||||
* 2) No right is granted to use any trade name, trademark, or logo of
|
||||
* Digital Equipment Corporation. Neither the "Digital Equipment
|
||||
* Corporation" name nor any trademark or logo of Digital Equipment
|
||||
* Corporation may be used to endorse or promote products derived
|
||||
* from this software without the prior written permission of
|
||||
* Digital Equipment Corporation.
|
||||
*
|
||||
* 3) This software is provided "AS-IS" and any express or implied
|
||||
* warranties, including but not limited to, any implied warranties
|
||||
* of merchantability, fitness for a particular purpose, or
|
||||
* non-infringement are disclaimed. In no event shall DIGITAL be
|
||||
* liable for any damages whatsoever, and in particular, DIGITAL
|
||||
* shall not be liable for special, indirect, consequential, or
|
||||
* incidental damages or damages for lost profits, loss of
|
||||
* revenue or loss of use, whether such damages arise in contract,
|
||||
* negligence, tort, under statute, in equity, at law or otherwise,
|
||||
* even if advised of the possibility of such damage.
|
||||
*/
|
||||
|
||||
/*
|
||||
**++
|
||||
** FACILITY:
|
||||
**
|
||||
** kerndebug.h
|
||||
**
|
||||
**
|
||||
** ABSTRACT:
|
||||
**
|
||||
** This header provides generic debugging capabilities using printf.
|
||||
** All debugging can be compiled out by not defining the
|
||||
** KERNEL_DEBUG macro. In addition the amount of debug output is
|
||||
** defined by individual variables controlled by each subsystem
|
||||
** using this utility. Finally note that the two middle bytes of
|
||||
** the kern debug flags (bits 16 to 23) are free for individual
|
||||
** subsystems to use as they please (eg. define switches for
|
||||
** individual functions etc).
|
||||
**
|
||||
** AUTHORS:
|
||||
**
|
||||
** John Court
|
||||
**
|
||||
** CREATION DATE: 2-Feb-1992
|
||||
**
|
||||
** MODIFICATION HISTORY:
|
||||
**
|
||||
**--
|
||||
*/
|
||||
#ifndef _KERNDEBUG_H_
|
||||
#define _KERNDEBUG_H_
|
||||
|
||||
#define KERN_DEBUG_INFO 0x00000001
|
||||
#define KERN_DEBUG_WARNING 0x00000002
|
||||
#define KERN_DEBUG_ERROR 0x00000010
|
||||
#define KERN_DEBUG_SMP 0x00000020
|
||||
#define KERN_DEBUG_PANIC 0x40000000
|
||||
#define KERN_REAL_PANIC 0x80000000
|
||||
#define KERN_DEBUG_ALL KERN_DEBUG_INFO | KERN_DEBUG_WARNING | \
|
||||
KERN_DEBUG_ERROR | KERN_DEBUG_PANIC
|
||||
/*
|
||||
** Define the type for debugging flag subsystem variables
|
||||
*/
|
||||
typedef unsigned int Kern_Debug_Flags;
|
||||
/*
|
||||
** Set up source line location macro for extra debugging and panics
|
||||
*/
|
||||
#ifdef __FILE__
|
||||
#define KERN_DEBUG_LOC ":%s:%d:=\n\t",__FILE__,__LINE__
|
||||
#else
|
||||
#define KERN_DEBUG_LOC ":__FILE__ not supported :=\n\t"
|
||||
#endif
|
||||
|
||||
/*
|
||||
** This is real nasty in that it requires several printf's but is
|
||||
** unavoidable due to the differences between
|
||||
** preprocessors supporting standard ANSI C and others.
|
||||
**
|
||||
** NOTE: The format of calls to this macro must be
|
||||
**
|
||||
** KERN_DEBUG((Kern_Debug_Flags)CntrlVar, KERN_DEBUG_xxxx,
|
||||
** (normal printf arguments));
|
||||
**
|
||||
** pay special attention to the extra set of () around the
|
||||
** final arguement.
|
||||
**
|
||||
*/
|
||||
#ifdef KERNEL_DEBUG
|
||||
#define KERN_DEBUG(CntrlVar,Level,Output) \
|
||||
{ \
|
||||
if ( (CntrlVar) & (Level) ) \
|
||||
{ \
|
||||
if ( (CntrlVar) & (Level) & KERN_DEBUG_PANIC ) \
|
||||
{ \
|
||||
printf ("KERNEL:DEBUG PANIC"); \
|
||||
printf (KERN_DEBUG_LOC); \
|
||||
printf Output; \
|
||||
panic("KERN_DEBUG Panicing"); \
|
||||
} \
|
||||
else \
|
||||
{ \
|
||||
printf Output; \
|
||||
} \
|
||||
} \
|
||||
}
|
||||
#else /* else KERNEL_DEBUG not defined */
|
||||
#define KERN_DEBUG(CntrlVar,Level,Output)
|
||||
#endif /* end else KERNEL_DEBUG not defined */
|
||||
|
||||
#endif /* _KERNDEBUG_H_ */
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
3
sys/arch/acorn32/include/limits.h
Normal file
3
sys/arch/acorn32/include/limits.h
Normal file
@ -0,0 +1,3 @@
|
||||
/* $NetBSD: limits.h,v 1.1 2001/10/05 22:27:51 reinoud Exp $ */
|
||||
|
||||
#include <arm/limits.h>
|
3
sys/arch/acorn32/include/lock.h
Normal file
3
sys/arch/acorn32/include/lock.h
Normal file
@ -0,0 +1,3 @@
|
||||
/* $NetBSD: lock.h,v 1.1 2001/10/05 22:27:51 reinoud Exp $ */
|
||||
|
||||
#include <arm/lock.h>
|
3
sys/arch/acorn32/include/math.h
Normal file
3
sys/arch/acorn32/include/math.h
Normal file
@ -0,0 +1,3 @@
|
||||
/* $NetBSD: math.h,v 1.1 2001/10/05 22:27:51 reinoud Exp $ */
|
||||
|
||||
#include <arm/math.h>
|
97
sys/arch/acorn32/include/mouse.h
Normal file
97
sys/arch/acorn32/include/mouse.h
Normal file
@ -0,0 +1,97 @@
|
||||
/* $NetBSD: mouse.h,v 1.1 2001/10/05 22:27:51 reinoud Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) Mark Brinicombe 1996 All rights reserved
|
||||
* Copyright (c) Scott Stevens 1995 All rights reserved
|
||||
* Copyright (c) Melvin Tang-Richardson 1995 All rights reserved
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. All advertising materials mentioning features or use of this software
|
||||
* must display the following acknowledgement:
|
||||
* This product includes software developed by the RiscBSD team.
|
||||
* 4. The name of the author may not be used to endorse or promote products
|
||||
* derived from this software without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
/*
|
||||
#define MOUSE_BUTTON_RIGHT 0x10
|
||||
#define MOUSE_BUTTON_MIDDLE 0x20
|
||||
#define MOUSE_BUTTON_LEFT 0x40
|
||||
*/
|
||||
|
||||
/* Used in pms.c */
|
||||
|
||||
#define BUTSTATMASK 0x07 /* Any mouse button down if any bit set */
|
||||
#define BUTCHNGMASK 0x38 /* Any mouse button changed if any bit set */
|
||||
|
||||
#define BUT3STAT 0x01 /* Button 3 down if set */
|
||||
#define BUT2STAT 0x02 /* Button 2 down if set */
|
||||
#define BUT1STAT 0x04 /* Button 1 down if set */
|
||||
#define BUT3CHNG 0x08 /* Button 3 changed if set */
|
||||
#define BUT2CHNG 0x10 /* Button 2 changed if set */
|
||||
#define BUT1CHNG 0x20 /* Button 1 changed if set */
|
||||
#define MOVEMENT 0x40 /* Mouse movement detected */
|
||||
#define IOC_ACK 0x80 /* Acknowledge an ioctl */
|
||||
|
||||
/* Define user visible mouse structures */
|
||||
|
||||
struct mouseinfo {
|
||||
u_int status;
|
||||
int xmotion, ymotion;
|
||||
};
|
||||
|
||||
struct mousebufrec {
|
||||
int status;
|
||||
int x,y;
|
||||
struct timeval event_time;
|
||||
};
|
||||
|
||||
struct mouse_state {
|
||||
signed short x, y;
|
||||
int buttons;
|
||||
};
|
||||
|
||||
struct mouse_boundingbox {
|
||||
int x, y, a, b;
|
||||
};
|
||||
|
||||
struct mouse_origin {
|
||||
int x, y;
|
||||
};
|
||||
|
||||
/* Define mouse ioctls + associated data */
|
||||
|
||||
#define MOUSEIOC_WRITEX _IO ( 'M', 100 )
|
||||
#define MOUSEIOC_WRITEY _IO ( 'M', 101 )
|
||||
|
||||
#define MOUSEIOC_SETSTATE _IOW ( 'M', 102, struct mouse_state )
|
||||
#define MOUSEIOC_SETBOUNDS _IOW ( 'M', 103, struct mouse_boundingbox )
|
||||
#define MOUSEIOC_SETORIGIN _IOW ( 'M', 104, struct mouse_origin )
|
||||
|
||||
#define MOUSEIOC_GETSTATE _IOR ( 'M', 105, struct mouse_state )
|
||||
#define MOUSEIOC_READ MOUSEIOC_GETSTATE
|
||||
#define MOUSEIOC_GETBOUNDS _IOR ( 'M', 106, struct mouse_boundingbox )
|
||||
#define MOUSEIOC_GETORIGIN _IOR ( 'M', 107, struct mouse_origin )
|
||||
|
||||
#define MOUSEIOC_SETMODE _IO ( 'M', 108 )
|
||||
#define MOUSEMODE_ABS 0x00
|
||||
#define MOUSEMODE_REL 0x01
|
||||
/* End of mouse.h */
|
3
sys/arch/acorn32/include/ofisa_machdep.h
Normal file
3
sys/arch/acorn32/include/ofisa_machdep.h
Normal file
@ -0,0 +1,3 @@
|
||||
/* $NetBSD: ofisa_machdep.h,v 1.1 2001/10/05 22:27:51 reinoud Exp $ */
|
||||
|
||||
#include <arm/ofisa_machdep.h>
|
3
sys/arch/acorn32/include/ofw.h
Normal file
3
sys/arch/acorn32/include/ofw.h
Normal file
@ -0,0 +1,3 @@
|
||||
/* $NetBSD: ofw.h,v 1.1 2001/10/05 22:27:51 reinoud Exp $ */
|
||||
|
||||
#include <arm/ofw.h>
|
49
sys/arch/acorn32/include/param.h
Normal file
49
sys/arch/acorn32/include/param.h
Normal file
@ -0,0 +1,49 @@
|
||||
/* $NetBSD: param.h,v 1.1 2001/10/05 22:27:51 reinoud Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1994,1995 Mark Brinicombe.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. All advertising materials mentioning features or use of this software
|
||||
* must display the following acknowledgement:
|
||||
* This product includes software developed by the RiscBSD team.
|
||||
* 4. The name "RiscBSD" nor the name of the author may be used to
|
||||
* endorse or promote products derived from this software without specific
|
||||
* prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY RISCBSD ``AS IS'' AND ANY EXPRESS OR IMPLIED
|
||||
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
* IN NO EVENT SHALL RISCBSD OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
|
||||
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifndef _ARM32_PARAM_H_
|
||||
#define _ARM32_PARAM_H_
|
||||
|
||||
/*
|
||||
* Machine dependent constants for ARM6+ processors
|
||||
*/
|
||||
|
||||
#define _MACHINE acorn32
|
||||
#define MACHINE "acorn32"
|
||||
#define _MACHINE_ARCH arm32
|
||||
#define MACHINE_ARCH "arm32"
|
||||
|
||||
#include <arm/arm32/param.h>
|
||||
|
||||
#endif /* _ARM32_PARAM_H_ */
|
4
sys/arch/acorn32/include/pcb.h
Normal file
4
sys/arch/acorn32/include/pcb.h
Normal file
@ -0,0 +1,4 @@
|
||||
/* $NetBSD: pcb.h,v 1.1 2001/10/05 22:27:51 reinoud Exp $ */
|
||||
|
||||
#include <arm/pcb.h>
|
||||
|
28
sys/arch/acorn32/include/pccons.h
Normal file
28
sys/arch/acorn32/include/pccons.h
Normal file
@ -0,0 +1,28 @@
|
||||
/* $NetBSD: pccons.h,v 1.1 2001/10/05 22:27:51 reinoud Exp $ */
|
||||
|
||||
/*
|
||||
* pccons.h -- pccons ioctl definitions
|
||||
*/
|
||||
|
||||
#ifndef _PCCONS_H_
|
||||
#define _PCCONS_H_
|
||||
|
||||
#include <sys/ioctl.h>
|
||||
|
||||
#define CONSOLE_X_MODE_ON _IO('t',121)
|
||||
#define CONSOLE_X_MODE_OFF _IO('t',122)
|
||||
#define CONSOLE_X_BELL _IOW('t',123,int[2])
|
||||
#define CONSOLE_SET_TYPEMATIC_RATE _IOW('t',124,u_char)
|
||||
#define CONSOLE_X_TV_ON _IOW('t',155,int)
|
||||
#define CONSOLE_X_TV_OFF _IO('t',156)
|
||||
#define CONSOLE_GET_LINEAR_INFO _IOR('t',157,struct map_info)
|
||||
#define CONSOLE_GET_IO_INFO _IOR('t',158,struct map_info)
|
||||
#define CONSOLE_GET_MEM_INFO _IOR('t',159,struct map_info)
|
||||
|
||||
#define XMODE_RGB 0
|
||||
#define XMODE_NTSC 1
|
||||
#define XMODE_PAL 2
|
||||
#define XMODE_SECAM 3
|
||||
|
||||
|
||||
#endif /* _PCCONS_H_ */
|
5
sys/arch/acorn32/include/pci_machdep.h
Normal file
5
sys/arch/acorn32/include/pci_machdep.h
Normal file
@ -0,0 +1,5 @@
|
||||
/* $NetBSD: pci_machdep.h,v 1.1 2001/10/05 22:27:51 reinoud Exp $ */
|
||||
|
||||
#include <arm/pci_machdep.h>
|
||||
|
||||
#define __HAVE_PCIIDE_MACHDEP_COMPAT_INTR_ESTABLISH
|
3
sys/arch/acorn32/include/pio.h
Normal file
3
sys/arch/acorn32/include/pio.h
Normal file
@ -0,0 +1,3 @@
|
||||
/* $NetBSD: pio.h,v 1.1 2001/10/05 22:27:51 reinoud Exp $ */
|
||||
|
||||
#include <arm/pio.h>
|
4
sys/arch/acorn32/include/pmap.h
Normal file
4
sys/arch/acorn32/include/pmap.h
Normal file
@ -0,0 +1,4 @@
|
||||
/* $NetBSD: pmap.h,v 1.1 2001/10/05 22:27:52 reinoud Exp $ */
|
||||
|
||||
#include <arm/arm32/pmap.h>
|
||||
|
169
sys/arch/acorn32/include/podulebus_machdep.h
Normal file
169
sys/arch/acorn32/include/podulebus_machdep.h
Normal file
@ -0,0 +1,169 @@
|
||||
/* $NetBSD: podulebus_machdep.h,v 1.1 2001/10/05 22:27:52 reinoud Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1995 Mark Brinicombe.
|
||||
* Copyright (c) 1995 Brini.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. All advertising materials mentioning features or use of this software
|
||||
* must display the following acknowledgement:
|
||||
* This product includes software developed by Brini.
|
||||
* 4. The name of the company nor the name of the author may be used to
|
||||
* endorse or promote products derived from this software without specific
|
||||
* prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY BRINI ``AS IS'' AND ANY EXPRESS OR IMPLIED
|
||||
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
* IN NO EVENT SHALL BRINI OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
|
||||
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* RiscBSD kernel project
|
||||
*
|
||||
* podulebus.h
|
||||
*
|
||||
* Podule bus header file
|
||||
*
|
||||
* Created : 26/04/95
|
||||
*/
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <machine/bus.h>
|
||||
#include <machine/io.h>
|
||||
|
||||
/* Define the structure used to describe a podule */
|
||||
|
||||
#define PODULE_DESCRIPTION_LENGTH 63
|
||||
|
||||
typedef struct {
|
||||
/* The podule header, read from the on board ROM */
|
||||
|
||||
u_char flags0;
|
||||
u_char flags1;
|
||||
u_char reserved;
|
||||
u_short product;
|
||||
u_short manufacturer;
|
||||
u_char country;
|
||||
u_int irq_addr;
|
||||
u_int irq_mask;
|
||||
u_int fiq_addr;
|
||||
u_int fiq_mask;
|
||||
|
||||
/* The base addresses for this podule */
|
||||
|
||||
u_int fast_base;
|
||||
u_int medium_base;
|
||||
u_int slow_base;
|
||||
u_int sync_base;
|
||||
u_int mod_base;
|
||||
u_int easi_base;
|
||||
|
||||
/* Flags */
|
||||
|
||||
int podulenum;
|
||||
int slottype;
|
||||
int attached;
|
||||
|
||||
/* Other info */
|
||||
|
||||
char description[PODULE_DESCRIPTION_LENGTH + 1];
|
||||
u_int (*read_rom)(u_int, int);
|
||||
|
||||
/* podule specific information provided by podulebus */
|
||||
|
||||
int interrupt;
|
||||
|
||||
int dma_channel;
|
||||
int dma_interrupt;
|
||||
} podule_t;
|
||||
|
||||
#define PODULE_FLAGS_CD 0x01
|
||||
#define PODULE_FLAGS_IS 0x02
|
||||
|
||||
#define SLOT_NONE 0x00
|
||||
#define SLOT_POD 0x01
|
||||
#define SLOT_NET 0x02
|
||||
|
||||
typedef int podulebus_intr_handle_t;
|
||||
|
||||
#define podulebus_attach_args podule_attach_args
|
||||
|
||||
struct podule_attach_args {
|
||||
podule_t *pa_podule; /* podule descriptor */
|
||||
int pa_podule_number; /* podule number */
|
||||
int pa_slottype; /* podule slot type */
|
||||
bus_space_tag_t pa_iot; /* bus space tag */
|
||||
|
||||
#define pa_easi_t pa_iot
|
||||
#define pa_mod_t pa_iot
|
||||
#define pa_fast_t pa_iot
|
||||
#define pa_medium_t pa_iot
|
||||
#define pa_slow_t pa_iot
|
||||
#define pa_sync_t pa_iot
|
||||
|
||||
#define pa_easi_base pa_podule->easi_base
|
||||
#define pa_mod_base pa_podule->mod_base
|
||||
#define pa_fast_base pa_podule->fast_base
|
||||
#define pa_medium_base pa_podule->medium_base
|
||||
#define pa_slow_base pa_podule->slow_base
|
||||
#define pa_sync_base pa_podule->sync_base
|
||||
|
||||
podulebus_intr_handle_t pa_ih; /* interrupt handle */
|
||||
|
||||
#define pa_manufacturer pa_podule->manufacturer
|
||||
#define pa_product pa_podule->product
|
||||
#define pa_descr pa_podule->description
|
||||
};
|
||||
|
||||
/* Useful macros */
|
||||
|
||||
/* EASI space cycle control */
|
||||
|
||||
|
||||
#define IS_PODULE(pa, man, prod) \
|
||||
(pa->pa_manufacturer == man && pa->pa_product == prod)
|
||||
|
||||
|
||||
|
||||
#define EASI_CYCLE_TYPE_A 0x00
|
||||
#define EASI_CYCLE_TYPE_C 0x01
|
||||
#define set_easi_cycle_type(podule, type) \
|
||||
IOMD_WRITE_BYTE(IOMD_ECTCR, (IOMD_READ_BYTE(IOMD_ECTCR) & ~(1 << podule)) | (1 << type))
|
||||
|
||||
#ifdef _KERNEL
|
||||
|
||||
/* Array of podule structures, one per possible podule */
|
||||
|
||||
extern podule_t podules[MAX_PODULES + MAX_NETSLOTS];
|
||||
|
||||
int matchpodule __P((struct podule_attach_args *pa,
|
||||
int manufacturer, int product, int required_slot));
|
||||
|
||||
void netslot_ea __P((u_int8_t *buffer));
|
||||
|
||||
extern void *podulebus_irq_establish __P((podulebus_intr_handle_t, int,
|
||||
int (*)(void *), void *, struct evcnt *));
|
||||
extern void podulebus_shift_tag __P((bus_space_tag_t, u_int,
|
||||
bus_space_tag_t *));
|
||||
|
||||
/* Used internally by the podulebus code */
|
||||
extern void netslotscan(struct device *);
|
||||
extern void poduleexamine(podule_t *, struct device *, int);
|
||||
|
||||
#endif
|
||||
|
||||
/* End of podulebus.h */
|
3
sys/arch/acorn32/include/proc.h
Normal file
3
sys/arch/acorn32/include/proc.h
Normal file
@ -0,0 +1,3 @@
|
||||
/* $NetBSD: proc.h,v 1.1 2001/10/05 22:27:52 reinoud Exp $ */
|
||||
|
||||
#include <arm/proc.h>
|
3
sys/arch/acorn32/include/profile.h
Normal file
3
sys/arch/acorn32/include/profile.h
Normal file
@ -0,0 +1,3 @@
|
||||
/* $NetBSD: profile.h,v 1.1 2001/10/05 22:27:52 reinoud Exp $ */
|
||||
|
||||
#include <arm/profile.h>
|
3
sys/arch/acorn32/include/profileio.h
Normal file
3
sys/arch/acorn32/include/profileio.h
Normal file
@ -0,0 +1,3 @@
|
||||
/* $NetBSD: profileio.h,v 1.1 2001/10/05 22:27:52 reinoud Exp $ */
|
||||
|
||||
#include <arm/profileio.h>
|
4
sys/arch/acorn32/include/psl.h
Normal file
4
sys/arch/acorn32/include/psl.h
Normal file
@ -0,0 +1,4 @@
|
||||
/* $NetBSD: psl.h,v 1.1 2001/10/05 22:27:52 reinoud Exp $ */
|
||||
|
||||
#include <arm/arm32/psl.h>
|
||||
|
3
sys/arch/acorn32/include/pte.h
Normal file
3
sys/arch/acorn32/include/pte.h
Normal file
@ -0,0 +1,3 @@
|
||||
/* $NetBSD: pte.h,v 1.1 2001/10/05 22:27:52 reinoud Exp $ */
|
||||
|
||||
#include <arm/pte.h>
|
3
sys/arch/acorn32/include/ptrace.h
Normal file
3
sys/arch/acorn32/include/ptrace.h
Normal file
@ -0,0 +1,3 @@
|
||||
/* $NetBSD: ptrace.h,v 1.1 2001/10/05 22:27:52 reinoud Exp $ */
|
||||
|
||||
#include <arm/ptrace.h>
|
3
sys/arch/acorn32/include/reg.h
Normal file
3
sys/arch/acorn32/include/reg.h
Normal file
@ -0,0 +1,3 @@
|
||||
/* $NetBSD: reg.h,v 1.1 2001/10/05 22:27:52 reinoud Exp $ */
|
||||
|
||||
#include <arm/reg.h>
|
3
sys/arch/acorn32/include/rtc.h
Normal file
3
sys/arch/acorn32/include/rtc.h
Normal file
@ -0,0 +1,3 @@
|
||||
/* $NetBSD: rtc.h,v 1.1 2001/10/05 22:27:52 reinoud Exp $ */
|
||||
|
||||
#include <arm/arm32/rtc.h>
|
97
sys/arch/acorn32/include/scrio.h
Normal file
97
sys/arch/acorn32/include/scrio.h
Normal file
@ -0,0 +1,97 @@
|
||||
/* $NetBSD: scrio.h,v 1.1 2001/10/05 22:27:52 reinoud Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 1997
|
||||
* Digital Equipment Corporation. All rights reserved.
|
||||
*
|
||||
* This software is furnished under license and may be used and
|
||||
* copied only in accordance with the following terms and conditions.
|
||||
* Subject to these conditions, you may download, copy, install,
|
||||
* use, modify and distribute this software in source and/or binary
|
||||
* form. No title or ownership is transferred hereby.
|
||||
*
|
||||
* 1) Any source code used, modified or distributed must reproduce
|
||||
* and retain this copyright notice and list of conditions as
|
||||
* they appear in the source file.
|
||||
*
|
||||
* 2) No right is granted to use any trade name, trademark, or logo of
|
||||
* Digital Equipment Corporation. Neither the "Digital Equipment
|
||||
* Corporation" name nor any trademark or logo of Digital Equipment
|
||||
* Corporation may be used to endorse or promote products derived
|
||||
* from this software without the prior written permission of
|
||||
* Digital Equipment Corporation.
|
||||
*
|
||||
* 3) This software is provided "AS-IS" and any express or implied
|
||||
* warranties, including but not limited to, any implied warranties
|
||||
* of merchantability, fitness for a particular purpose, or
|
||||
* non-infringement are disclaimed. In no event shall DIGITAL be
|
||||
* liable for any damages whatsoever, and in particular, DIGITAL
|
||||
* shall not be liable for special, indirect, consequential, or
|
||||
* incidental damages or damages for lost profits, loss of
|
||||
* revenue or loss of use, whether such damages arise in contract,
|
||||
* negligence, tort, under statute, in equity, at law or otherwise,
|
||||
* even if advised of the possibility of such damage.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Definitions for SCR smart card driver
|
||||
*/
|
||||
|
||||
#ifndef _ARM32_SCRIO_H_
|
||||
#define _ARM32_SCRIO_H_
|
||||
|
||||
#define ATR_BUF_MAX 1 + 1 + 4 * 10 + 15 + 1 /* TS + T0 + 4 * TABCD + 15 * TK + TCK */
|
||||
#define CMD_BUF_LEN 5
|
||||
#define DATA_BUF_MAX 256
|
||||
|
||||
/* status information for Status */
|
||||
#define CARD_REMOVED 0x0000
|
||||
#define CARD_INSERTED 0x0001
|
||||
#define CARD_ON 0x0002
|
||||
|
||||
typedef struct {
|
||||
int status;
|
||||
} ScrStatus;
|
||||
|
||||
typedef struct {
|
||||
unsigned char atrBuf[ATR_BUF_MAX];
|
||||
unsigned int atrLen;
|
||||
unsigned int status;
|
||||
} ScrOn;
|
||||
|
||||
typedef struct {
|
||||
unsigned char command[CMD_BUF_LEN]; /* command */
|
||||
int writeBuffer; /* true write, false read */
|
||||
unsigned char data[DATA_BUF_MAX]; /* data, write to card, read from card */
|
||||
unsigned int dataLen; /* data length, used on write, set of read */
|
||||
unsigned char sw1; /* sw1 status */
|
||||
unsigned char sw2; /* sw2 status */
|
||||
unsigned int status; /* driver status */
|
||||
} ScrT0;
|
||||
|
||||
typedef struct {
|
||||
unsigned int status;
|
||||
} ScrOff;
|
||||
|
||||
#define SCRIOSTATUS _IOR ('S', 1, ScrStatus) /* return card in/out, card on/off */
|
||||
#define SCRIOON _IOR ('S', 2, ScrOn) /* turns card on, returns ATR */
|
||||
#define SCRIOOFF _IOR ('S', 3, ScrOff) /* turns card off */
|
||||
#define SCRIOT0 _IOWR('S', 4, ScrT0) /* read/write card data in T0 protocol */
|
||||
|
||||
|
||||
#define ERROR_OK 0 /* no error */
|
||||
#define ERROR_PARITY 1 /* too many parity errors */
|
||||
#define ERROR_ATR_TCK 2 /* ATR checksum error */
|
||||
#define ERROR_ATR_BUF_OVERRUN 3 /* ATR was to big for buf */
|
||||
#define ERROR_ATR_FI_INVALID 4 /* FI was invalid */
|
||||
#define ERROR_ATR_DI_INVALID 5 /* DI was invalid */
|
||||
#define ERROR_ATR_T3 6 /* timer T3 expired */
|
||||
#define ERROR_WORK_WAITING 7 /* work waiting expired */
|
||||
#define ERROR_BAD_PROCEDURE_BYTE 8 /* bad procedure byte */
|
||||
#define ERROR_CARD_REMOVED 9 /* tried to do ioctal that needs card inserted */
|
||||
#define ERROR_CARD_ON 10 /* tried to do ioctal that needs card off */
|
||||
#define ERROR_CARD_OFF 11 /* tried to do ioctal that needs card on */
|
||||
#define ERROR_INVALID_DATALEN 12 /* invalid data length on t0 write */
|
||||
#define ERROR_TO_OVERRUN 13 /* invalid data length read from card */
|
||||
|
||||
#endif /* _ARM32_SCRIO_H_ */
|
3
sys/arch/acorn32/include/setjmp.h
Normal file
3
sys/arch/acorn32/include/setjmp.h
Normal file
@ -0,0 +1,3 @@
|
||||
/* $NetBSD: setjmp.h,v 1.1 2001/10/05 22:27:52 reinoud Exp $ */
|
||||
|
||||
#include <arm/setjmp.h>
|
3
sys/arch/acorn32/include/signal.h
Normal file
3
sys/arch/acorn32/include/signal.h
Normal file
@ -0,0 +1,3 @@
|
||||
/* $NetBSD: signal.h,v 1.1 2001/10/05 22:27:52 reinoud Exp $ */
|
||||
|
||||
#include <arm/signal.h>
|
3
sys/arch/acorn32/include/stdarg.h
Normal file
3
sys/arch/acorn32/include/stdarg.h
Normal file
@ -0,0 +1,3 @@
|
||||
/* $NetBSD: stdarg.h,v 1.1 2001/10/05 22:27:52 reinoud Exp $ */
|
||||
|
||||
#include <arm/stdarg.h>
|
4
sys/arch/acorn32/include/sysarch.h
Normal file
4
sys/arch/acorn32/include/sysarch.h
Normal file
@ -0,0 +1,4 @@
|
||||
/* $NetBSD: sysarch.h,v 1.1 2001/10/05 22:27:52 reinoud Exp $ */
|
||||
|
||||
#include <arm/sysarch.h>
|
||||
|
3
sys/arch/acorn32/include/trap.h
Normal file
3
sys/arch/acorn32/include/trap.h
Normal file
@ -0,0 +1,3 @@
|
||||
/* $NetBSD: trap.h,v 1.1 2001/10/05 22:27:52 reinoud Exp $ */
|
||||
|
||||
#include <arm/trap.h>
|
11
sys/arch/acorn32/include/types.h
Normal file
11
sys/arch/acorn32/include/types.h
Normal file
@ -0,0 +1,11 @@
|
||||
/* $NetBSD: types.h,v 1.1 2001/10/05 22:27:52 reinoud Exp $ */
|
||||
|
||||
#ifndef _ARM32_TYPES_H_
|
||||
#define _ARM32_TYPES_H_
|
||||
|
||||
#include <arm/types.h>
|
||||
|
||||
#define __HAVE_DEVICE_REGISTER
|
||||
#define __HAVE_NWSCONS
|
||||
|
||||
#endif
|
3
sys/arch/acorn32/include/undefined.h
Normal file
3
sys/arch/acorn32/include/undefined.h
Normal file
@ -0,0 +1,3 @@
|
||||
/* $NetBSD: undefined.h,v 1.1 2001/10/05 22:27:53 reinoud Exp $ */
|
||||
|
||||
#include <arm/undefined.h>
|
3
sys/arch/acorn32/include/varargs.h
Normal file
3
sys/arch/acorn32/include/varargs.h
Normal file
@ -0,0 +1,3 @@
|
||||
/* $NetBSD: varargs.h,v 1.1 2001/10/05 22:27:53 reinoud Exp $ */
|
||||
|
||||
#include <arm/varargs.h>
|
297
sys/arch/acorn32/include/vconsole.h
Normal file
297
sys/arch/acorn32/include/vconsole.h
Normal file
@ -0,0 +1,297 @@
|
||||
/* $NetBSD: vconsole.h,v 1.1 2001/10/05 22:27:53 reinoud Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1994,1995 Melvyn Tang-Richardson
|
||||
* All rights reserved.
|
||||
*
|
||||
* This code is derived from software written for Brini by Mark Brinicombe
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. All advertising materials mentioning features or use of this software
|
||||
* must display the following acknowledgement:
|
||||
* This product includes software developed by the RiscBSD team
|
||||
* 4. The name of the company nor the name of the author may be used to
|
||||
* endorse or promote products derived from this software without specific
|
||||
* prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR IMPLIED
|
||||
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
* IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
|
||||
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* RiscBSD kernel project
|
||||
*
|
||||
* vconsole.h
|
||||
*
|
||||
* Virtual console header
|
||||
*
|
||||
* Created : 18/09/94
|
||||
*/
|
||||
|
||||
/*
|
||||
* Hopefully this file has a short life with the new console coming just
|
||||
* round the corner
|
||||
*/
|
||||
|
||||
#ifdef _KERNEL
|
||||
#define LOSSY 1
|
||||
#define FIXEDRES 2
|
||||
|
||||
#define BOLD (1<<15)
|
||||
#define UNDERLINE (1<<16)
|
||||
#define REVERSE (1<<17)
|
||||
#define BLINKING (1<<18)
|
||||
|
||||
#include <arm/iomd/vidc.h>
|
||||
|
||||
struct vconsole;
|
||||
|
||||
/*
|
||||
* Render routines and terminal drivers which conform to version 1.00
|
||||
* of the spec should always be present. This is the lowest common
|
||||
* denominator, which enables the driver to always find something that
|
||||
* will work.
|
||||
*
|
||||
* Prefered drivers can be added required in the tables.
|
||||
*/
|
||||
|
||||
struct render_engine {
|
||||
char * name;
|
||||
int ( *init ) __P(( struct vconsole *vc ));
|
||||
void ( *putchar ) __P(( dev_t dev, char c, struct vconsole *vc ));
|
||||
int ( *spawn ) __P(( struct vconsole *vc ));
|
||||
int ( *swapin ) __P(( struct vconsole *vc ));
|
||||
paddr_t ( *mmap ) __P(( struct vconsole *vc, off_t offset, int nprot ));
|
||||
void ( *render ) __P(( struct vconsole *vc, char c));
|
||||
void ( *scrollup ) __P(( struct vconsole *vc, int low, int high ));
|
||||
void ( *scrolldown ) __P(( struct vconsole *vc, int low, int high ));
|
||||
void ( *cls ) __P(( struct vconsole *vc ));
|
||||
void ( *update ) __P(( struct vconsole *vc ));
|
||||
int ( *scrollback ) __P(( struct vconsole *vc ));
|
||||
int ( *scrollforward ) __P(( struct vconsole *vc ));
|
||||
int ( *scrollbackend ) __P(( struct vconsole *vc ));
|
||||
int ( *clreos ) __P(( struct vconsole *vc, int code ));
|
||||
int ( *debugprint ) __P(( struct vconsole *vc ));
|
||||
int ( *cursorupdate ) __P(( struct vconsole *vc ));
|
||||
int ( *cursorflashrate ) __P(( struct vconsole *vc, int rate ));
|
||||
int ( *setfgcol ) __P(( struct vconsole *vc, int col ));
|
||||
int ( *setbgcol ) __P(( struct vconsole *vc, int col ));
|
||||
int ( *textpalette ) __P(( struct vconsole *vc ));
|
||||
int ( *sgr ) __P(( struct vconsole *vc, int type ));
|
||||
int ( *blank ) __P(( struct vconsole *vc, int type ));
|
||||
int ( *ioctl ) __P(( struct vconsole *vc, dev_t dev, int cmd,
|
||||
caddr_t data, int flag, struct proc *p));
|
||||
int ( *redraw ) __P(( struct vconsole *vc, int x, int y, int a, int b ));
|
||||
int ( *attach ) __P(( struct vconsole *vc, struct device *dev, struct device *dev1, void * arg));
|
||||
int ( *flash ) __P(( struct vconsole *vc, int flash ));
|
||||
int ( *cursor_flash ) __P(( struct vconsole *vc, int flash ));
|
||||
};
|
||||
|
||||
/* Blank types. VESA defined */
|
||||
|
||||
/* Blank type 3 is suported by default */
|
||||
|
||||
#define BLANK_NONE 0 /* Not really blanked */
|
||||
#define BLANK_IDLE 1 /* Vsync dropped for fast reactivation */
|
||||
#define BLANK_UNUSED 2 /* Hsync dropped for semi fast reactivation */
|
||||
#define BLANK_OFF 3 /* All signals removed slowest reactivation */
|
||||
|
||||
#define R_NAME render_engine->name
|
||||
#define SPAWN render_engine->spawn
|
||||
#define SCROLLUP render_engine->scrollup
|
||||
#define SCROLLDOWN render_engine->scrolldown
|
||||
#define RENDER render_engine->render
|
||||
#define R_SWAPIN render_engine->swapin
|
||||
#define CLS render_engine->cls
|
||||
#define R_INIT render_engine->init
|
||||
#define PUTCHAR render_engine->putchar
|
||||
#define R_SWAPIN render_engine->swapin
|
||||
#define MMAP render_engine->mmap
|
||||
#define R_SCROLLBACK render_engine->scrollback
|
||||
#define R_SCROLLFORWARD render_engine->scrollforward
|
||||
#define R_SCROLLBACKEND render_engine->scrollbackend
|
||||
#define R_CLREOS render_engine->clreos
|
||||
#define R_DEBUGPRINT render_engine->debugprint
|
||||
#define CURSORUPDATE render_engine->cursorupdate
|
||||
#define CURSORFLASHRATE render_engine->cursorflashrate
|
||||
#define SETFGCOL render_engine->setfgcol
|
||||
#define SETBGCOL render_engine->setbgcol
|
||||
#define TEXTPALETTE render_engine->textpalette
|
||||
#define SGR render_engine->sgr
|
||||
#define BLANK render_engine->blank
|
||||
#define IOCTL render_engine->ioctl
|
||||
#define REDRAW render_engine->redraw
|
||||
#define R_ATTACH render_engine->attach
|
||||
#define FLASH render_engine->flash
|
||||
#define CURSOR_FLASH render_engine->cursor_flash
|
||||
|
||||
/*
|
||||
* The terminal emulator's scroll back is only used as a last resort for
|
||||
* cases when a render engine can't scrollback. In most cases though, the
|
||||
* terminal emulator won't allocate enough chapmap to perform scrollback.
|
||||
*/
|
||||
|
||||
struct terminal_emulator {
|
||||
char *name;
|
||||
/* Terminal emulation routines */
|
||||
int (*term_init) __P((struct vconsole *vc));
|
||||
int (*putstring) __P((char *string, int length, struct vconsole *vc));
|
||||
int (*swapin) __P((struct vconsole *vc));
|
||||
int (*swapout) __P((struct vconsole *vc));
|
||||
int (*sleep) __P((struct vconsole *vc));
|
||||
int (*wake) __P((struct vconsole *vc));
|
||||
int ( *scrollback) __P(( struct vconsole *vc ));
|
||||
int ( *scrollforward) __P(( struct vconsole *vc ));
|
||||
int ( *scrollbackend) __P(( struct vconsole *vc ));
|
||||
int ( *debugprint) __P(( struct vconsole *vc ));
|
||||
int ( *modechange) __P(( struct vconsole *vc ));
|
||||
int ( *attach ) __P(( struct vconsole *vc, struct device *dev, struct device *dev1, void *arg ));
|
||||
};
|
||||
|
||||
#define T_NAME terminal_emulator->name
|
||||
#define TERM_INIT terminal_emulator->term_init
|
||||
#define T_SWAPIN terminal_emulator->swapin
|
||||
#define PUTSTRING terminal_emulator->putstring
|
||||
#define SLEEP terminal_emulator->sleep
|
||||
#define WAKE terminal_emulator->wake
|
||||
#define T_SCROLLBACK terminal_emulator->scrollback
|
||||
#define T_SCROLLFORWARD terminal_emulator->scrollforward
|
||||
#define T_SCROLLBACKEND terminal_emulator->scrollbackend
|
||||
#define T_DEBUGPRINT terminal_emulator->debugprint
|
||||
#define MODECHANGE terminal_emulator->modechange
|
||||
#define T_ATTACH terminal_emulator->attach
|
||||
|
||||
struct vconsole {
|
||||
/* Management of consoles */
|
||||
|
||||
struct vconsole *next;
|
||||
int number;
|
||||
int opened;
|
||||
struct tty *tp;
|
||||
struct proc *proc;
|
||||
int flags;
|
||||
|
||||
/* Data structures */
|
||||
char *data;
|
||||
char *r_data;
|
||||
|
||||
/* Structures required for the generic character map */
|
||||
int xchars, ychars;
|
||||
int *charmap;
|
||||
int xcur, ycur;
|
||||
|
||||
/* This is the end of the old stuff */
|
||||
|
||||
struct render_engine *render_engine;
|
||||
struct terminal_emulator *terminal_emulator;
|
||||
|
||||
int t_scrolledback;
|
||||
int r_scrolledback;
|
||||
|
||||
int blanktime;
|
||||
int blanked;
|
||||
|
||||
int vtty;
|
||||
};
|
||||
|
||||
extern int vconsole_pending;
|
||||
extern int vconsole_blankinit;
|
||||
extern int vconsole_blankcounter;
|
||||
|
||||
extern struct vconsole *vconsole_current;
|
||||
|
||||
extern struct render_engine *render_engine_tab[];
|
||||
extern struct terminal_emulator *terminal_emulator_tab[];
|
||||
|
||||
#endif
|
||||
|
||||
/* ioctls for switching between vconsoles */
|
||||
|
||||
#define CONSOLE_SWITCHUP _IO( 'n', 0 )
|
||||
#define CONSOLE_SWITCHDOWN _IO( 'n', 1 )
|
||||
#define CONSOLE_SWITCHTO _IOW( 'n', 2, int )
|
||||
#define CONSOLE_SWITCHPREV _IO( 'n', 3 )
|
||||
|
||||
/* ioctls for creating new virtual consoles */
|
||||
|
||||
#define CONSOLE_CREATE _IOW( 'n', 10, int )
|
||||
#define CONSOLE_RENDERTYPE _IOR( 'n', 11, 20 )
|
||||
#define CONSOLE_TERMTYPE _IOR( 'n', 12, 20 )
|
||||
|
||||
/* ioctls for locking in the current console. Kinky eh ? */
|
||||
|
||||
#define CONSOLE_LOCK _IO( 'n', 20 )
|
||||
#define CONSOLE_UNLOCK _IO( 'n', 21 )
|
||||
|
||||
/* ioctls for animation, multimedia and games */
|
||||
|
||||
#define CONSOLE_SWOP _IO( 'n', 30 ) /* Screen Banking */
|
||||
|
||||
#ifdef CONSOLEGFX
|
||||
struct console_line {
|
||||
int len;
|
||||
char data[128];
|
||||
};
|
||||
|
||||
struct console_coords {
|
||||
int x, y;
|
||||
};
|
||||
|
||||
#define CONSOLE_DRAWGFX _IOW( 'n', 31, struct console_line ) /* Screen Banking */
|
||||
#define CONSOLE_MOVE _IOW( 'n', 32, struct console_coords )
|
||||
#endif
|
||||
|
||||
/* ioctls for configuration and control */
|
||||
|
||||
#define CONSOLE_CURSORFLASHRATE _IOW ( 'n', 40, int )
|
||||
#define CONSOLE_MODE _IOW ( 'n', 41, struct vidc_mode )
|
||||
#define CONSOLE_MODE_ALL _IOW ( 'n', 42, struct vidc_mode )
|
||||
|
||||
#define CONSOLE_BLANKTIME _IOW ( 'n', 44, int )
|
||||
|
||||
/* ioctls for developers *DO NOT USE * */
|
||||
|
||||
#define CONSOLE_SPAWN_VIDC _IOW( 'n', 100, int )
|
||||
#define CONSOLE_DEBUGPRINT _IOW( 'n', 101, int )
|
||||
|
||||
|
||||
/* structures and ioctls added by mark for the Xserver development */
|
||||
|
||||
struct console_info {
|
||||
videomemory_t videomemory;
|
||||
int width;
|
||||
int height;
|
||||
int bpp;
|
||||
};
|
||||
|
||||
struct console_palette {
|
||||
int entry;
|
||||
int red;
|
||||
int green;
|
||||
int blue;
|
||||
};
|
||||
|
||||
#define CONSOLE_RESETSCREEN _IO( 'n', 102)
|
||||
#define CONSOLE_RESTORESCREEN _IO( 'n', 103)
|
||||
#define CONSOLE_GETINFO _IOR( 'n', 104, struct console_info )
|
||||
#define CONSOLE_PALETTE _IOW( 'n', 105, struct console_palette )
|
||||
#define CONSOLE_GETVC _IOR( 'n', 106, int )
|
||||
|
||||
#define CONSOLE_IOCTL_COMPAT_N _IO( 'n', 107 )
|
||||
#define CONSOLE_IOCTL_COMPAT_T _IO( 't', 107 )
|
||||
|
||||
/* End of vconsole.h */
|
60
sys/arch/acorn32/include/vidc_machdep.h
Normal file
60
sys/arch/acorn32/include/vidc_machdep.h
Normal file
@ -0,0 +1,60 @@
|
||||
/* $NetBSD: vidc_machdep.h,v 1.1 2001/10/05 22:27:53 reinoud Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1994,1995 Mark Brinicombe.
|
||||
* Copyright (c) 1994,1995 Brini.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This code is derived from software written for Brini by Mark Brinicombe
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. All advertising materials mentioning features or use of this software
|
||||
* must display the following acknowledgement:
|
||||
* This product includes software developed by Brini.
|
||||
* 4. The name of the company nor the name of the author may be used to
|
||||
* endorse or promote products derived from this software without specific
|
||||
* prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY BRINI ``AS IS'' AND ANY EXPRESS OR IMPLIED
|
||||
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
* IN NO EVENT SHALL BRINI OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
|
||||
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* vidc_machdep.h
|
||||
*
|
||||
* VIDC20 registers
|
||||
*
|
||||
*/
|
||||
|
||||
/*
|
||||
* This should be private to the vidc directory but there are still dependancies
|
||||
* between the vidc and the riscpc virtual console (struct vidc_mode) that
|
||||
* means this file must be exported to userland.
|
||||
* With the import of the new console code this will go away.
|
||||
*/
|
||||
|
||||
#ifndef _ARM32_VIDC_MACHDEP_H_
|
||||
#define _ARM32_VIDC_MACHDEP_H_
|
||||
|
||||
/* VIDC20 Base addresses */
|
||||
#define VIDC_HW_BASE 0x03400000
|
||||
#define VIDC_BASE 0xf6100000
|
||||
|
||||
#endif /* _ARM32_VIDC_MACHDEP_H_ */
|
||||
|
||||
/* End of vidc_machdep.h */
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user