1 // SPDX-License-Identifier: GPL-2.0 2 3 mod boot; 4 5 use kernel::prelude::*; 6 7 pub(crate) const GSP_PAGE_SHIFT: usize = 12; 8 pub(crate) const GSP_PAGE_SIZE: usize = 1 << GSP_PAGE_SHIFT; 9 10 /// GSP runtime data. 11 /// 12 /// This is an empty pinned placeholder for now. 13 #[pin_data] 14 pub(crate) struct Gsp {} 15 16 impl Gsp { 17 pub(crate) fn new() -> impl PinInit<Self> { 18 pin_init!(Self {}) 19 } 20 } 21