Various fiddlings.
This commit is contained in:
@@ -23,6 +23,7 @@ XEDECLARECLASS1(xe, Emulator);
|
||||
XEDECLARECLASS2(xe, cpu, Processor);
|
||||
XEDECLARECLASS2(xe, kernel, Dispatcher);
|
||||
XEDECLARECLASS2(xe, kernel, XModule);
|
||||
XEDECLARECLASS2(xe, kernel, XNotifyListener);
|
||||
XEDECLARECLASS2(xe, kernel, XThread);
|
||||
XEDECLARECLASS2(xe, kernel, XUserModule);
|
||||
XEDECLARECLASS3(xe, kernel, fs, FileSystem);
|
||||
@@ -56,6 +57,10 @@ public:
|
||||
void UnregisterThread(XThread* thread);
|
||||
XThread* GetThreadByID(uint32_t thread_id);
|
||||
|
||||
void RegisterNotifyListener(XNotifyListener* listener);
|
||||
void UnregisterNotifyListener(XNotifyListener* listener);
|
||||
void BroadcastNotification(XNotificationID id, uint32_t data);
|
||||
|
||||
private:
|
||||
Emulator* emulator_;
|
||||
Memory* memory_;
|
||||
@@ -67,6 +72,7 @@ private:
|
||||
ObjectTable* object_table_;
|
||||
xe_mutex_t* object_mutex_;
|
||||
std::unordered_map<uint32_t, XThread*> threads_by_id_;
|
||||
std::vector<XNotifyListener*> notify_listeners_;
|
||||
|
||||
XUserModule* executable_module_;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user