From be34e9d396031bcd1268ac59e751189f4f6f850d Mon Sep 17 00:00:00 2001 From: b1ackmai1er Date: Wed, 12 May 2021 12:48:47 +0800 Subject: [PATCH] Add DS1307 to architecture document Align hbios.inc RTC clock codes to match architecture document --- Source/Doc/Architecture.md | 1 + Source/HBIOS/hbios.inc | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Source/Doc/Architecture.md b/Source/Doc/Architecture.md index d70b32ab..4781b2bf 100644 --- a/Source/Doc/Architecture.md +++ b/Source/Doc/Architecture.md @@ -984,6 +984,7 @@ etc.) which is identified by a device type id from the table below. 0x10 | BQ4845P 0x20 | SIMH 0x30 | System Periodic Timer +0x40 | DS1307 (I2C) `\clearpage`{=latex} diff --git a/Source/HBIOS/hbios.inc b/Source/HBIOS/hbios.inc index bed737e0..b52536d8 100644 --- a/Source/HBIOS/hbios.inc +++ b/Source/HBIOS/hbios.inc @@ -188,9 +188,9 @@ DIODEV_HDSK .EQU $90 ; RTCDEV_DS .EQU $00 ; DS1302 RTCDEV_BQ .EQU $10 ; BQ4845P -RTCDEV_SIMH .EQU $30 ; SIMH -RTCDEV_INT .EQU $40 ; PERIODIC INT TIMER -RTCDEV_DS7 .EQU $50 ; DS1302 (I2C) +RTCDEV_SIMH .EQU $20 ; SIMH +RTCDEV_INT .EQU $30 ; PERIODIC INT TIMER +RTCDEV_DS7 .EQU $40 ; DS1302 (I2C) ; ; VIDEO DEVICE IDS ;