mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-29 15:10:57 +01:00
Allow timer0 to run at full 24MHz not at 24MHz/16 by setting prescale to 1.
Approved by: stas (mentor)
This commit is contained in:
parent
478e052062
commit
0434c163cc
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=272397
@ -72,7 +72,7 @@ __FBSDID("$FreeBSD$");
|
||||
#define TIMER_ENABLE (1<<0)
|
||||
#define TIMER_AUTORELOAD (1<<1)
|
||||
#define TIMER_OSC24M (1<<2) /* oscillator = 24mhz */
|
||||
#define TIMER_PRESCALAR (4<<4) /* prescalar = 16 */
|
||||
#define TIMER_PRESCALAR (0<<4) /* prescalar = 1 */
|
||||
|
||||
#define SYS_TIMER_CLKSRC 24000000 /* clock source */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user