svn commit: r197383 - in head/sys: conf contrib/x86emu dev/dpms dev/fb dev/x86bios modules modules/x86bios modules/x86emu

Anonymous swell.k at gmail.com
Mon Sep 21 08:46:34 UTC 2009


Xin LI <delphij at FreeBSD.org> writes:

> Author: delphij
> Date: Mon Sep 21 08:17:57 2009
> New Revision: 197383
> URL: http://svn.freebsd.org/changeset/base/197383
>
> Log:
>   Collapase interrupt supporting functions to a new module, and switch from
>   x86emu to this new module.
>   
>   This changeset also brings a fix for bugs introduced with the initial
>   x86emu commit, which prevents the user from using some display mode or
>   cause instant reboots during mode switch.
>   
>   Submitted by:	paradox <ddkprog yahoo com>
>
> Index: sys/dev/x86bios/x86bios.c
[...]
> +static moduledata_t x86bios_mod = {
> +	"x86bios",
> +	x86bios_modevent,
> +	NULL,
> +};
> +
> +DECLARE_MODULE(x86bios, x86bios_mod, SI_SUB_KLD, SI_ORDER_ANY);
> +MODULE_VERSION(x86bios, 1);
> +

SI_SUB_KLD may not work sometimes. If it panics when loaded from
loader(8) then better to place it in SI_SUB_CPU or later.

BTW, some style(9) fixes didn't make it there.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: a.diff
Type: text/x-patch
Size: 2418 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-head/attachments/20090921/482c3921/a.bin


More information about the svn-src-head mailing list