kern: obj stubs to get past slab init

This commit is contained in:
Michael Scire 2020-02-07 11:51:58 -08:00
parent 8cfffc69d5
commit e9e949ec36
22 changed files with 642 additions and 9 deletions

View file

@ -26,7 +26,7 @@ namespace ams::kern {
NON_COPYABLE(CLASS); \
NON_MOVEABLE(CLASS); \
private: \
friend class KClassTokenGenerator; \
friend class ::ams::kern::KClassTokenGenerator; \
static constexpr inline auto ObjectType = ::ams::kern::KClassTokenGenerator::ObjectType::CLASS; \
static constexpr inline const char * const TypeName = #CLASS; \
static constexpr inline ClassTokenType ClassToken() { return ::ams::kern::ClassToken<CLASS>; } \