Commit Graph

98 Commits

Author SHA1 Message Date
sato
af1dcf13da flash led when intrrupt. 2000-10-03 03:16:16 +00:00
sato
c419b94c00 vr41xx LED unit driver. 2000-10-03 03:13:04 +00:00
sato
ee8000c4ad check NBIVIDEO. 2000-10-02 04:15:51 +00:00
sato
3c83f44fa3 experimental ite8181 video driver for hpcfb.
- just copy from bivideo.
- erase WindowsCE hardware cursor initialy.
- LCD power management codes exist, but currently disabled.
  Because some devices(include ite8181) confuse after LCD power turn on.
  WorkPad z50 power unit seem to be very weak
2000-10-02 04:14:59 +00:00
sato
eb2da98d92 #include <sys/reboot.h> would probably suffice for those. 2000-09-25 09:03:32 +00:00
sato
67afa9cfe2 - when PMUINT_BATT or PMUINT_BATTINTR interrupts occured,
send CONFIG_HOOK_PMEVENT_SUSPENDREQ event.
2000-09-25 03:51:28 +00:00
sato
1efb55d0b4 - add debug/verbose functions. 2000-09-25 03:47:37 +00:00
sato
5125b04184 - can compile these files.
#include <sys/boot_flag.h>
2000-09-25 01:56:56 +00:00
jdolecek
49c105ffdb add new macro BOOT_FLAG() (defined in <sys/boot_flag.h>) - this
maps standard boot flags to corresponding RB_* values
use BOOT_FLAG() in port's MD code as appropriate

as discussed on tech-kern, add new boot flags -v, -q for booting
verbosely or quietly, and corresponding AB_VERBOSE/AB_QUIET
boot flags; also add FreeBSD-compatible bootverbose macro and
NetBSD-specific bootquiet macro

for hpcmips, use new bootverbose instead of it's own hpcmips_verbose

Tested on i386, and to limited extend (compile of affected files) also for
mvme68k, hp300, luna68k, sun3.
2000-09-24 12:32:31 +00:00
takemura
454e19c166 skbd -> hpckbd. hpckbd supports vrkiu as well as m38813c and tc5165. 2000-09-21 14:17:29 +00:00
sato
39556606fe handle CONFIG_HOOK_POWERCONTROL events
- PWR_SUSPEND: save giu bits values and turn "off" the values.
- PWR_RESUME: restore giu bits values.
2000-09-10 15:30:32 +00:00
sato
9a5210c76d - adapt config_hook(CONFIG_HOOK_PMEVENT,..)
save cmu clock mask register and disable all clock when PWR_SUSPEND event.
  restore saved cmu clock mask register when PWR_RESUME event.
2000-09-07 03:11:11 +00:00
thorpej
a86d1f4891 Add a lock around the scheduler, and use it as necessary, including
in the non-MULTIPROCESSOR case (LOCKDEBUG requires it).  Scheduler
lock is held upon entry to mi_switch() and cpu_switch(), and
cpu_switch() releases the lock before returning.

