Part 2 of kernel cleanup: merging functions into shims.
This commit is contained in:
@@ -14,21 +14,20 @@
|
||||
#include <xenia/core.h>
|
||||
#include <xenia/xbox.h>
|
||||
|
||||
|
||||
namespace xe {
|
||||
namespace kernel {
|
||||
|
||||
struct X_RTL_CRITICAL_SECTION;
|
||||
|
||||
void xeRtlInitializeCriticalSection(uint32_t cs_ptr);
|
||||
X_STATUS xeRtlInitializeCriticalSectionAndSpinCount(
|
||||
uint32_t cs_ptr, uint32_t spin_count);
|
||||
void xeRtlEnterCriticalSection(uint32_t cs_ptr, uint32_t thread_id);
|
||||
uint32_t xeRtlTryEnterCriticalSection(uint32_t cs_ptr, uint32_t thread_id);
|
||||
void xeRtlLeaveCriticalSection(uint32_t cs_ptr);
|
||||
|
||||
void xeRtlInitializeCriticalSection(X_RTL_CRITICAL_SECTION* cs);
|
||||
X_STATUS xeRtlInitializeCriticalSectionAndSpinCount(X_RTL_CRITICAL_SECTION* cs,
|
||||
uint32_t spin_count);
|
||||
void xeRtlEnterCriticalSection(X_RTL_CRITICAL_SECTION* cs, uint32_t thread_id);
|
||||
uint32_t xeRtlTryEnterCriticalSection(X_RTL_CRITICAL_SECTION* cs,
|
||||
uint32_t thread_id);
|
||||
void xeRtlLeaveCriticalSection(X_RTL_CRITICAL_SECTION* cs);
|
||||
|
||||
} // namespace kernel
|
||||
} // namespace xe
|
||||
|
||||
|
||||
#endif // XENIA_KERNEL_XBOXKRNL_RTL_H_
|
||||
|
||||
Reference in New Issue
Block a user