Hi, Gerd.
>
> > if (!(s->mouse_status & MOUSE_STATUS_REMOTE) &&
> > -(s->common.queue.count < (PS2_QUEUE_SIZE - 16))) {
> > +(s->common.queue.count < PS2_QUEUE_SIZE - 4)) {
> > for(;;) {
>
> Almost there.
>
> The check for enougth space in the queue should be for ev
From: Gonglei
According to the PS/2 Mouse/Keyboard Protocol, the keyboard outupt buffer size
is 16 bytes. And the PS2_QUEUE_SIZE 256 was introduced in Qemu from the very
beginning.
When I started a redhat5.6 32bit guest, meanwhile tapped the keyboard as
quickly as
possible, the screen would sh
Hi,
> if (!(s->mouse_status & MOUSE_STATUS_REMOTE) &&
> -(s->common.queue.count < (PS2_QUEUE_SIZE - 16))) {
> +(s->common.queue.count < PS2_QUEUE_SIZE - 4)) {
> for(;;) {
Almost there.
The check for enougth space in the queue should be for every
ps2_mouse_send_pac