Largely from Bill Sommerfeld, with some minor bug fixes and
machine-dependent code hacking from me.
2000-08-20 21:50:06 +00:00
shin
04e4950cbb detect and eliminate phantom keys. 2000-08-05 05:55:27 +00:00
takemura
733c04149a Experimental MQ200 video driver. It's just copy of bivideo plus power
management routine.
2000-07-22 08:53:33 +00:00
takemura
d84cab3012 vrkiu_getc() will call over and over. but we want to see 'not implemented'
only once.
2000-07-22 08:26:00 +00:00
takemura
db17c07fd3 mb_bus_space_init() had been removed accidentally when KGDB was supported.
It's need for initialize system_bus_iot.
2000-07-22 06:02:46 +00:00
jeffs
0e306bace6 kgdb support for the vr hpcmips machines.
From Ethan Solomita (ethan@geocast.com).
2000-07-20 21:03:36 +00:00
deberg
23f2392b19 don't define TAILQ_FOREACH, it's in sys/queue.h now. 2000-07-20 03:44:46 +00:00
takemura
45b6ec5476 Experimental APM compatible power management. 2000-07-02 10:01:30 +00:00
matt
0aa592b979 Add a table of calibrations. The MCR_500 one (640x240) makes the MCR_700A
(800x600) almost unusable.  Now the 700A has it's own.
2000-06-13 05:59:55 +00:00
takemura
f0e427d05a Add platid, VADEM CLIO C-1000 and C1050.
Note: CLIO C-1000 is identical with SHARP Tripad PV6000.
2000-06-03 08:00:42 +00:00
thorpej
a7d0570e67 First sweep at scheduler state cleanup. Collect MI scheduler
state into global and per-CPU scheduler state:

	- Global state: sched_qs (run queues), sched_whichqs (bitmap
	  of non-empty run queues), sched_slpque (sleep queues).
	  NOTE: These may collectively move into a struct schedstate
	  at some point in the future.

	- Per-CPU state, struct schedstate_percpu: spc_runtime
	  (time process on this CPU started running), spc_flags
	  (replaces struct proc's p_schedflags), and
	  spc_curpriority (usrpri of processes on this CPU).

	- Every platform must now supply a struct cpu_info and
	  a curcpu() macro.  Simplify existing cpu_info declarations
	  where appropriate.

	- All references to per-CPU scheduler state now made through
	  curcpu().  NOTE: this will likely be adjusted in the future
	  after further changes to struct proc are made.

Tested on i386 and Alpha.  Changes are mostly mechanical, but apologies
in advance if it doesn't compile on a particular platform.
2000-05-26 21:19:19 +00:00
shin
8587b62f36 call uvm_pageidlezero() while CPU is idle. 2000-05-09 13:23:57 +00:00
takemura
fe8142f713 Raw keyboard mode support. I'd tested this on MC/R530.
I don't sure if skbd work or not.
2000-05-04 08:18:59 +00:00
takemura
33698fcc25 Mouse move event should be made before mouse bown event. Without that,
you may got a mouse down event in strange plase.
2000-05-04 06:14:05 +00:00
shin
f077f10640 fix scancode -> keycode mappings:
MC-CS	arrow keys
	PV-6000	semicolon and apostrophe
2000-05-04 02:24:13 +00:00
uch
9dccb575be change hpfcb_cnattach interface to adopt current implementation. 2000-05-02 17:45:15 +00:00
uch
441ca96c28 sync with new mips trap.c 2000-04-11 17:57:42 +00:00
nisimura
dba7b560cd Load delay slot is automagically adjusted at runtime since MIPS II
architecture.
2000-04-11 04:39:14 +00:00
sato
8bf945e9b3 push power button, send POWERCONTROL_LCD event. 2000-04-03 04:32:00 +00:00
sato
c1f0f12753 - hpcmips_verbose
- pbsdboot -v option
 - WIN I/O setting
 - vrisa IRQ GPIO mapping
 - memory banks.
2000-04-03 03:39:58 +00:00
jun
657c5b4130 add Mobile Pro 700 2000-03-31 13:01:17 +00:00
nisimura
73fa1ce87f Change 'goto cpu_switch1' to 'goto cpu_switch_queuescan' in vr_idle.S
and make the jump destination global.
2000-03-28 00:24:04 +00:00
sato
2b251ae99b change about debug print. 2000-03-17 09:54:15 +00:00
sato
16d7136b4c change about debug print.
CVS
2000-03-14 08:26:42 +00:00
sato
b76ec51696 - toggle CONFIG_HOOK_BUTTONEVENT_POWER event.
- change about debug print.
2000-03-14 08:23:24 +00:00
sato
035f58c823 HPC/PsPC keyboard types. 2000-03-13 01:46:44 +00:00
takemura
e9619d5d21 New frame buffer driver 'hpcfb' and built in video controller 'bivideo' 2000-03-12 05:04:44 +00:00
shin
53cff1c1e5 fix typo. 2000-03-11 09:11:33 +00:00
shin
a56d95d08b fix PV-6000/C-1000 keycode mapping. 2000-03-11 08:53:33 +00:00
sato
06f85d40f0 change about VRIPDEBUG. no action changes. 2000-03-10 09:18:00 +00:00
sato
67e7cb40b1 fix print message when #undef VRGIUDEBUG and change a little. 2000-03-10 09:05:01 +00:00
takemura
303401ce32 Change bus_addr_t and bus_size_t from u_int32_t to u_long.
Add -Werror option to kernel Makefile.
2000-03-05 05:22:12 +00:00
shin
2d3ab1ef0c stop memory probing at first memory image.
this is necessary for MC-CS12.
2000-02-25 11:20:20 +00:00
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