2023-05-29 00:32:54 -07:00
|
|
|
|
|
|
|
#include "zcall.h"
|
2023-05-30 23:55:42 -07:00
|
|
|
#include "zerrors.h"
|
2023-05-29 00:32:54 -07:00
|
|
|
|
2023-05-30 20:55:03 -07:00
|
|
|
constexpr uint64_t prog2 = 0x00000020'00000000;
|
|
|
|
|
2023-05-29 00:32:54 -07:00
|
|
|
int main() {
|
|
|
|
ZDebug("Testing");
|
2023-06-06 16:24:03 -07:00
|
|
|
uint64_t err = ZProcessSpawnElf(Z_INIT_PROC_SELF, prog2, 0x2000);
|
2023-05-30 23:55:42 -07:00
|
|
|
if (err != Z_OK) {
|
|
|
|
ZDebug("Error");
|
|
|
|
} else {
|
|
|
|
ZDebug("Return");
|
|
|
|
}
|
2023-05-29 00:32:54 -07:00
|
|
|
return 0;
|
|
|
|
}
|