diff options
| author | Jakob Lichtenberg <[email protected]> | 2025-04-01 17:04:36 -0700 |
|---|---|---|
| committer | Jakob Lichtenberg <[email protected]> | 2025-04-01 17:04:36 -0700 |
| commit | 38e10591ece2141ba2265d89a134bac25d88eca0 (patch) | |
| tree | 252d443a3a38dad0ecb9db09ce2490fb88f07f5f /serial/VirtualSerial2 | |
| parent | fd2e0aaf97c2a31d1bcb608a96e68171e6308d69 (diff) | |
| parent | 377403a674ece9688631149a35adca7fe07d0115 (diff) | |
Merge branch 'main' into prahant/pc_loadletter_03012prahant/pc_loadletter_03012
Diffstat (limited to 'serial/VirtualSerial2')
| -rw-r--r-- | serial/VirtualSerial2/queue.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/serial/VirtualSerial2/queue.c b/serial/VirtualSerial2/queue.c index 83b022de..371ef693 100644 --- a/serial/VirtualSerial2/queue.c +++ b/serial/VirtualSerial2/queue.c @@ -717,7 +717,7 @@ QueueProcessGetLineControl( // // Take a snapshot of the line control register variable // - lineControlSnapshot = *lineControlRegister; + lineControlSnapshot = ReadNoFence((LONG *)lineControlRegister); // // Decode the word length @@ -946,7 +946,7 @@ QueueProcessSetLineControl( #endif } - lineControlSnapshot = *lineControlRegister; + lineControlSnapshot = ReadNoFence((LONG *)lineControlRegister); lineControlNew = (lineControlSnapshot & SERIAL_LCR_BREAK) | (lineControlData | lineControlParity | lineControlStop); |
