Date: Mon, 20 Oct 2014 10:55:02 +0200 From: =?windows-1252?Q?Jean-S=E9bastien_P=E9dron?= <dumbbell@FreeBSD.org> To: freebsd-current@freebsd.org Subject: Re: vt_suspend / vt_resume Message-ID: <5444CDE6.9020803@FreeBSD.org> In-Reply-To: <5436A52A.30802@FreeBSD.org> References: <542A43E1.5010401@FreeBSD.org> <542EBD1F.2060604@FreeBSD.org> <542EBEF1.1080200@freebsd.org> <5436A52A.30802@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --aR2su6jOfuv9QEpE31REA9Ewpgf8PbbjA Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 09.10.2014 17:09, Andriy Gapon wrote: > I looked at the vt code and I was not able to figure out what would be = the > proper place there. > Initially I thought that vt_allocate() would be it, but then it seems t= hat > vt_allocate() might not be called. So, perhaps vtterm_cnprobe() ? Somet= hing else? What about vt_upgrade()? It's called later in the boot process: /* Delay until all devices attached, to not waste time. */ SYSINIT(vt_early_cons, SI_SUB_INT_CONFIG_HOOKS, SI_ORDER_ANY, vt_upgrade,= &vt_consdev); However, it's called from vt_allocate() too, so you would need a flag in struct vd_device->vd_flags to record the fact the handlers are registered= =2E The core handlers would then call backend-specific handlers, if the backend provides them. --=20 Jean-S=E9bastien P=E9dron --aR2su6jOfuv9QEpE31REA9Ewpgf8PbbjA Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQJ8BAEBCgBmBQJURM3qXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NzA4N0ZEMUFFQUUwRTEyREJDNkE2RjAz OUU5OTc2MUE1RkQ5NENDAAoJEDnpl2Gl/ZTMnjAP/ilDAN5aQBn5pFxwbfh6JQ95 zPLkOsp1v6kyRmOdws1+gwSvVkmj64HtDpJhYD9il8pTL7nKVztQaFfkH8YhmYGi ztuAip67RNPwQWwwYInfpgqATrz9dgx3M2XgtlZEBWsMpfn5MjNDXeQOR/ddQ0fk /kuV9d0mNoxGQY2P0qdQljrBK5e0YoyCuZQDC0WhgwsxzjmNTDJg3nVGitIqSpau LeLRlUJe5d9k03IseczXiqsb963XK1P9mGYanlzYyyzSaZZBD71qrCjJ+Q36KbFI d2U0cvq+Pny2xthqtLmE3Bwbk0jJYNpiHH4gzZ6WSOjgZvbMZ8jLfIaHHhSLx8gH oPuxlLCdxZsAsDqurgMw3IgmCcDUVSVttO2ln2yQW9LsTYyBiSb94devy1yeEFmV 8MF5xg7lJdKcwM2wZsm2yaUay0zFtIJQvZm5UKisBp7oWRJYWmiJdMqX+uo7DKqC oWzHD5txyvLEIpW0ZgTwS3HpxIKhswFBXR1qqF5jTNjW6CmbvxXCiBdfsuSuXlKd 6Smsx/lJBM33FwYZpVghdChfIvY5keoxaS17lDVHFrIu1LdK3tfRAFe9xnkexrXo PtFrYk3hX0p8SggVkpcYzmSsiwKVhFabZe9x3fCdROW8knzHQTfiom7I8/CY3lWR iG4q3GXd0XWNNV7u/Dhm =xeog -----END PGP SIGNATURE----- --aR2su6jOfuv9QEpE31REA9Ewpgf8PbbjA--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5444CDE6.9020803>