#define RAMSIZE (64 * 1024 * 1024)
#define PROGSTART 0x20000000
+#define MSR_64 (1UL<<63)
+#define MSR_LE (1UL<<0)
+
enum {
SPR_LR,
};
regs.lr = -1;
regs.pc = PROGSTART;
+ regs.msr = MSR_64 | MSR_LE;
while (1) {
const int c = getopt_long(argc, argv, opts, longopts, NULL);