loader: use sastart's ORB & IRB structs

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
2 files changed, 3 insertions(+), 13 deletions(-)

M loader/loader/loader.h
M loader/loader/loader_c.c
M loader/loader/loader.h +3 -4
@@ 1,5 1,5 @@ 
 /*
- * Copyright (c) 2009-2011 Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
+ * Copyright (c) 2009-2019 Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
  *
  * Permission is hereby granted, free of charge, to any person obtaining a copy
  * of this software and associated documentation files (the "Software"), to deal

          
@@ 23,6 23,8 @@ 
 #ifndef __LOADER_H
 #define __LOADER_H
 
+#include <sastart.h>
+
 /*
  * "Config" values
  */

          
@@ 52,9 54,6 @@ extern void PGMHANDLER();
 
 extern void load_nucleus(void);
 
-extern struct orb orb;
-extern struct irb irb;
-
 /*
  * EDF related structs & macros
  */

          
M loader/loader/loader_c.c +0 -9
@@ 28,15 28,6 @@ static unsigned char seek_data[6];
 static unsigned char search_data[5];
 static struct ccw ccw[4];
 
-struct orb orb = {
-	.param		= 0x12345678,
-	.f		= 1,
-	.lpm		= 0xff,
-	.addr		= 0xffffffff,
-};
-
-struct irb irb;
-
 static struct psw io_psw_template = {
 	.ea = 1,
 	.ba = 1,