Commit Graph

451 Commits

Author SHA1 Message Date
shin f077f10640 fix scancode -> keycode mappings:
MC-CS	arrow keys
	PV-6000	semicolon and apostrophe
2000-05-04 02:24:13 +00:00
uch 89cb6ad8b8 forgot to commit TX3912. 2000-05-02 18:00:54 +00:00
uch 3c873423e1 add ioctl, mmap.
hpcfb directly attach to tx3912video and plumvideo. (no longer use bivideo)
XXX CLUT
2000-05-02 17:50:51 +00:00
uch 9dccb575be change hpfcb_cnattach interface to adopt current implementation. 2000-05-02 17:45:15 +00:00
takemura 6bd45ff6c3 We should not report button down event while we don't know where it occur. 2000-05-01 07:40:05 +00:00
uch 77e7c7ee2c skbd_ioctl (not implemented yet) returns -1 not 0. 2000-04-30 18:43:37 +00:00
thorpej f51470a514 Require that each each MACHINE/MACHINE_ARCH supply a lock.h. This file
contains the values __SIMPLELOCK_LOCKED and __SIMPLELOCK_UNLOCKED, which
replace the old SIMPLELOCK_LOCKED and SIMPLELOCK_UNLOCKED.  These files
are also required to supply inline functions __cpu_simple_lock(),
__cpu_simple_lock_try(), and __cpu_simple_unlock() if locking is to be
supported on that platform (i.e. if MULTIPROCESSOR is defined in the
_KERNEL case).  Change these functions to take an int * (&alp->lock_data)
rather than the struct simplelock * itself.

These changes make it possible for userland to use the locking primitives
by including <machine/lock.h>.
2000-04-29 03:31:45 +00:00
shin e3d2f0ae85 delete obsolete 'options MIPS_16K_PAGE'. 2000-04-28 07:19:33 +00:00
uch e14885d915 fix comment. 2000-04-27 19:38:23 +00:00
uch f49b235cc0 remove COMPAT_386BSD_MBRPART
remove COMAPT_13, COMPAT_14. hpcmips appears NetBSD 1.5.
2000-04-25 06:20:14 +00:00
uch 6d1291a469 code clean up. 2000-04-24 13:02:13 +00:00
uch 814e39b9e3 add COMPAT_386BSD_MBRPART 2000-04-24 12:59:43 +00:00
uch 3be17707f3 remove #ifdef alpha 2000-04-24 12:58:32 +00:00
takemura 6d972981ff Support 8bpp mode on MC/R530. 2000-04-23 10:20:50 +00:00
itojun 3be41bae18 add stf pseudo interface (commented out due to possible security risks) 2000-04-19 06:50:27 +00:00
takemura 95e706c931 Don't call IsDlgMessage() if we are on Windows CE 2.01. 2000-04-16 03:17:59 +00:00
soda c56a43535d remove following symbols which became unnecessary in recent cpu_intr() change:
mips_hardware_intr
	MIPS3_INTERNAL_TIMER_INTERRUPT
	mips3_intr_cycle_count
	mips3_timer_delta
