2014-03-30 22:09:49 +02:00
|
|
|
#include "stdafx.h"
|
2014-06-08 11:10:31 +02:00
|
|
|
#include "Emu/Memory/Memory.h"
|
2014-03-30 22:09:49 +02:00
|
|
|
|
2014-08-23 22:40:04 +02:00
|
|
|
#include "SPURSManager.h"
|
|
|
|
|
|
|
|
|
|
SPURSManagerEventFlag::SPURSManagerEventFlag(u32 flagClearMode, u32 flagDirection)
|
|
|
|
|
{
|
|
|
|
|
this->flagClearMode = flagClearMode;
|
|
|
|
|
this->flagDirection = flagDirection;
|
|
|
|
|
}
|
|
|
|
|
|
2014-08-31 17:01:48 +02:00
|
|
|
SPURSManagerTasksetAttribute::SPURSManagerTasksetAttribute(u64 args, vm::ptr<const u8> priority, u32 maxContention)
|
2014-08-23 22:40:04 +02:00
|
|
|
{
|
|
|
|
|
this->args = args;
|
|
|
|
|
this->maxContention = maxContention;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-15 20:17:30 +02:00
|
|
|
SPURSManager::SPURSManager()
|
2014-03-30 22:09:49 +02:00
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SPURSManager::Finalize()
|
|
|
|
|
{
|
2014-06-08 11:10:31 +02:00
|
|
|
}
|
|
|
|
|
|
2014-08-31 17:01:48 +02:00
|
|
|
void SPURSManager::AttachLv2EventQueue(u32 queue, vm::ptr<u8> port, int isDynamic)
|
2014-06-08 11:10:31 +02:00
|
|
|
{
|
|
|
|
|
//TODO:
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SPURSManager::DetachLv2EventQueue(u8 port)
|
|
|
|
|
{
|
|
|
|
|
//TODO:
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
SPURSManagerTaskset::SPURSManagerTaskset(u32 address, SPURSManagerTasksetAttribute *tattr)
|
|
|
|
|
{
|
|
|
|
|
this->tattr = tattr;
|
|
|
|
|
this->address = address;
|
2014-08-23 22:40:04 +02:00
|
|
|
}
|