[Kernel] Clean up XAM registration function declarations.
This commit is contained in:
parent
a87c3785ee
commit
e99916b352
|
@ -21,32 +21,23 @@ namespace xam {
|
||||||
xe::cpu::Export* RegisterExport_xam(xe::cpu::Export* export_entry);
|
xe::cpu::Export* RegisterExport_xam(xe::cpu::Export* export_entry);
|
||||||
|
|
||||||
// Registration functions, one per file.
|
// Registration functions, one per file.
|
||||||
void RegisterAvatarExports(xe::cpu::ExportResolver* export_resolver,
|
#define DECLARE_REGISTER_EXPORTS(n) \
|
||||||
KernelState* kernel_state);
|
void Register##n##Exports(xe::cpu::ExportResolver* export_resolver, \
|
||||||
void RegisterContentExports(xe::cpu::ExportResolver* export_resolver,
|
KernelState* kernel_state)
|
||||||
KernelState* kernel_state);
|
DECLARE_REGISTER_EXPORTS(Avatar);
|
||||||
void RegisterInfoExports(xe::cpu::ExportResolver* export_resolver,
|
DECLARE_REGISTER_EXPORTS(Content);
|
||||||
KernelState* kernel_state);
|
DECLARE_REGISTER_EXPORTS(Info);
|
||||||
void RegisterInputExports(xe::cpu::ExportResolver* export_resolver,
|
DECLARE_REGISTER_EXPORTS(Input);
|
||||||
KernelState* kernel_state);
|
DECLARE_REGISTER_EXPORTS(Locale);
|
||||||
void RegisterLocaleExports(xe::cpu::ExportResolver* export_resolver,
|
DECLARE_REGISTER_EXPORTS(Msg);
|
||||||
KernelState* kernel_state);
|
DECLARE_REGISTER_EXPORTS(Net);
|
||||||
void RegisterMsgExports(xe::cpu::ExportResolver* export_resolver,
|
DECLARE_REGISTER_EXPORTS(Notify);
|
||||||
KernelState* kernel_state);
|
DECLARE_REGISTER_EXPORTS(Nui);
|
||||||
void RegisterNetExports(xe::cpu::ExportResolver* export_resolver,
|
DECLARE_REGISTER_EXPORTS(UI);
|
||||||
KernelState* kernel_state);
|
DECLARE_REGISTER_EXPORTS(User);
|
||||||
void RegisterNotifyExports(xe::cpu::ExportResolver* export_resolver,
|
DECLARE_REGISTER_EXPORTS(Video);
|
||||||
KernelState* kernel_state);
|
DECLARE_REGISTER_EXPORTS(Voice);
|
||||||
void RegisterNuiExports(xe::cpu::ExportResolver* export_resolver,
|
#undef DECLARE_REGISTER_EXPORTS
|
||||||
KernelState* kernel_state);
|
|
||||||
void RegisterUIExports(xe::cpu::ExportResolver* export_resolver,
|
|
||||||
KernelState* kernel_state);
|
|
||||||
void RegisterUserExports(xe::cpu::ExportResolver* export_resolver,
|
|
||||||
KernelState* kernel_state);
|
|
||||||
void RegisterVideoExports(xe::cpu::ExportResolver* export_resolver,
|
|
||||||
KernelState* kernel_state);
|
|
||||||
void RegisterVoiceExports(xe::cpu::ExportResolver* export_resolver,
|
|
||||||
KernelState* kernel_state);
|
|
||||||
|
|
||||||
} // namespace xam
|
} // namespace xam
|
||||||
} // namespace kernel
|
} // namespace kernel
|
||||||
|
|
Loading…
Reference in New Issue