summaryrefslogtreecommitdiffstats
path: root/RedirectionConstants.h
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2022-04-19 10:25:21 +0200
committerGerd Hoffmann <kraxel@redhat.com>2022-04-22 14:52:31 +0200
commitce314d88ed1fc926be6836d971ed91501485c8ad (patch)
treec81817c123deeac1d91b7a66212dcf690c179e5e /RedirectionConstants.h
parente265609f3c6ede1ad67f307e2c38821c8f21ed6f (diff)
downloadamtterm-ce314d88ed1fc926be6836d971ed91501485c8ad.tar.gz
amtider: use defines for floppy and cdrom type
Diffstat (limited to 'RedirectionConstants.h')
-rw-r--r--RedirectionConstants.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/RedirectionConstants.h b/RedirectionConstants.h
index 92fd95f..3b41c08 100644
--- a/RedirectionConstants.h
+++ b/RedirectionConstants.h
@@ -102,6 +102,10 @@
#define IDER_START_GRACEFUL 0x10
#define IDER_START_NOW 0x18
+/* IDER device types */
+#define IDER_DEVICE_FLOPPY 0xa0
+#define IDER_DEVICE_CDROM 0xb0
+
#define START_IDER_REDIRECTION_LENGTH 18
#define START_IDER_REDIRECTION_REPLY_LENGTH 30 //TODO: There is a OEM Defined data field that we are assuming to be 0 bytes..
#define END_IDER_REDIRECTION_LENGTH 8