M loader/loader/loader.h +1 -1
@@ 52,7 52,7 @@ extern void PGMHANDLER();
extern void load_nucleus(void);
-extern struct orb ORB;
+extern struct orb orb;
extern struct irb irb;
/*
M loader/loader/loader_asm.s +1 -1
@@ 39,7 39,7 @@
L %r1, 0xb8 # load subsystem ID
- SSCH ORB(%r4) # issue IO
+ SSCH orb(%r4) # issue IO
/*
7) Enable the PSW for I/O interrupts and go into wait state (you need bits 6, 12 & 14 set to 1 in the PSW : X'020A000000000000' is a good example)
M loader/loader/loader_c.c +2 -2
@@ 28,7 28,7 @@ static unsigned char seek_data[6];
static unsigned char search_data[5];
static struct ccw ccw[4];
-struct orb ORB = {
+struct orb orb = {
.param = 0x12345678,
.f = 1,
.lpm = 0xff,
@@ 120,7 120,7 @@ static void read_blk(void *ptr, u32 lba)
r = (lba % RECORDS_PER_CYL) % RECORDS_PER_TRACK;
r++;
- ORB.addr = ADDR31(ccw);
+ orb.addr = ADDR31(ccw);
/* SEEK */
ccw[0].cmd = 0x07;