Re: vt_suspend / vt_resume

From: Andriy Gapon <avg_at_FreeBSD.org>
Date: Thu, 09 Oct 2014 18:09:30 +0300
On 03/10/2014 18:21, Nathan Whitehorn wrote:
> 
> On 10/03/14 08:13, Andriy Gapon wrote:
>> The patch (I am not sure if fbd_attach is the right place to register the event
>> handlers):
> 
> It's not, I don't think, since fbd_attach() isn't called for all vt backends
> (e.g. the VGA and EFI backends don't call it). vt_fb_suspend() also only calls
> vt_suspend(), so it's probably best to put this in the core vt code.

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 that
vt_allocate() might not be called. So, perhaps vtterm_cnprobe() ? Something else?

Thanks!
-- 
Andriy Gapon
Received on Thu Oct 09 2014 - 13:10:08 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:52 UTC