From 471bb043390d0995c847d01f1af89763bbee668f Mon Sep 17 00:00:00 2001 From: midipix Date: Sun, 26 May 2019 21:47:57 +0000 Subject: framework: code against the newly added __xfi_xxx interfaces. --- src/internal/ntux_init_impl.h | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 src/internal/ntux_init_impl.h (limited to 'src/internal/ntux_init_impl.h') diff --git a/src/internal/ntux_init_impl.h b/src/internal/ntux_init_impl.h deleted file mode 100644 index 69d008a..0000000 --- a/src/internal/ntux_init_impl.h +++ /dev/null @@ -1,25 +0,0 @@ -#ifndef NTUX_INIT_IMPL_H -#define NTUX_INIT_IMPL_H - -#include -#include -#include - -extern const ntapi_vtbl * ntux_ntapi; - -static int ntux_init(void) -{ - int32_t status; - ntapi_vtbl * pvtbl; - - if ((status = __xfi_ntapi_init(&pvtbl))) - return status; - - at_locked_cas( - (intptr_t *)&ntux_ntapi, - 0,(intptr_t)pvtbl); - - return 0; -} - -#endif -- cgit v1.2.3