diff options
author | midipix <writeonce@midipix.org> | 2020-12-04 02:02:55 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2020-12-04 13:24:16 +0000 |
commit | ef6024ad7dbf0c7e3b59ad007b03bbce5a6abb3d (patch) | |
tree | 415bc361992bfee3e87e0619220909d8c542f2dd /src/internal | |
parent | 9a449a25d26566c1a0c3e9d3e89e1ffc12e6bc4c (diff) | |
download | ntapi-ef6024ad7dbf0c7e3b59ad007b03bbce5a6abb3d.tar.bz2 ntapi-ef6024ad7dbf0c7e3b59ad007b03bbce5a6abb3d.tar.xz |
internals: ipc connections: use volatile type for book-keeping variables.
Diffstat (limited to 'src/internal')
-rw-r--r-- | src/internal/ntapi_impl.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/internal/ntapi_impl.h b/src/internal/ntapi_impl.h index deba32c..f565fff 100644 --- a/src/internal/ntapi_impl.h +++ b/src/internal/ntapi_impl.h @@ -99,9 +99,9 @@ typedef struct __attr_ptr_size_aligned__ _ntapi_internals { void * hdev_mount_point_mgr; void * hany[8]; struct dalist_ex ipc_conns; - void * ipc_pages[__NT_IPC_PAGES]; - int32_t ipc_page; - intptr_t hlock; + void * volatile ipc_pages[__NT_IPC_PAGES]; + int32_t volatile ipc_page; + intptr_t volatile hlock; uintptr_t v1_pipe_counter; ntapi_tt_get_csr_port_handle_addr_by_logic * tt_get_csr_port_handle_addr_by_logic; __ntapi_img_sec_bss * ntapi_img_sec_bss; |