Commit Graph

203 Commits

Author SHA1 Message Date
mycroft 108b65903a Fix an obscure bug:
If we enter DDB from the keyboard, kc_scandata[] wasn't updated before the
debugger was entered, and the first call to cngetc() would see the ESC and
stack another DDB entry on top.  This was... poor.
2000-02-25 00:42:47 +00:00
sato 7a91879a6d delete warning. 2000-02-22 04:11:24 +00:00
shin 26f41e8f13 support non-contiguous memory.
patch from Mycroft <root@ihack.net> and uch@netbsd.org.
tested hardware:
	VR4121	IBM WorkPad z50 (48MB, 16MB)
	VR4121	NEC Mobile Gear II MC/R730
	TX3912	Compaq C-series 810 (20MB), 2010c (20MB, 16MB)
	TX3922	Sharp Telios HC-AJ2 (32MB)
2000-02-21 13:46:02 +00:00
mycroft fec6c976f3 Make the z50 tab key work. 2000-02-18 06:54:47 +00:00
takemura 160bf15b09 Add com0's power control ID. 2000-02-11 03:20:17 +00:00
sato 709f6f50a2 show edge/level infomation in attach message. 2000-02-10 08:37:07 +00:00
sato 1dd1e143a9 add machine model name to cpu_model. 2000-02-10 02:15:01 +00:00
takemura 968822bd48 The pwctl writes ZERO as on if active=0. 2000-02-09 14:39:06 +00:00
dbj a4746f91c3 choose first keymap that matches.
Otherwise, the NEC MobilePro 770 chooses the wrong one.
This is consistent with keymap searching order from before revision 1.12,
although I haven't investigated why choosing the last match instead of the first
causes the MobilePro 770 to lose
2000-02-06 06:29:22 +00:00
takemura ae6160e233 CPU specific idle hook and VR idle routine. 2000-01-28 15:08:36 +00:00
takemura 48205b1acc Delete unused lines. 2000-01-28 15:02:11 +00:00
sato 6591d38772 - modify debug stuff.
default all disable.
2000-01-27 06:28:41 +00:00
sato 9dbdea95dd - show bus clock freq setting and memory clock freq setting in boot time. 2000-01-27 06:25:54 +00:00
sato 674bb73d1e - fix using uninitialized argument of bitdisp64(). 2000-01-27 06:23:05 +00:00
takemura 5b9cd9b86f Fix a problem which is reported in PR port-hpcmips/9207.
Vrkiu_cngetc() had returned WSCONS_EVENT_ALL_KEYS_UP if there are no event to
report. Modification keys like shift-key had been canceled by that event.
2000-01-22 09:12:35 +00:00
shin af0112be28 move keymap initialization into vrkiu_init(). 2000-01-17 12:22:37 +00:00
sato 114d690d03 delete unused codes. 2000-01-17 04:06:06 +00:00
takemura 7817a37e38 WSMOUSE_SCALIBCOORDS/WSMOUSE_GCALIBCOORDS support. 2000-01-10 14:07:58 +00:00
takemura ba04c55ed3 Absolute pointing device support.
- Wsmouse_input() get new argument 'flag', which indicates whether x/y/z are
   relative or absolute.
 - Wsmouse get new io controls, WSMOUSEIO_SCALIBCOORDS and
   WSMOUSEIO_GCALIBCOORDS.
