Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys



> Module Name:  src
> Committed By: dyoung
> Date:         Wed Mar  5 07:09:18 UTC 2008
> 
> Modified Files:
>       src/sys/kern: kern_drvctl.c kern_pmf.c subr_autoconf.c
>       src/sys/sys: device.h
> 
> Log Message:
> Synchronize readers and writers of the device tree.
> 
> Add a device iterator object, deviter_t, and methods deviter_init(),
> deviter_first(), and deviter_next() for visiting each device in
> the device tree.
> 
> Take care not to re-shutdown a device in the event that the machine
> panics during reboot and the operator types 'reboot' at the kernel
> debugger prompt.
> 
> While I'm here, sprinkle PMF_FN_ARGS, PMF_FN_PROTO, et cetera.
> 
> 
> To generate a diff of this commit:
> cvs rdiff -r1.14 -r1.15 src/sys/kern/kern_drvctl.c src/sys/kern/kern_pmf.c
> cvs rdiff -r1.135 -r1.136 src/sys/kern/subr_autoconf.c
> cvs rdiff -r1.105 -r1.106 src/sys/sys/device.h
> 
> Please note that diffs are not public domain; they are subject to the
> copyright notices on the relevant files.

'rw' in deviter_init is used in KASSERT before initialized.

YAMAMOTO Takashi


Home | Main Index | Thread Index | Old Index