Clean up Kernel Loader.
This commit is contained in:
Binary file not shown.
@@ -48,14 +48,6 @@ bool LoadModules()
|
||||
|
||||
#pragma region Misc
|
||||
|
||||
long Syscall(long n, ...) {
|
||||
asm(".intel_syntax noprefix");
|
||||
asm("xor %rax, %rax");
|
||||
asm("mov %r10, %rcx");
|
||||
asm("syscall");
|
||||
asm("ret");
|
||||
}
|
||||
|
||||
void Notify(const char* MessageFMT, ...)
|
||||
{
|
||||
OrbisNotificationRequest Buffer;
|
||||
|
||||
@@ -8,7 +8,6 @@ extern bool(*Jailbreak)();
|
||||
bool LoadModules();
|
||||
|
||||
//Misc
|
||||
long Syscall(long n, ...);
|
||||
void Notify(const char* MessageFMT, ...);
|
||||
void klog(const char* fmt, ...);
|
||||
int GetUpdateVersion();
|
||||
|
||||
@@ -7,7 +7,6 @@ Rem Read the script arguments into local vars
|
||||
set intdir=%1
|
||||
set targetname=%~2
|
||||
set outputPath=%3
|
||||
set authinfo=000000000000000000000000001C004000FF000000000080000000000000000000000000000000000000008000400040000000000000008000000000000000080040FFFF000000F000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
|
||||
|
||||
set outputElf=%intdir%%targetname%.elf
|
||||
set outputOelf=%intdir%%targetname%.oelf
|
||||
|
||||
@@ -6,8 +6,6 @@
|
||||
|
||||
int main()
|
||||
{
|
||||
klog("Hello World\n");
|
||||
|
||||
int SoftwareVersion = 0;
|
||||
int Handle = 0;
|
||||
|
||||
@@ -64,8 +62,6 @@ int main()
|
||||
}
|
||||
}
|
||||
|
||||
while (true) sceKernelSleep(1);
|
||||
|
||||
sceSystemServiceLoadExec("exit", 0);
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user