Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at master 22 lines 451 B view raw
1// SPDX-License-Identifier: GPL-2.0 2 3use kernel::io::register::RegisterBase; 4 5use crate::falcon::{ 6 FalconEngine, 7 PFalcon2Base, 8 PFalconBase, // 9}; 10 11/// Type specifying the `Sec2` falcon engine. Cannot be instantiated. 12pub(crate) struct Sec2(()); 13 14impl RegisterBase<PFalconBase> for Sec2 { 15 const BASE: usize = 0x00840000; 16} 17 18impl RegisterBase<PFalcon2Base> for Sec2 { 19 const BASE: usize = 0x00841000; 20} 21 22impl FalconEngine for Sec2 {}