Use FORCEACTIVE for OSMessage rather than FORCEFILES

This commit is contained in:
Phillip Stephens 2023-01-14 14:24:41 -08:00
parent 10b6be7e29
commit 99075cea0b
2 changed files with 7 additions and 3 deletions

View File

@ -34,5 +34,11 @@ SECTIONS
FORCEFILES FORCEFILES
{ {
OSMessage.o /* How is this even in the binary? */ }
FORCEACTIVE
{
OSInitMessageQueue
OSSendMessage
OSReceiveMessage
} }

View File

@ -60,7 +60,6 @@ BOOL OSReceiveMessage(OSMessageQueue* mq, OSMessage* msg, s32 flags) {
return TRUE; return TRUE;
} }
#if 0
BOOL OSJamMessage(OSMessageQueue* mq, OSMessage msg, s32 flags) { BOOL OSJamMessage(OSMessageQueue* mq, OSMessage msg, s32 flags) {
BOOL enabled; BOOL enabled;
@ -85,4 +84,3 @@ BOOL OSJamMessage(OSMessageQueue* mq, OSMessage msg, s32 flags) {
OSRestoreInterrupts(enabled); OSRestoreInterrupts(enabled);
return TRUE; return TRUE;
} }
#endif