2016-02-28 15:55:45 -05:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "Iop_Module.h"
|
|
|
|
#include "IopBios.h"
|
|
|
|
|
|
|
|
namespace Iop
|
|
|
|
{
|
|
|
|
class CThvpool : public CModule
|
|
|
|
{
|
|
|
|
public:
|
2018-04-30 21:01:23 +01:00
|
|
|
CThvpool(CIopBios&);
|
|
|
|
virtual ~CThvpool() = default;
|
2016-02-28 15:55:45 -05:00
|
|
|
|
2018-04-30 21:01:23 +01:00
|
|
|
std::string GetId() const override;
|
|
|
|
std::string GetFunctionName(unsigned int) const override;
|
|
|
|
void Invoke(CMIPS&, unsigned int) override;
|
2016-02-28 15:55:45 -05:00
|
|
|
|
|
|
|
private:
|
2018-04-30 21:01:23 +01:00
|
|
|
uint32 CreateVpl(uint32);
|
|
|
|
uint32 DeleteVpl(uint32);
|
2024-11-11 12:17:33 -05:00
|
|
|
uint32 AllocateVpl(uint32, uint32);
|
2018-04-30 21:01:23 +01:00
|
|
|
uint32 pAllocateVpl(uint32, uint32);
|
|
|
|
uint32 FreeVpl(uint32, uint32);
|
|
|
|
uint32 ReferVplStatus(uint32, uint32);
|
2016-02-28 15:55:45 -05:00
|
|
|
|
2018-04-30 21:01:23 +01:00
|
|
|
CIopBios& m_bios;
|
2016-02-28 15:55:45 -05:00
|
|
|
};
|
|
|
|
}
|