aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2013-03-03 15:46:00 -0500
committerKevin O'Connor <kevin@koconnor.net>2013-03-03 15:46:42 -0500
commit4bd33cab8dce94573c8c7eefe5688c709a1becdc (patch)
tree5f5c7269178c24d1d8542e3f47e650019bf7ecac
parent5bb7552a911d9952591e433ab8e36a5cd7a419e8 (diff)
downloadseabios-4bd33cab8dce94573c8c7eefe5688c709a1becdc.tar.gz
Minor - note that passing QEMU config via cmos is deprecated.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
-rw-r--r--src/cmos.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cmos.h b/src/cmos.h
index e4b6462..067c7fa 100644
--- a/src/cmos.h
+++ b/src/cmos.h
@@ -6,6 +6,7 @@
#ifndef __CMOS_H
#define __CMOS_H
+// Standard BIOS RTC chip entries
#define CMOS_RTC_SECONDS 0x00
#define CMOS_RTC_SECONDS_ALARM 0x01
#define CMOS_RTC_MINUTES 0x02
@@ -21,6 +22,9 @@
#define CMOS_STATUS_C 0x0c
#define CMOS_STATUS_D 0x0d
#define CMOS_RESET_CODE 0x0f
+
+// QEMU cmos config fields. DO NOT ADD MORE. (All new content should
+// be passed via the fw_cfg "file" interface.)
#define CMOS_FLOPPY_DRIVE_TYPE 0x10
#define CMOS_DISK_DATA 0x12
#define CMOS_EQUIPMENT_INFO 0x14