Commit Graph

131 Commits

Author SHA1 Message Date
tls
fca9d633b9 Add accept filters to GENERIC kernels where they exist. 2008-08-10 15:31:20 +00:00
simonb
0751ba4bff Add "options WAPBL" to standard GENERIC/INSTALL type configs. 2008-07-31 07:40:59 +00:00
tsutsui
a3c412626c Disable more pseudo-devices to shrink an install kernel. 2008-07-16 15:22:50 +00:00
tsutsui
6415b4ca38 Change boot messages to replace build date and maker with kernrev. 2008-07-16 14:45:17 +00:00
ad
b94f79f0e8 Replce exec_map with a pool. Proposed on tech-kern@, reviewed by chs@. 2008-07-02 17:28:54 +00:00
ad
06c343ac94 vm_page: put TAILQ_ENTRY into a union with LIST_ENTRY, so we can use both. 2008-06-04 12:41:40 +00:00
tsutsui
40f5425d58 Remove all initialization of obsolete ci_divisor_recip in
mips struct cpu_info and related macroes.
The member was prepared for a hack in MD microtime(9) implementation
but it has been superseded by MI timecounter(9).
2008-05-26 15:59:29 +00:00
tsutsui
99f94fd98d Some KNF and cosmetics. 2008-05-25 23:37:05 +00:00
tsutsui
b87210fa51 Normalize my licenses. 2008-05-14 13:29:27 +00:00
martin
ce099b4099 Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
tsutsui
a3fc79baa9 Split device_t/softc for iee(4), with misc cosmetic changes. 2008-04-04 17:03:42 +00:00
tsutsui
bc7b528919 Use CFATTACH_DECL_NEW(). (no softc) 2008-04-04 16:33:05 +00:00
tsutsui
d9941582bf Split device_t/softc for le(4) and variants and misc cosmetic changes. 2008-04-04 12:25:06 +00:00
tsutsui
02cb47cab2 Split softc and device_t for zsc(4) and its children.
XXX we should restructure MI APIs and make it really machine independent.
2008-03-29 19:15:34 +00:00
tsutsui
8d17a1295b Split softc/device_t for oosiop(4) and osiop(4), with misc cosmetic changes. 2008-03-29 09:11:35 +00:00
tsutsui
7b2990dafa - split softc/device_t
- adjust attach messages for sbdio devices
- misc cosmetics
2008-03-29 08:14:40 +00:00
tsutsui
92c1d7b259 Fix thinko. 2008-03-29 07:35:04 +00:00
tsutsui
4090172b20 Don't forget to initialize sc_dev. 2008-03-29 05:42:45 +00:00
tsutsui
03bb6cc822 Split device_t and softc for MI mk48txx(4) and intersil7170(4) clocks,
and other related misc cosmetics.
2008-03-28 20:26:12 +00:00
tsutsui
a2a8479cbe Fix spl(9) botch in cpu_intr() on ews4800mips:
Don't enable unhandled interrupts before all interrupts are processed.
2008-03-14 16:47:08 +00:00
drochner
bb33f35f20 Since files.wscons et al. are included by ~all ports anyway, include
them in the mi "files" file, and remove include statements from md files.
These shouldn't pull in additional kernel code when not in use, so it
shouldn't do any harm except a risk of namespace collisions which
should be easy to fix.
2008-02-20 21:43:33 +00:00
joerg
e69482d49d Introduce device_find_by_xname and device_find_by_driver_unit to replace
alldevs iterations all over src.

Patch discussed with and improved on suggestioned from cube@.
2008-02-12 17:30:57 +00:00
tsutsui
d738ece669 Disable more options and file-systems to shrink install kernel. 2008-01-30 16:27:43 +00:00
tsutsui
0a692f373a Optimize for R4400 with CPUFLAGS since we don't support MIPS1 based EWS4800. 2008-01-30 16:27:10 +00:00
joerg
3615cf7715 Now that __HAVE_TIMECOUNTER and __HAVE_GENERIC_TODR are invariants,
remove the conditionals and the code associated with the undef case.
2008-01-20 18:09:03 +00:00
tsutsui
05517e38f5 - move todr_attach(9) calls from each MD attachment to MI mk48txx_attach()
- don't clear todr_setwen in mk48txx_attach() since it might be set by
  MD attachments
