efi: Enable CMOS on x86 EFI platforms
commit52e039e00be77016a752ff77ee7e6e1d4a3f1c00
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Fri, 15 Mar 2024 19:35:07 +0000 (15 22:35 +0300)
committerDaniel Kiper <daniel.kiper@oracle.com>
Thu, 11 Apr 2024 13:48:25 +0000 (11 15:48 +0200)
tree6d52d89b26cfdbf501d4b18f2f3d1f75c1b1c32b
parentaa80270154d8593496a1f80398c1c66ddf87d635
efi: Enable CMOS on x86 EFI platforms

The CMOS actually exists on most EFI platforms and in some cases is used to
store useful data that makes it justifiable for GRUB to read/write it.

As for date and time keep using EFI API and not CMOS one.

Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/Makefile.core.def
grub-core/commands/i386/cmostest.c
include/grub/x86_64/cmos.h [new file with mode: 0644]