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