2000-04-15 22:05:51 +00:00
soda 94ee00e39d define `ssir' here, rather than misp/mips/trap.c (like other mips ports) 2000-04-15 22:02:26 +00:00
takemura 1572bc4bfd Make 'Boot' button to be default push button.
You can push return key to boot.
(But it does not work on Windows CE 1.0.)
2000-04-14 14:42:29 +00:00
takemura a3c99d2662 Dialog Box style key function. You can push space key to boot. 2000-04-12 15:07:34 +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
uch b16a6100aa comment out SOFTDEP
add upl, uvisor.
2000-04-10 17:44:06 +00:00
uch b6627b36a0 add rnd, IPV6 etc. 2000-04-09 14:14:50 +00:00
takemura f83087efc5 Add pseudo device 'rnd' for /dev/random. 2000-04-09 08:28:00 +00:00
takemura 2c13222ffc Delete needless #if. 2000-04-09 08:26:15 +00:00
soda 1c5551f260 splsoftnet() should block softclock() too. 2000-04-03 11:44:19 +00:00
sato 8bf945e9b3 push power button, send POWERCONTROL_LCD event. 2000-04-03 04:32:00 +00:00
sato 0f3ba7133a MCR-300, MC-CS LCD on/off port. 2000-04-03 04:31:05 +00:00
sato 126ead3471 add some events. 2000-04-03 03:48:42 +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
sato 7782859d5b mips_hardware_intr is defined in <mips/intr.h> 2000-04-03 03:37:25 +00:00
sato 1e2f627e0b - virtual TEXT vram implimentation.
- optimize scroll.
- hardware accelerator hooking mechanism (initianly, maybe change..)
- multiscreen (some bugs, so currently disabled)
- if you want disable above codes, #define HPCFB_DISABLE.
2000-04-03 03:35:37 +00:00
augustss 9a31a8c77f Add atapibus* at umass? 2000-04-03 00:03:28 +00:00
takemura 9afabc7add Recompile binaries for Mobile Pro 700. 2000-04-01 02:37:23 +00:00
jun 657c5b4130 add Mobile Pro 700 2000-03-31 13:01:17 +00:00
jun ad4db7ca62 add NEC Mobile Pro 700 2000-03-31 12:53:06 +00:00
jun 2c3c66ea0c regen. 2000-03-31 12:46:23 +00:00
jun c852fae661 add MobilePro700 2000-03-30 16:26:51 +00:00
sato 9f9ade2b2c add MC-CS backlight control. 2000-03-30 08:41:48 +00:00
sato b2f06b320c fix mapping. 2000-03-30 03:29:47 +00:00
simonb 2f1fef39b3 Centralise the declarations of cpu_model, machine, machine_arch,
osrelease, and ostype and remove "extern char foo[];" (for hostname
and domainname too).

Also delete redunctant decl of boottime in kern_info_43.c.
2000-03-28 23:57:24 +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
mycroft b0a227745b Add IPsec. 2000-03-26 21:35:48 +00:00
uch 398dafb09a enable USB staff. 2000-03-25 19:05:45 +00:00
uch 807350797d cosmetic change. 2000-03-25 15:12:04 +00:00
uch 7832b88a4a -G 30 -> -G 24 2000-03-25 15:11:08 +00:00
uch f9204d0a57 TOSHIBA TC6358TB(PLUM2) OHCI module support. 2000-03-25 15:08:26 +00:00
uch 58bae8effe bus_dma. taken from pmax. 2000-03-25 15:04:32 +00:00
nisimura 61609b54e2 Make sure proc0 PCB has spl0 condition in CP0 status register field.
cpu_fork() mistakenly created processes forked by proc0, including
kthreads, in splhigh condition, because [1] proc0's PCB was zero
cleared during initialization, and [2] value 0 in status register
field made processes to have splhigh condition when CPU tick was
assigned for them.  This mostly doesn't matter as forked processes
dive immediately into user mode through proc_trampoline code path,
however, kthreads never do that and remain in splhigh.

Reported by Ethan Solomita <ethan@geocast.com>.
2000-03-25 10:14:13 +00:00
soren 573160e03b Revert previous. 2000-03-24 23:06:03 +00:00
soren c535ede30b Move sysctl definitions from arch/mips to arch/foo. 2000-03-24 21:30:58 +00:00
thorpej b667a5a357 New callout mechanism with two major improvements over the old
timeout()/untimeout() API:
- Clients supply callout handle storage, thus eliminating problems of
  resource allocation.
- Insertion and removal of callouts is constant time, important as
  this facility is used quite a lot in the kernel.

The old timeout()/untimeout() API has been removed from the kernel.
2000-03-23 06:30:07 +00:00
mycroft 58d6d5d60c Add awi. 2000-03-23 04:43:41 +00:00
takemura 6e8bcbe821 Built in video supports get/set color map. 2000-03-20 12:45:41 +00:00
takemura 9a04280130 Change color map and share color map data with kernel part. 2000-03-20 10:47:33 +00:00
mycroft 18d0b53078 Need CD9660 now... 2000-03-20 06:10:45 +00:00
mycroft 04b6cd3a5d Add esp at pcmcia. 2000-03-19 21:56:11 +00:00
takemura dae2c19e55 - Pbsdboot.exe is compiled for WindowsCE 2.00.
Use Pbsdboot1.exe for Windows CE 1.01.
 - Doesn't display 'MEMORI KA-DO'(Japanese KANA) if SystemDefaultLangID
   isn't Japanese.
 - Set up Windows color palette for 8 bpp machine.
2000-03-19 11:10:57 +00:00
takemura 847d8fd135 Synch with adding arch/hpcmips/include/endian_machdep.h. 2000-03-19 10:46:17 +00:00
tron e86957458a Install "machineendian_machdep.h". 2000-03-17 22:36:31 +00:00
sato 2b251ae99b change about debug print. 2000-03-17 09:54:15 +00:00
mycroft 9e21b6555a In the `MY THAT'S GROSS' department...
Eliminate the recursive include of machine/endian.h from sys/endian.h.
2000-03-17 00:09:18 +00:00
mycroft 02905321b2 Foolish consistency. Mainly, always use underscores and sys/endian.h. 2000-03-16 15:09:34 +00:00
shin 6190c3253f add 'makeoptions CWARNFLAGS=""' to override CWARNFLAGS?= -Werror. 2000-03-16 01:45:51 +00:00
drochner aa1de89bdf explicitely #include <sys/systm.h> #if BUS_SPACE_DEBUG to get a printf()
prototype
2000-03-15 16:44:48 +00:00
sato 0a00ace3f7 some buttuns map to key codes which the button mean. 2000-03-14 08:37:31 +00:00
uch 6219354e8c sync with fb->hpcfb, btnmgr changes. 2000-03-14 08:31:07 +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
uch 9616fd8002 no longer required. 2000-03-13 18:56:40 +00:00
uch 00363a82c8 sync with hpcfb. 2000-03-13 18:49:15 +00:00
sato 54dab7a0d1 add BTN_COVER for MC-R520. 2000-03-13 01:57:06 +00:00
sato fd697ef8aa add PWCTL_LCDLIGHT for MC-R300 2000-03-13 01:54:39 +00:00
sato f9dc1cca42 add CONFIG_HOOK_POWERCONTROL_LCDLIGHT 2000-03-13 01:52:00 +00:00
sato 035f58c823 HPC/PsPC keyboard types. 2000-03-13 01:46:44 +00:00
uch a57fa19957 change debug message. 2000-03-12 15:42:43 +00:00
uch 44b86d33d6 recognize UCB1100 id. 2000-03-12 15:36:11 +00:00
uch ba8565be98 add WINCE_DEFAULT_SETTING and IT8368E_DESTRUCTIVE_CHECK for debug. 2000-03-12 15:35:29 +00:00
uch 6c57f806b1 sync with btnmgr change. 2000-03-12 15:28:12 +00:00
takemura dc7c050b3b Add wsmux device which is real device in /dev. 2000-03-12 13:46:27 +00:00
takemura b0650cbf17 Change btnmgr to wskbd device from pseudo device. 2000-03-12 12:08:16 +00:00
takemura 2996ac1c02 Bivideo utilize platid mechanisum for probing. 2000-03-12 11:46:44 +00:00
takemura c12028016f Add makefile to install hpcfb.h. 2000-03-12 06:40:16 +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 531586bc96 fix frame buffer type (normalized to 'black on white'). 2000-03-11 09:05:17 +00:00
shin a56d95d08b fix PV-6000/C-1000 keycode mapping. 2000-03-11 08:53:33 +00:00
shin b7a1ee6c84 configure controller 0 only (workaround for phantom PCIC). 2000-03-11 08:51:55 +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
sato 79d83d72e1 printf -> DPRINTF
vrisa_debug = 0 by default.
2000-03-10 01:30:06 +00:00
takemura fe02fcfe1e GENERIC configration includes Cassiopeia E-55 CF card support. 2000-03-08 14:53:33 +00:00
shin 5913106c36 add '%INCLUDES'. 2000-03-07 04:17:27 +00:00
thorpej a183d34f04 - Implement cnbell() -- ring the console bell. The cn_bell entrypoint
is optional.
- Add cn_bell to statically allocated consdevs as appropriate.
2000-03-06 21:36:05 +00:00
takemura 5c2ef51018 Add '\Storage Card1\netbsd'. 2000-03-06 13:24:12 +00:00
shin 84b24dcb3a cosmetic change. 2000-03-05 10:03:16 +00:00
takemura 775240e015 Delete #ifdef USE_RASTERCONS lines, which are not used. 2000-03-05 08:49:06 +00:00
takemura 45db29b1b3 Delete #ifdef USE_RASTERCONS lines, which are not used. 2000-03-05 06:24:33 +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