Skip to content

Commit

Permalink
Updated timer to add my processor (#31)
Browse files Browse the repository at this point in the history
Summary:
A quick fix for #30. Have not verified timer functionality, but this prevents a crash.

Pull Request resolved: #31

Reviewed By: VladimirMakaev

Differential Revision: D54647876

Pulled By: jasonwhite

fbshipit-source-id: e1b1f110e64f5a78589d0b165cb93578efbe3e66
  • Loading branch information
witchof0x20 authored and facebook-github-bot committed Mar 7, 2024
1 parent 8298a77 commit 29ce9fa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion reverie-ptrace/src/timer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ pub(crate) fn get_rcb_perf_config() -> u64 {
(0x06, 0x4E) | (0x06, 0x55) | (0x06, 0x5E) => 0x5101c4, // Intel Skylake
(0x06, 0x8E) | (0x06, 0x9E) => 0x5101c4, // Intel Kabylake
(0x06, 0xA5) | (0x06, 0xA6) => 0x5101c4, // Intel Cometlake
(0x06, 0x8D) => 0x5101c4, // Intel Alder Lake (e.g. i7-11800H laptop)
(0x06, 0x8D) => 0x5101c4, // Intel Tiger Lake (e.g. i7-11800H laptop)
(0x06, 0x9A) => 0x5101c4, // Intel Alder Lake (e.g. i7-12700H laptop)
(0x06, 0x8F) => 0x5101c4, // Intel Sapphire Rapids
(0x06, 0x86) => 0x5101c4, // Intel Icelake
(0x17, 0x8) => 0x5100d1, // AMD Zen, Pinnacle Ridge
Expand Down

0 comments on commit 29ce9fa

Please sign in to comment.