Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aienux/blob/main/vendor/uefi-raw/src/protocol/loaded_image.rs # aienux Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `aienux / vendor / uefi-raw / src / protocol / loaded_image.rs` 36 lines ยท 1021 bytes Raw Blame History 1 // SPDX-License-Identifier: MIT OR Apache-2.0 2 3 use crate::protocol::device_path::DevicePathProtocol; 4 use crate::table::boot::MemoryType; 5 use crate::table::system::SystemTable; 6 use crate::{Guid, Handle, Status, guid}; 7 use core::ffi::c_void; 8 9 #[derive(Clone, Copy, Debug)] 10 #[repr(C)] 11 pub struct LoadedImageProtocol { 12 pub revision: u32, 13 pub parent_handle: Handle, 14 pub system_table: *const SystemTable, 15 16 // Source location of the image. 17 pub device_handle: Handle, 18 pub file_path: *const DevicePathProtocol, 19 20 pub reserved: *const c_void, 21 22 // Image load options. 23 pub load_options_size: u32, 24 pub load_options: *const c_void, 25 26 // Location where image was loaded. 27 pub image_base: *const c_void, 28 pub image_size: u64, 29 pub image_code_type: MemoryType, 30 pub image_data_type: MemoryType, 31 pub unload: Option Status>, 32 } 33 34 impl LoadedImageProtocol { 35 pub const GUID: Guid = guid!("`5b1b31a1`-9562-11d2-8e3f-`00a0c969723b`"); 36 }