meso: add script to build mesosphere.bin

This commit is contained in:
Michael Scire 2020-01-23 19:00:42 -08:00
parent 59663619d9
commit 0ef7d15c5e
2 changed files with 4 additions and 2 deletions

View File

@ -27,7 +27,7 @@ namespace ams::kern::init {
u32 rw_end_offset; u32 rw_end_offset;
u32 bss_offset; u32 bss_offset;
u32 bss_end_offset; u32 bss_end_offset;
u32 ini_end_offset; u32 ini_load_offset;
u32 dynamic_offset; u32 dynamic_offset;
u32 init_array_offset; u32 init_array_offset;
u32 init_array_end_offset; u32 init_array_end_offset;

View File

@ -16,6 +16,8 @@
#include <mesosphere.hpp> #include <mesosphere.hpp>
#include <vapours/svc/svc_codegen.hpp> #include <vapours/svc/svc_codegen.hpp>
/* TODO: Enable compilation of this file when the kernel supports supervisor calls. */
#if 0
namespace ams::kern::svc { namespace ams::kern::svc {
namespace { namespace {
@ -41,7 +43,6 @@ namespace ams::kern::svc {
} }
/* TODO: 32-bit ABI */
const std::array<SvcTableEntry, NumSupervisorCalls> SvcTable64From32 = [] { const std::array<SvcTableEntry, NumSupervisorCalls> SvcTable64From32 = [] {
std::array<SvcTableEntry, NumSupervisorCalls> table = {}; std::array<SvcTableEntry, NumSupervisorCalls> table = {};
@ -65,3 +66,4 @@ namespace ams::kern::svc {
}(); }();
} }
#endif