aboutsummaryrefslogtreecommitdiff
path: root/src/disk.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2015-07-24 13:17:38 -0400
committerKevin O'Connor <kevin@koconnor.net>2015-07-24 13:17:38 -0400
commit8c76bd6811d5a4ccbc7a5863f7842818eb1c2373 (patch)
tree1ca36924e5297427a8c7934badd127433216c37d /src/disk.c
parent7dbadfc5af7bdc54db701a6d61a28d37e29db7fe (diff)
downloadseabios-hppa-8c76bd6811d5a4ccbc7a5863f7842818eb1c2373.zip
seabios-hppa-8c76bd6811d5a4ccbc7a5863f7842818eb1c2373.tar.gz
seabios-hppa-8c76bd6811d5a4ccbc7a5863f7842818eb1c2373.tar.bz2
Minor - move declaration of CDRom_locks to code that uses it
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/disk.c')
-rw-r--r--src/disk.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/disk.c b/src/disk.c
index 0e0af24..91d939a 100644
--- a/src/disk.c
+++ b/src/disk.c
@@ -407,6 +407,9 @@ disk_1344(struct bregs *regs, struct drive_s *drive_gf)
extended_access(regs, drive_gf, CMD_VERIFY);
}
+// Locks for removable devices
+u8 CDRom_locks[BUILD_MAX_EXTDRIVE] VARLOW;
+
// lock
static void
disk_134500(struct bregs *regs, struct drive_s *drive_gf)