changeset 29:039a93c48889

ipl: wait for unit exception to indicate end of medium
author Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
date Mon, 04 Apr 2011 13:56:35 -0400
parents d24d69066fc0
children fc797d0cb298 0451ffa1c3a0
files hercules/herc.cnf ipl/loader_asm.S
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/hercules/herc.cnf	Sun Mar 13 21:10:35 2011 -0400
+++ b/hercules/herc.cnf	Mon Apr 04 13:56:35 2011 -0400
@@ -15,4 +15,4 @@
 # V     V       V
 #---    ----    --------------------
 0009	3215	
-000C    3505	../loader.bin ../sarpn ebcdic multifile intrq
+000C    3505	../loader.bin ../sarpn ebcdic multifile eof
--- a/ipl/loader_asm.S	Sun Mar 13 21:10:35 2011 -0400
+++ b/ipl/loader_asm.S	Mon Apr 04 13:56:35 2011 -0400
@@ -58,9 +58,9 @@
 13) If device end : I/O Completed.. Perform post I/O stuff (like advancing your pointers) and back to step 3
 */
 
-	# unit check? (end of media?)
+	# unit exception? (end of media?)
 	L	%r1,IRB+5(%r4)
-	LA	%r0,0x02
+	LA	%r0,0x01
 	NR	%r0,%r1
 	LA	%r2,1			# return 1 - end of medium
 	BCR	4,%r14			# unit chk => return