Commit Graph

188748 Commits

Author SHA1 Message Date
mrg
34df0cc276 need _ALIGN in locore.h as well, for DEBUG kernels. 2010-03-07 01:52:44 +00:00
mrg
5de4293bf6 gas has supported SPARC ".empty" for a long while; get rid of an
ancient workaround.
2010-03-07 00:42:08 +00:00
plunky
c269ebf72f use a MI major number for uhso(4) driver
(requested by mrg)
2010-03-06 23:45:38 +00:00
mrg
bc1d221669 move the memcpy/memset implementations out into their own file, with the
block copy versions as well.  move some of the definitions in locore.s
into a new locore.h.

locore.s is almost 2000 lines shorter with this change.
2010-03-06 23:26:10 +00:00
wiz
bee10f32c6 Fix typos and sort SEE ALSO. 2010-03-06 22:02:31 +00:00
wiz
3978d01fed Fix Xr and sort SEE ALSO. 2010-03-06 22:02:15 +00:00
wiz
669cac3f87 Sort list of supported hardware. 2010-03-06 22:00:22 +00:00
plunky
cb3859a13e include ttyHS0 in usbs target [for uhso(4)] 2010-03-06 21:33:20 +00:00
plunky
4677f8289f add major device for usho(4) driver 2010-03-06 21:31:50 +00:00
skrll
ea38704829 Add #include "opt_cputype.h" where necessary. 2010-03-06 21:22:42 +00:00
plunky
54b713d6df add uhso(4) driver for Option N.V. Wireless WAN modems 2010-03-06 21:15:17 +00:00
plunky
5876a3efee add uhso(4) 2010-03-06 21:12:04 +00:00
plunky
7b914145cb add UHSO_DEBUG for uhso(4) driver 2010-03-06 21:07:47 +00:00
plunky
800cedea24 Add uhso(4) driver and manpage for Option N.V. Wireless WAN modems 2010-03-06 21:05:36 +00:00
plunky
7a23a88ab7 regen for uhso(4) driver 2010-03-06 21:00:07 +00:00
plunky
74dbcf4d6f add details of Option N.V. Wireless WAN modems for uhso(4) driver 2010-03-06 20:59:07 +00:00
cnst
2c266eb533 make the acpi resource management paragraph more accurate 2010-03-06 19:53:33 +00:00
skrll
6098d4a478 Fix cputype test. 2010-03-06 19:36:33 +00:00
skrll
d77a107024 Improved version detection/reporting. From OpenBSD. 2010-03-06 16:57:00 +00:00
dsieger
9347a4aa25 Since someone (hi ahoka) added a reference to non-existant sched_m2(9),
add at least a stub now.
2010-03-06 16:42:55 +00:00
mlelstv
bc76b1d5b0 When clearing a log on failure, not only ask the kernel to ignore an
existing log but to remove it on next mount.
2010-03-06 11:31:40 +00:00
mrg
fbca096a2d clean up a bunch of MULTIPROCESSOR:
- always include ci_ipi_evcnt[] in cpuinfo
- #define sparc_ncpus 1 for !MULTIPROCESSOR
- make struct pmap::pm_list an pm_ctx always be an array, and simplify
  several functions and lookups to always be the same

