moved xsemaphore to xthread.d
add typed guest pointer template add X_KSPINLOCK, rework spinlock functions. rework irql related code, use irql on pcr instead of on XThread add guest linked list helper functions renamed ProcessInfoBlock to X_KPROCESS assigned names to many kernel structure fields
This commit is contained in:
committed by
Radosław Gliński
parent
32f7241526
commit
b5ddd30572
@@ -13,16 +13,10 @@
|
||||
#include "xenia/base/threading.h"
|
||||
#include "xenia/kernel/xobject.h"
|
||||
#include "xenia/xbox.h"
|
||||
|
||||
#include "xenia/kernel/xthread.h"
|
||||
namespace xe {
|
||||
namespace kernel {
|
||||
|
||||
struct X_KSEMAPHORE {
|
||||
X_DISPATCH_HEADER header;
|
||||
xe::be<uint32_t> limit;
|
||||
};
|
||||
static_assert_size(X_KSEMAPHORE, 0x14);
|
||||
|
||||
class XSemaphore : public XObject {
|
||||
public:
|
||||
static const XObject::Type kObjectType = XObject::Type::Semaphore;
|
||||
|
||||
Reference in New Issue
Block a user