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

Re: [Minios-devel] [UNIKRAFT PATCH 2/2] plat/kvm: Update VGA console cursor location





On 08/22/2018 12:01 PM, Simon Kuenzer wrote:
So, I think we can make this happen by atomically copying the global state (which is row, column) by interrupts off to local stack variables. Then  we do all of our operations as normal (including scrolling in the buffer) and save atomically the state again before exiting the function. I think this is the best we can do for now, and - yes, this should be fixed also on the other console implementations in a similar way.

Yes, that would solve the problem of writing outside the video memory. We could still have weird behaviors where one line overwrites the other, but this is probably at least a partially viable solution.

I'll do that for the v2.

Cheers,
Florian

--
Dr. Florian Schmidt
フローリアン・シュミット
Research Scientist,
Systems and Machine Learning Group
NEC Laboratories Europe
Kurfürsten-Anlage 36, D-69115 Heidelberg
Tel.     +49 (0)6221 4342-265
Fax:     +49 (0)6221 4342-155
e-mail:  florian.schmidt@xxxxxxxxx
============================================================
Registered at Amtsgericht Mannheim, Germany, HRB728558

_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.