Use FORCEACTIVE for OSMessage rather than FORCEFILES

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

View File

@ -34,5 +34,11 @@ SECTIONS
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;
}
#if 0
BOOL OSJamMessage(OSMessageQueue* mq, OSMessage msg, s32 flags) {
BOOL enabled;
@ -85,4 +84,3 @@ BOOL OSJamMessage(OSMessageQueue* mq, OSMessage msg, s32 flags) {
OSRestoreInterrupts(enabled);
return TRUE;
}
#endif