2008-01-10 15:31:26 +00:00
wiz
35023be713 Fix typo in macro name and comments. 2008-01-09 20:38:34 +00:00
ad
c9e4f09710 Pull in the right headers. 2008-01-04 22:15:08 +00:00
ad
225df3f88d Don't pull in unrelated gunk. 2008-01-04 22:03:25 +00:00
ad
4a780c9ae2 Merge vmlocking2 to head. 2008-01-02 11:48:20 +00:00
ad
2ecdf58c2c Remove systrace. Ok core@. 2007-12-31 15:31:24 +00:00
perry
9b2b412c19 __FUNCTION__ -> __func__ 2007-12-15 00:39:14 +00:00
tsutsui
99221a563b Use TAILQ_FIRST(3) and TAILQ_NEXT(3) macro. 2007-12-05 12:31:25 +00:00
ad
4b293a84e1 Interrupt handling changes, in discussion since February:
- Reduce available SPL levels for hardware devices to none, vm, sched, high.
- Acquire kernel_lock only for interrupts at IPL_VM.
- Implement threaded soft interrupts.
2007-12-03 15:33:00 +00:00
ad
34db286793 Use the softint API. 2007-11-26 23:29:36 +00:00
ad
f2c57d8566 Call zs_lock_init() to set up the chanstate's lock. 2007-11-09 00:05:04 +00:00
ad
d37935697b Merge tty changes from the vmlocking branch. 2007-11-07 15:56:11 +00:00
xtraeme
4ba09b41c3 Remove System V semaphores and share memory options to set the limits:
SEMMNI, SEMMNS, SEMUME and SHMMAXPGS.

They can be tweaked via sysctl now. Ports that were setting values on
them weren't touched, I only removed the ones that were commented out.
2007-11-04 14:34:19 +00:00
tsutsui
d1b230ab5a Include <lib/libsa/dev_net.h> for "extern int try_bootp" decl. 2007-10-27 12:23:44 +00:00
garbled
d974db0ada Merge the ppcoea-renovation branch to HEAD.
This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree.  Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches.  The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
2007-10-17 19:52:51 +00:00
tsutsui
90ab854495 Disable agr(4) to shrink an install kernel. 2007-10-15 13:34:06 +00:00
ad
9f56dfa520 Merge brelse() changes from the vmlocking branch. 2007-10-08 18:02:53 +00:00
tsutsui
6c35be946a Save/restore curlwp on calling ROM_GETC() and ROM_PUTC() functions,
which might break %s7 register.
2007-08-25 00:25:44 +00:00
tsutsui
8570a29bb0 Don't print error messages on stray interrupts since
it could happen after cnputc().
2007-08-22 12:45:41 +00:00
tsutsui
c896224c88 Include <sys/proc.h> explicitly. 2007-07-23 17:55:39 +00:00
ad
63811f5275 Generic soft interrupts are mandatory. 2007-07-14 21:48:17 +00:00
tsutsui
446e7b7d8c __FUNCTION__ -> __func__ 2007-06-29 16:41:31 +00:00
tsutsui
9905ba64da Add options COMPAT_40. 2007-06-29 16:23:29 +00:00
tsutsui
bad1146f72 Fix botch in cnpollc(9) for keyboard devices. 2007-06-29 16:09:04 +00:00
tsutsui
1681c91ced We have to use _splnone() instead of spl0() to enable interrupts on mips
because spl0() is an alias of _spllower(0) and it doesn't set MIPS_SR_INT_IE.

Fixes ews4800mips kernel getting stuck in cpu_idle(9)
after cpu_configure(9) since yamt-idlelwp merge.
(previous mips_idle() implicitly set MIPS_SR_INT_IE
 but new cpu_idle(9) for mips no longer does it)
2007-06-29 16:03:04 +00:00