summaryrefslogtreecommitdiffhomepage
path: root/src/internal
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-08-12 09:25:18 -0400
committermidipix <writeonce@midipix.org>2016-08-12 09:41:53 -0400
commitbbc71faf95a515f6e66ac12ed654d51a4d488782 (patch)
tree419657ecde29db764c7e2c9f633b086b315c8be6 /src/internal
parent563a1e17dcddd5b622d07d431a36e74b241993e1 (diff)
downloadntapi-bbc71faf95a515f6e66ac12ed654d51a4d488782.tar.bz2
ntapi-bbc71faf95a515f6e66ac12ed654d51a4d488782.tar.xz
sync block: remove validate/invalidate api, fix lock_tries logic, tidy up.
Diffstat (limited to 'src/internal')
-rw-r--r--src/internal/ntapi.c5
-rw-r--r--src/internal/ntapi_fnapi.h5
2 files changed, 4 insertions, 6 deletions
diff --git a/src/internal/ntapi.c b/src/internal/ntapi.c
index cf04ddc..7080089 100644
--- a/src/internal/ntapi.c
+++ b/src/internal/ntapi.c
@@ -231,11 +231,10 @@ static int32_t __fastcall __ntapi_init_once(ntapi_vtbl ** pvtbl)
__ntapi->tt_create_private_event = __ntapi_tt_create_private_event;
__ntapi->tt_wait_for_dummy_event = __ntapi_tt_wait_for_dummy_event;
__ntapi->tt_sync_block_init = __ntapi_tt_sync_block_init;
+ __ntapi->tt_sync_block_discard = __ntapi_tt_sync_block_discard;
__ntapi->tt_sync_block_lock = __ntapi_tt_sync_block_lock;
- __ntapi->tt_sync_block_server_lock = __ntapi_tt_sync_block_server_lock;
__ntapi->tt_sync_block_unlock = __ntapi_tt_sync_block_unlock;
- __ntapi->tt_sync_block_invalidate = __ntapi_tt_sync_block_invalidate;
- __ntapi->tt_sync_block_discard = __ntapi_tt_sync_block_discard;
+ __ntapi->tt_sync_block_server_lock = __ntapi_tt_sync_block_server_lock;
/* nt_port.h */
__ntapi->csr_port_handle = __ntapi_csr_port_handle;
diff --git a/src/internal/ntapi_fnapi.h b/src/internal/ntapi_fnapi.h
index 6a087f2..9db0560 100644
--- a/src/internal/ntapi_fnapi.h
+++ b/src/internal/ntapi_fnapi.h
@@ -119,11 +119,10 @@ ntapi_tt_create_inheritable_event __ntapi_tt_create_inheritable_event;
ntapi_tt_create_private_event __ntapi_tt_create_private_event;
ntapi_tt_wait_for_dummy_event __ntapi_tt_wait_for_dummy_event;
ntapi_tt_sync_block_init __ntapi_tt_sync_block_init;
+ntapi_tt_sync_block_discard __ntapi_tt_sync_block_discard;
ntapi_tt_sync_block_lock __ntapi_tt_sync_block_lock;
-ntapi_tt_sync_block_server_lock __ntapi_tt_sync_block_server_lock;
ntapi_tt_sync_block_unlock __ntapi_tt_sync_block_unlock;
-ntapi_tt_sync_block_invalidate __ntapi_tt_sync_block_invalidate;
-ntapi_tt_sync_block_discard __ntapi_tt_sync_block_discard;
+ntapi_tt_sync_block_server_lock __ntapi_tt_sync_block_server_lock;
/* nt_port.h */
ntapi_tt_port_guid_from_type __ntapi_tt_port_guid_from_type;