Commit Graph

439 Commits

Author SHA1 Message Date
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
uch 27a7fbff47 debug frame buffer draw routines moved to video_subr.c.
plumvideo also use it.
2000-05-22 17:17:44 +00:00
uch c70d727504 regen. 2000-05-22 15:05:37 +00:00
uch af2b106d9a Add SHARP Telios HC-VJ1C and Mobilon HC-4500 entries. 2000-05-22 15:03:46 +00:00
uch 817c8734c5 fix comment. 2000-05-22 07:40:41 +00:00
uch 7b768bd6e8 recognize 32MByte D-RAM. 2000-05-21 11:24:45 +00:00
uch 060197b367 Get LCD size from PLUM2 Display control register. 2000-05-21 11:22:25 +00:00
soren b70819c71a Also share BE ldscripts. 2000-05-21 02:50:10 +00:00
takemura 5e48883c49 Add NEC Mobile Pro 780/880 and Vadem Clio 1050. 2000-05-20 07:11:25 +00:00
takemura 6bef866101 Add two items:
NEC MobilePro 780 (MC/R530A)
  NEC MobilePro 880 (MC/R730A)
2000-05-20 05:08:53 +00:00
shin 405f83e99a fix platid_test source files. 2000-05-20 03:41:28 +00:00
sato 8bc2515577 fix CONFIG_HOOK_BUTTONEVENT_CANCEL keycode. 2000-05-18 03:27:22 +00:00
shin 5eacd822a1 delete undefined 'NEC_MCR_4XX'. 2000-05-17 08:38:25 +00:00
thorpej 463931b3ba Nuke dk_establish() from orbit except from those ports which still use
it to determine the boot device: mvme68k, pc532, macppc, ofppc.  Those
platforms should be changed to use device_register().  In the mean time,
those ports defined __BROKEN_DK_ESTABLISH.
2000-05-16 05:45:44 +00:00
sato ab17e681e7 NEC MC-CS LIGHT button.
NEC MC-R430 COM0 power.
CASIO E55 COM0 power.
CASIO E55 LIGHT button.
2000-05-15 01:40:44 +00:00
shin f26b6caddd clear CPU count register interrupt properly (VR4100). 2000-05-14 03:16:11 +00:00
uch f9b83f27e9 change Telios keyboard map: KS_KP_Enter -> KS_Return 2000-05-13 20:34:13 +00:00
uch 62923b307e fix #define RGB24(r, g, b) 2000-05-13 03:12:56 +00:00
uch f02836787f fix CLUT index bug. 2000-05-12 18:09:55 +00:00
shin e38d6212b9 make it compile again with '-Werror'. 2000-05-12 04:43:21 +00:00
uch 742429ff1e #undef'ed debug routine. 2000-05-10 23:57:13 +00:00
nisimura bd91f6f2e0 Adapt mips_locoresw[]. 2000-05-10 01:36:56 +00:00
shin 8587b62f36 call uvm_pageidlezero() while CPU is idle. 2000-05-09 13:23:57 +00:00
shin 2d39542769 deal with INT_MASK_REAL_DEV removal. 2000-05-09 13:20:55 +00:00
shin 51994cb450 make it compile again (add #include's). 2000-05-09 13:19:54 +00:00
uch 86d1ce5fd8 fix WSDISPLAYIO_PUTCMAP return value. 2000-05-09 10:15:17 +00:00
hubertf 9f48bba3ae Add "install" target, so "make install" after building the kernel
does something useful.  The target can be redefined by putting a
install-kernel-${MACHINE_NAME} target that fits your needs into
/etc/mk.conf.
2000-05-09 00:56:21 +00:00
thorpej 6a33c86623 HAVE_GCC28 -> HAVE_EGCS, and make it match gcc 2.9 as well. Also,
make the use of -Wno-uninitialized explicit, don't rely on a compiler
hack to do it for us.
2000-05-09 00:32:19 +00:00
uch 7ae9f5b5e9 -G 24 -> -G 20. TX3922 kernel became bigger. 2000-05-08 21:58:40 +00:00
uch cc01cd2448 implement 8bpp CLUT of Plum2, TX3912 video module. 2000-05-08 21:57:56 +00:00
uch e5ee37ffd9 add struct hpcfb_accessops to setclut method. TX3912 can't change
color map index (R:G:B = 3:3:2), so use this.
2000-05-08 21:56:32 +00:00
augustss 3a6e3a4670 Add (sometimes commented out) MIIVERBOSE option. 2000-05-08 13:49:44 +00:00
soren 95f3c9498d MIPS_INT_MASK_CLOCK and INT_MASK_REAL_DEV are deprecated. 2000-05-05 03:18:25 +00:00
takemura 9601a833c3 Remove wmipsdbg and wmipsrel as well as WMIPSDbg and WMIPSRel for
case sensitive file system.
2000-05-04 11:58:22 +00:00
takemura f056a711d7 Add some lines to support ATAPI and SCSI devices.
This makes the kernel 60KB bigger.
2000-05-04 10:32:47 +00:00
takemura d865561de6 Raw keyboard mode support. I'd tested this on MC/R530.
I don't sure if skbd work or not.
2000-05-04 10:25:45 +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 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