ReactOS 0.4.16-dev-306-g647d351
|
#include "ntvdm.h"
#include <debug.h>
#include "emulator.h"
#include "cmos.h"
#include "io.h"
#include "pic.h"
#include "clock.h"
Go to the source code of this file.
Macros | |
#define | NDEBUG |
#define | CMOS_RAM_FILE "cmos.ram" |
Functions | |
static VOID | RtcUpdatePeriodicTimer (VOID) |
static VOID FASTCALL | RtcPeriodicTick (ULONGLONG ElapsedTime) |
static VOID FASTCALL | RtcTimeUpdate (ULONGLONG ElapsedTime) |
static VOID WINAPI | CmosWriteAddress (USHORT Port, BYTE Data) |
static BYTE WINAPI | CmosReadData (USHORT Port) |
static VOID WINAPI | CmosWriteData (USHORT Port, BYTE Data) |
BOOLEAN | IsNmiEnabled (VOID) |
static BOOL | CmosWriteFile (_In_ HANDLE FileHandle, _In_ PVOID Buffer, _In_ ULONG BufferSize, _Out_opt_ PULONG BytesWritten) |
VOID | CmosInitialize (VOID) |
VOID | CmosCleanup (VOID) |
Variables | |
static HANDLE | hCmosRam = INVALID_HANDLE_VALUE |
static CMOS_MEMORY | CmosMemory |
static BOOLEAN | NmiEnabled = TRUE |
static CMOS_REGISTERS | SelectedRegister = CMOS_REG_STATUS_D |
static PHARDWARE_TIMER | ClockTimer |
static PHARDWARE_TIMER | PeriodicTimer |
Definition at line 568 of file cmos.c.
Referenced by EmulatorCleanup().
Definition at line 460 of file cmos.c.
Referenced by EmulatorInitialize().
Definition at line 131 of file cmos.c.
Referenced by CmosInitialize().
Definition at line 109 of file cmos.c.
Referenced by CmosInitialize().
Definition at line 266 of file cmos.c.
Referenced by CmosInitialize().
|
inlinestatic |
Definition at line 444 of file cmos.c.
Referenced by CmosCleanup(), and CmosInitialize().
Definition at line 57 of file cmos.c.
Referenced by CmosInitialize().
Definition at line 75 of file cmos.c.
Referenced by CmosInitialize().
Definition at line 38 of file cmos.c.
Referenced by CmosWriteData().
|
static |
Definition at line 33 of file cmos.c.
Referenced by CmosCleanup(), and CmosInitialize().
|
static |
Definition at line 28 of file cmos.c.
Referenced by CmosCleanup(), CmosInitialize(), CmosReadData(), CmosWriteData(), RtcPeriodicTick(), RtcTimeUpdate(), and RtcUpdatePeriodicTimer().
|
static |
Definition at line 27 of file cmos.c.
Referenced by CmosCleanup(), and CmosInitialize().
Definition at line 30 of file cmos.c.
Referenced by CmosWriteAddress(), and IsNmiEnabled().
|
static |
Definition at line 34 of file cmos.c.
Referenced by CmosCleanup(), CmosInitialize(), and RtcUpdatePeriodicTimer().
|
static |
Definition at line 31 of file cmos.c.
Referenced by CmosReadData(), CmosWriteAddress(), and CmosWriteData().