2000-01-08 02:57:22 +00:00
takemura 3e0dc7b316 VR41xx's PIU (Touch panel I/F unit) suport.
Currently it emulates relative pointing device like mouse, but it should
behave like an absolute pointing device. It needs more works in wsmouse side.
1999-12-28 03:15:16 +00:00
takemura 98a2a24647 New button handler and power controller with configurable hooking mechanism. 1999-12-23 06:26:08 +00:00
shin 79adf0a66b display CPU clock at boot time(Ex. NEC VR4121 rev0.0 131.072MHz). 1999-12-16 13:09:02 +00:00
shin 9751951da4 add CPU pipeline clock calculation function for VR41xx.
display CPU clock at boot time(Ex. NEC VR4121 rev0.0 131.072MHz).
1999-12-16 12:10:02 +00:00
sato b92082a557 - dump some pmu registers at attach. 1999-12-16 09:37:33 +00:00
sato 0941c3a3c9 - cleanup a little.. 1999-12-16 09:36:19 +00:00
sato 63a8704a00 - initialize vrdsu_softc sc_iot member in vrdsuattach(). 1999-12-14 04:21:10 +00:00
sato 254fb071e7 - Vr4102 does not have PMUWAIT_REG_W register, so comment it.
- Vr4121 only have PMUDIV_REG_W register, so comment it.
1999-12-13 06:53:01 +00:00
sato 93482f6705 - change some comments.
- vr4102 have not BCUCNT3_REG_W register, so comment it.
1999-12-13 03:11:36 +00:00
castor e91bafa460 Replace unused keys with IGN instead of UNK for NEC MobilePro 750c,
to match usage of other systems.
Also, modify ALT keys to return AltL keysym so debugger key sequence
will work.
1999-12-11 08:23:29 +00:00
jun d4524d28d7 MobilePro750c keyboard mapping table contributed by "Castor Fu" <castor@geocast.com> 1999-12-09 03:14:06 +00:00
jun 20e8996454 add mobilepro750c_keytrans 1999-12-09 03:03:55 +00:00
sato 4765859db3 vrbcu related change. 1999-12-09 02:15:27 +00:00
sato 30dbdb3a28 - cleanup a little.
- vrbcu_vrip_getcpuid()
- exported prototype move to header.
1999-12-09 02:14:00 +00:00
sato 1ff57633a7 - clear all intr status and show old status when attached. 1999-12-08 01:54:59 +00:00
sato 0df4960b03 - PMUINT_ALL, PMUINT2_ALL.
- some registers.
1999-12-08 01:51:56 +00:00
sato 2c24f58ba1 Vr41xx LED control register definitions. 1999-12-08 01:43:58 +00:00
sato 64ea52288d cleanup a little.. 1999-12-07 04:54:54 +00:00
takemura 21574acbba You can push power key to reboot when halt in vr_reboot. 1999-12-04 14:23:35 +00:00
takemura b5c8739b96 Unify vr_reset and vr_powerdown. 1999-12-04 10:55:17 +00:00
takemura 19a5b325f3 Print input/output/interrupt settings. 1999-12-04 10:15:34 +00:00
shin ce5757bb6b fix Fujitsu INTERTOP CX300 keymap. 1999-11-29 02:20:20 +00:00
takemura f972baf686 Add definition for VR's special instructions. 1999-11-28 12:11:45 +00:00
sato 943c083676 PowerOff code. (not yet completely)
'halt -p' availavle.
	not yet all power off...
	cannot exit poweroff mode. (reset required..)
1999-11-28 10:59:05 +00:00
takemura 62009df24f Add new device vrdsu, with which we can hard reset the VR41xx CPU.
Why don't you try shutdown comand with option '-r ?
1999-11-28 04:29:37 +00:00
shin 1cf30597ea forgot to change 'VRKIU_LAYOUT' to 'PCKBD_LAYOUT'. 1999-11-22 02:14:30 +00:00
shin 312ac4e1e1 add scan code mapping for
IBM WorkPad z50
	NEC MobilePro 770, 800
	Sharp Tripad PV6000 / Vadem Clio
	NEC MC-CS series
	Fujitsu Intertop CX300

change keyboard layout according to model(default).
add options PCKBD_LAYOUT to override default.
1999-11-21 12:53:57 +00:00
uch fe6ca23b78 add new function vr_fb_init, vr_mem_init. 1999-11-21 07:01:54 +00:00
uch 2cf4f4b9b6 Clear interrupt status before dispatch handler. 1999-11-07 14:07:50 +00:00
takemura 5546e92c75 Clear interrupt register before check keys. 1999-11-05 04:28:14 +00:00
enami 022e07f47f make sure to sync mask bit and array index. 1999-11-03 13:55:41 +00:00
takemura 5a30c20715 Wsdisplay and wskbd are supported as a console device. 1999-10-24 08:37:28 +00:00
shin cff2720381 fix message in vr_device_register() 1999-10-16 12:27:55 +00:00
takemura db2b0adebd Import NetBSD/hpcmips source files from hpcmips repository.
file list:
        sys/arch/hpcmips/
        distrib/hpcmips/
        etc/etc.hpcmips/
        lib/libc/arch/mips/fplib/
        lib/libc/arch/mips/fplib/Makefile.inc
        lib/libc/arch/mips/fplib/environment.h
        lib/libc/arch/mips/fplib/fplib_glue.c
        lib/libc/arch/mips/fplib/fplib_libc.c
        lib/libc/arch/mips/fplib/hpcmips-gcc.h
        lib/libc/arch/mips/fplib/softfloat-macros.h
        lib/libc/arch/mips/fplib/softfloat-specialize.h
        lib/libc/arch/mips/fplib/softfloat.c
        lib/libc/arch/mips/fplib/softfloat.h
        lib/libc/arch/mips/gen/ieee.h
        lib/libc/arch/mips/gen/sf_fabs.c
        lib/libc/arch/mips/gen/sf_flt_rounds.c
        lib/libc/arch/mips/gen/sf_fpgetmask.c
        lib/libc/arch/mips/gen/sf_fpgetround.c
        lib/libc/arch/mips/gen/sf_fpgetsticky.c
        lib/libc/arch/mips/gen/sf_fpsetmask.c
        lib/libc/arch/mips/gen/sf_fpsetround.c
        lib/libc/arch/mips/gen/sf_fpsetsticky.c
        lib/libc/arch/mips/gen/sf_isinf.c
        lib/libc/arch/mips/gen/sf_ldexp.c
        lib/libc/arch/mips/gen/sf_modf.c
1999-09-16 12:23:18 +00:00