diff options
| author | v-junyli <[email protected]> | 2025-04-01 17:01:48 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-04-01 17:01:48 -0700 |
| commit | 377403a674ece9688631149a35adca7fe07d0115 (patch) | |
| tree | 09a70b8dae855b5022dcb58d02b5ab0cead09408 /serial/VirtualSerial2/queue.c | |
| parent | 5d5cd612d00cc8c17f22a2793a284d1bb5091cdb (diff) | |
| parent | ee60abcd73e358f0a3f25cb5101f981e04a99168 (diff) | |
Merge pull request #1282 from microsoft/develop
Develop to main
Diffstat (limited to 'serial/VirtualSerial2/queue.c')
| -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); |
