Implement CMOS register access functions
All checks were successful
All checks were successful
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
#include <hl/cport.hh>
|
||||
#include <hl/cpu.hh>
|
||||
#include <hl/fbdev.hh>
|
||||
#include <hl/firmware.hh>
|
||||
#include <hl/init.hh>
|
||||
#include <hl/ioport.hh>
|
||||
#include <hl/ioreg.hh>
|
||||
|
||||
27
xtoskrnl/includes/hl/firmware.hh
Normal file
27
xtoskrnl/includes/hl/firmware.hh
Normal file
@@ -0,0 +1,27 @@
|
||||
/**
|
||||
* PROJECT: ExectOS
|
||||
* COPYRIGHT: See COPYING.md in the top level directory
|
||||
* FILE: xtoskrnl/includes/hl/firmware.hh
|
||||
* DESCRIPTION: UEFI/BIOS Firmware support
|
||||
* DEVELOPERS: Aiken Harris <harraiken91@gmail.com>
|
||||
*/
|
||||
|
||||
#ifndef __XTOSKRNL_HL_FIRMWARE_HH
|
||||
#define __XTOSKRNL_HL_FIRMWARE_HH
|
||||
|
||||
#include <xtos.hh>
|
||||
|
||||
|
||||
/* Hardware Layer */
|
||||
namespace HL
|
||||
{
|
||||
class Firmware
|
||||
{
|
||||
public:
|
||||
STATIC XTFASTCALL UCHAR ReadCmosRegister(IN UCHAR Register);
|
||||
STATIC XTFASTCALL VOID WriteCmosRegister(IN UCHAR Register,
|
||||
IN UCHAR Value);
|
||||
};
|
||||
}
|
||||
|
||||
#endif /* __XTOSKRNL_HL_FIRMWARE_HH */
|
||||
Reference in New Issue
Block a user