1
0
mirror of https://github.com/sgmarz/osblog.git synced 2024-11-23 18:06:20 +04:00

Remove public constants

This commit is contained in:
Stephen Marz 2019-11-04 15:35:24 -05:00
parent f7547d5c59
commit e2dfa8661f

View File

@ -3,11 +3,11 @@
// Stephen Marz
// 1 Nov 2019
pub const PLIC_PRIORITY: usize = 0x0c00_0000;
pub const PLIC_PENDING: usize = 0x0c00_1000;
pub const PLIC_INT_ENABLE: usize = 0x0c00_2000;
pub const PLIC_THRESHOLD: usize = 0x0c20_0000;
pub const PLIC_CLAIM: usize = 0x0c20_0004;
const PLIC_PRIORITY: usize = 0x0c00_0000;
const PLIC_PENDING: usize = 0x0c00_1000;
const PLIC_INT_ENABLE: usize = 0x0c00_2000;
const PLIC_THRESHOLD: usize = 0x0c20_0000;
const PLIC_CLAIM: usize = 0x0c20_0004;
// Each register is 4-bytes (u32)
// The PLIC is an external interrupt controller. The one