tested on U60 and SB2500 before and after with one and two cpus in an
MP kernel, and UP kernels, and i can't find anything besides noise for
benchmark issues.  (infact, i can't really tell the difference between
GENERIC and GENERIC.MP on these systems...)
2010-03-06 08:08:29 +00:00
jruoho
e5ea8c401d Refer to sysctl(8) instead of sysctl(7) when appropriate. 2010-03-06 06:25:51 +00:00
cnst
a305e1eede add acpismbus(4), aibs(4), uthum(4) and wbsio(4) to DEVNAMES 2010-03-06 05:58:56 +00:00
cnst
4080cb1121 fix the relative humidity sensor 2010-03-06 04:39:16 +00:00
cnst
1c5aa5c757 no reason to be excluding aibs(4) from i386 XEN3_DOM0 if we include it in amd64; ok pgoyette 2010-03-06 04:33:24 +00:00
cnst
213f4eaf44 remove aiboost(4) from GENERICs, since it cannot win in autoconf(9) over aibs(4); ok pgoyette 2010-03-06 04:28:53 +00:00
christos
c6af1de885 - use warn/err properly
- wrap long lines
2010-03-06 00:30:54 +00:00
dsieger
f9c180d112 Minor wording correction. 2010-03-05 23:08:18 +00:00
njoly
3a3fc358b3 Use 'a && b && ...' contructs for running multiple commands on a single line
in Makefiles, to properly detect/report failures.
2010-03-05 23:06:49 +00:00
dyoung
6d8bb433d1 Remove dead code (it is commented out).
Delete the detach routine, it's obviously not finished.
2010-03-05 22:47:03 +00:00
pettai
40e5bde73e Added myself 2010-03-05 22:18:33 +00:00
jruoho
553e4c3582 Add the _COMPONENT definition and missing prototypes. Some related cosmetics. 2010-03-05 22:00:11 +00:00
jruoho
c38f7a7cda Preparing a device for wakeup involves:
(a) turning on all power resources required by the device; and
  (b) executing _DSW (or _PSW) control method.

This implements (b). Ok jmcneill@.
2010-03-05 21:01:44 +00:00
pooka
effc302a58 Make module_{lookup,enqueue}() static now that it's possible again
(effectively reverts my kern_module rev. 1.53 from some months ago)
2010-03-05 20:10:05 +00:00
agc
d9a9c03c7b Changes to 1.99.21/20100305
+ clean up some lint
+ the obligatory ''build on mac os x fixes'' - <inttypes.h> header file
2010-03-05 19:58:38 +00:00
pooka
04e9fbfc62 Remove no longer used -DNFS. 2010-03-05 19:53:37 +00:00
pooka
696ffdd08a note module changes 2010-03-05 18:51:22 +00:00
pooka
05e0f1dba9 Update to use newstyle rump_module interfaces. 2010-03-05 18:49:30 +00:00
pooka
c2efc59235 During bootstrap, process all modinfos in a DSO in one go. Get
rid of dependency tricks, since they are no longer necessary.
2010-03-05 18:47:49 +00:00
pooka
52672c7e21 regen for rump_module interface change 2010-03-05 18:43:58 +00:00
pooka
23f0cd6bfb Use improved kernel module interfaces: instead of adding + loading
modules in bootstrap, just add them.  Load them later the same way
as the kernel does: module_init_class().

Change the signature of rump_module_init() to take a vector instead
of just one module.  All modules in a DSO should be init'd at the
same time because they might depend on each other, and code outside
the rump kernel cannot know which way.  (binary kernel modules are
still loaded with rump_sys_modctl() the usual way).
2010-03-05 18:41:46 +00:00
skrll
df22db80ba Fix console attach. 2010-03-05 18:41:29 +00:00
pooka
ee7bfacd73 Move builtin modules to a list in init and load them from there
instead of using linksets directly.  This has two implications:

1) It is now possible to "unload" a builtin module provided it is
   not busy.  This is useful e.g. to disable a kernel feature as
   an immediate workaround to a security problem.  To re-initialize
   the module, modload -f <name> is required.
2) It is possible to use builtin modules which were linked at
   runtime with an external linker (dlopen + rump).
2010-03-05 18:35:01 +00:00
phx
ca79601180 Link the kernel with -q option to be able to relocate it with the boot loader. 2010-03-05 17:58:15 +00:00
phx
723e262213 A1200 (BPPC) BAT init. 2010-03-05 17:56:46 +00:00
phx
1239b0f909 Removed useless code. 2010-03-05 17:55:42 +00:00
skrll
8c84f0bdd3 Do not match on the elroy family. From OpenBSD. 2010-03-05 17:47:09 +00:00
jruoho
eb8716a0a5 Add missing license.
ok drochner@
2010-03-05 17:04:26 +00:00
pooka
934159ae4a Reset sendsig_sigcontext_vec at fini to avoid having it point at
garbage and to allow re-init of the module (if DIAGNOSTIC).
2010-03-05 16:55:56 +00:00