jakllsch
2b2a5770cc
Implement DIOC[GS]STRATEGY for sd(4).
2010-04-14 22:26:33 +00:00
jruoho
603f4c71f0
Simplify the setting of the GPEs. Add a debug-printf.
2010-04-14 20:08:56 +00:00
jruoho
75373338c1
UINT32 -> uint32_t; UINT8 -> uint8_t.
2010-04-14 19:32:35 +00:00
jruoho
fb53d8ceed
No need to spread the ACPICA type system any more than is necessary:
...
UINT8 -> uint8_t and UINT32 -> uint32_t.
2010-04-14 19:27:28 +00:00
jruoho
06a5faf4f3
Simplify error reporting, remove casts, KNF.
2010-04-14 18:39:56 +00:00
jruoho
8a96e47761
Remove the code that was copy-pasted to acpi_detach() from the attachment
...
routine. Add a note that the detachment is incomplete.
2010-04-14 17:20:19 +00:00
jruoho
e77002a163
Remove the #if 0'ed acpi_disable().
2010-04-14 17:14:45 +00:00
jruoho
0c88d0e418
Reorganize the main file: add several missing prototypes, move the functions
...
around so that they appear in their logical order and place, etc. In
addition, split the utility functions to a separate file.
No functional change. Ok jmcneill@.
2010-04-14 17:12:14 +00:00
pooka
f9ae378a99
Use reserved major for rumpblk instead of picking something which
...
may conflict.
2010-04-14 16:05:53 +00:00
pooka
59611015f4
Steal a static major number for rumpblk.
2010-04-14 16:05:23 +00:00
pooka
0d8b367e2d
Need a few funny #defines in kern_syscall.c too.
2010-04-14 15:15:37 +00:00
pooka
64d6a27dc2
need opt_modular.h in kern_syscall
2010-04-14 15:12:44 +00:00
pooka
8b9238922a
Use kern_syscall.c instead of homegrown syscall dis/establishment routines.
2010-04-14 14:49:05 +00:00
pooka
7ea24651a7
Move routines related to syscall establishment from kern_subr.c and
...
kern_stub.c to kern_syscall.c.
2010-04-14 14:46:59 +00:00
pooka
171f210283
regen: kauth_cred_t -> struct kauth_cred *
2010-04-14 14:14:52 +00:00
pooka
794cd3c3dc
Use "struct kauth_cred *" instead of kauth_cred_t in all exported
...
interfaces. Allows to remove hairbrained _t typedef dance.
2010-04-14 14:12:48 +00:00
pooka
00dd646066
regen: rump vnodeif went on a diet
2010-04-14 14:00:04 +00:00
pooka
fcde1e9ca0
Make rump vnode interface lightweight: the only things we
...
really need are:
0) provide VOP_OP in the alternate RUMP_VOP_OP namespace
and for each op:
1) schedule rump cpu
2) call VOP_OP
3) unschedule rump cpu
While here, take the opportunity to get rid of _t lossage in the
rump-exported interfaces.
2010-04-14 13:58:51 +00:00
pooka
735701ff27
Add a little comment on how bpf can be made unloadable, per pointer from ad.
2010-04-14 13:31:33 +00:00
pooka
592f1701c5
regenefactor for comment and whitespace changes
2010-04-14 12:21:04 +00:00
pooka
7b0c00ddf9
Print "end of special cases" only where special cases end and not
...
a second time at the end of the file. Adjust whitespace for the
sheer functional joy of it.
(i hope i didn't ruin someone's joke by missing a humorous implication
that all vnode operations are considered a little special)
2010-04-14 12:19:50 +00:00
pooka
c741c01282
Add comment about clock mismatch.
2010-04-14 10:34:54 +00:00
pooka
d3b3912fd0
Include kern_tc and use a timecounter driver instead of homerolled
...
kern_tc implementation.
2010-04-14 10:27:53 +00:00
jruoho
426356f9b2
Refactor the fixed-event handlers.
...
Also provide a detachment routine for these and fix a trivial bug;
a wrong structure was used when registering a sysmon_pswitch(9) switch.
2010-04-14 06:10:32 +00:00
macallan
e8eb2869bf
add the missing bits to allow X to run in 24bit with the wsfb driver
...
still no hardware acceleration though
2010-04-14 04:37:11 +00:00
pooka
794d5a7111
_KERNEL_OPT
2010-04-13 22:46:10 +00:00
macallan
294ad31cdd
fix a bunch of typos, now 8 bit fonts work properly
2010-04-13 20:10:38 +00:00
tsutsui
cde07f4f60
Misc KNF and cosmetics.
2010-04-13 13:30:37 +00:00
tsutsui
863aabbe23
Misc KNF.
2010-04-13 13:29:35 +00:00
ahoka
0edd676945
Remove bpfilter.h as not needed.
2010-04-13 13:09:46 +00:00
ahoka
8f356e922b
Do not unload pf when enabled, not even manually.
2010-04-13 13:08:16 +00:00
ahoka
d733b7a884
Revert my last change, it's not The Right Thing [tm].
2010-04-13 11:54:43 +00:00
ahoka
3bca1c92ed
change module class to driver.
2010-04-13 11:53:18 +00:00
tsutsui
eb9963a857
Misc KNF.
2010-04-13 11:22:22 +00:00
pooka
4fe640bd4d
polish previous
2010-04-13 10:12:43 +00:00
pooka
b0e7c8b4f9
If getdisksize() fails (happens e.g. on fss block devices), don't
...
give up if we don't really need the information provided by it.
2010-04-13 10:11:08 +00:00
tsutsui
c1acd41f47
Include "ioconf.h" to declare struct cfdriver foo_cd.
2010-04-13 09:51:07 +00:00
tsutsui
6df3cee82c
Remove a declaration of unused variable.
2010-04-13 09:49:54 +00:00
hannken
bceb3e2b5b
Add fstrans transactions to ufs_close(), ufs_getattr(), ufs_chmod()
...
and ufs_chown(). These functions change file system state.
2010-04-13 09:27:58 +00:00
hannken
d4436d742d
fss_softc_free: don't detach a disk that is not attached. Disk is
...
attached only if the backing store thread is running.
Resolves PR #43153 : fss error branch error
2010-04-13 07:58:54 +00:00
ahoka
66b5bc59ed
Autoload modules with any class.
...
This fixes autoloading of pf, zfs and possibly others.
2010-04-13 01:15:56 +00:00
ahoka
b9e768f315
Do not auto unload pf if it's enabled.
2010-04-13 01:02:43 +00:00
pooka
2c4f731dd6
tyop
2010-04-12 23:20:18 +00:00
christos
302c1e42ae
void police!
2010-04-12 23:09:28 +00:00
pooka
0b2753000a
support file system snapshot device
2010-04-12 22:31:48 +00:00
pooka
536aa3a306
Ignore EEXIST from devsw_attach. This is not the optimal solution,
...
but it makes it possible to dynamically create device nodes for
fss before the fss module init runs by allowing to run devsw_attach
earlier.
2010-04-12 22:29:11 +00:00
pooka
90bd012fbe
Support real file system transactions/suspension (vfs_trans.c)
...
instead of just stubbing it.
2010-04-12 22:19:17 +00:00
pooka
626c9a3996
support lwp specificdata
2010-04-12 22:17:23 +00:00
pooka
290fe400e0
Separate lwp specificdata data structure management from lwp cpu/vm
...
management.
No functional change.
(specificdata routines went from kern_lwp.c to subr_lwp_specificdata.c)
2010-04-12 22:15:31 +00:00
pooka
96f952e897
Report f_iosize as 512. Some callers want it, and we can only
...
guess a safe default here (because of etfs).
2010-04-12 21:37:44 +00:00