new-ipc: implement deferral. sm now works.
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
namespace sts::sm {
|
||||
|
||||
/* Service definition. */
|
||||
class DmntService final : public IServiceObject {
|
||||
class DmntService final : public sf::IServiceObject {
|
||||
protected:
|
||||
/* Command IDs. */
|
||||
enum class CommandId {
|
||||
@@ -32,14 +32,14 @@ namespace sts::sm {
|
||||
};
|
||||
private:
|
||||
/* Actual commands. */
|
||||
virtual Result AtmosphereGetRecord(Out<ServiceRecord> record, ServiceName service);
|
||||
virtual void AtmosphereListRecords(OutBuffer<ServiceRecord> records, Out<u64> out_count, u64 offset);
|
||||
virtual void AtmosphereGetRecordSize(Out<u64> record_size);
|
||||
virtual Result AtmosphereGetRecord(sf::Out<ServiceRecord> record, ServiceName service);
|
||||
virtual void AtmosphereListRecords(const sf::OutArray<ServiceRecord> &records, sf::Out<u64> out_count, u64 offset);
|
||||
virtual void AtmosphereGetRecordSize(sf::Out<u64> record_size);
|
||||
public:
|
||||
DEFINE_SERVICE_DISPATCH_TABLE {
|
||||
MAKE_SERVICE_COMMAND_META(DmntService, AtmosphereGetRecord),
|
||||
MAKE_SERVICE_COMMAND_META(DmntService, AtmosphereListRecords),
|
||||
MAKE_SERVICE_COMMAND_META(DmntService, AtmosphereGetRecordSize),
|
||||
MAKE_SERVICE_COMMAND_META(AtmosphereGetRecord),
|
||||
MAKE_SERVICE_COMMAND_META(AtmosphereListRecords),
|
||||
MAKE_SERVICE_COMMAND_META(AtmosphereGetRecordSize),
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user