[SeaBIOS] [PATCH] rtc: Support disabling the RTC timer irq support

Paul Menzel paulepanter at users.sourceforge.net
Mon Aug 17 21:32:18 CET 2015


Dear Kevin,


Am Montag, den 17.08.2015, 12:23 -0400 schrieb Kevin O'Connor:
> Add a build time config option to remove support for RTC timer
> interrupts along with the associated bios calls requiring that
> support.
> 
> Signed-off-by: Kevin O'Connor <kevin at koconnor.net>
> ---
>  src/Kconfig  |  9 +++++++++
>  src/clock.c  | 13 ++++++++++++-
>  src/hw/rtc.c |  6 ++++++
>  src/stacks.c |  2 +-
>  4 files changed, 28 insertions(+), 2 deletions(-)
> 
> diff --git a/src/Kconfig b/src/Kconfig
> index 6256242..56a1b2f 100644
> --- a/src/Kconfig
> +++ b/src/Kconfig
> @@ -299,6 +299,15 @@ menu "Hardware support"
>          default y
>          help
>              Support parallel ports. This also enables int 17 parallel port calls.
> +    config RTC_TIMER
> +        bool "Real Time Clock (RTC) scheduling"
> +        default y
> +        help
> +            Support MC146818 Real Time Clock chip timer
> +            interrupts. This also enables int 1583 and int 1586 calls.
> +
> +            Disabling this support does not disable access to the RTC
> +            cmos registers.

[…]

what is the use case for this option, that means, what are the
circumstances that users might disable it?

The size and speed benefit is probably minimal.


Thanks,

Paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <http://www.seabios.org/pipermail/seabios/attachments/20150817/4bb9afaf/attachment.asc>


More information about the SeaBIOS mailing list