JDK-8057585 UART: The bit flags used for notification status are not set/reset properly

alexey karaksin alexey.karaksin at oracle.com
Fri Sep 5 14:57:41 UTC 2014


Hi Jen,

SERIAL_IN_AVAILABLE and SERIAL_IN_OVERRUN are reset in 
javacall_uart_read_start.

SERIAL_IN_AVAILABLE sends once when new byte came. Java implementation 
should react on the event by calling read0().
to protect the java event queue, the javacall layer stops send 
SERIAL_IN_AVAILABLE till the java implementation react on the previous one.

the same with SERIAL_IN_OVERRUN.

Alexey.

On 05.09.2014 18:44, Jen Dority wrote:
> Hi Alexey,
>
> I don't see where SERIAL_IN_AVAILABLE and SERIAL_IN_OVERRUN are reset. 
> Are these events never sent?
>
> Jen
>
>
> On 9/4/2014 1:20 PM, alexey karaksin wrote:
>> issue: https://bugs.openjdk.java.net/browse/JDK-8057585
>> webrev: http://cr.openjdk.java.net/~alkonsta/8057585/
>>
>> Hi All,
>>
>> Please review the changes made in order to fix the glitch with bit 
>> operations for set/reset event notified flag.
>>
>>
>> Regards,
>> Alexey
>



More information about the dio-dev mailing list