mirror of
https://github.com/reactos/reactos.git
synced 2024-11-19 05:22:59 +00:00
17c5fb8866
Add a new rollover table for Original Xbox (base frequency is 1.125000 MHz). This fixes potential time issues in kernel and drivers. CORE-16216
31 lines
760 B
C
31 lines
760 B
C
/*
|
|
* PROJECT: Xbox HAL
|
|
* LICENSE: GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later)
|
|
* PURPOSE: PIT rollover table
|
|
* COPYRIGHT: Copyright 2020 Dmitry Borisov (di.sean@protonmail.com)
|
|
*/
|
|
|
|
/* INCLUDES ******************************************************************/
|
|
|
|
#include <hal.h>
|
|
|
|
/* GLOBALS *******************************************************************/
|
|
|
|
HALP_ROLLOVER HalpRolloverTable[15] =
|
|
{
|
|
{1125, 10000}, /* 1 ms */
|
|
{2250, 20000},
|
|
{3375, 30000},
|
|
{4500, 40000},
|
|
{5625, 50000},
|
|
{6750, 60000},
|
|
{7875, 70000},
|
|
{9000, 80000},
|
|
{10125, 90000},
|
|
{11250, 100000},
|
|
{12375, 110000},
|
|
{13500, 120000},
|
|
{14625, 130000},
|
|
{15750, 140000},
|
|
{16875, 150000} /* 15 ms */
|
|
};
|