#![no_std]
#[cfg(target_arch = "x86")]
pub type HTMOSEntry = extern "cdecl" fn(*const HTMOSBootInformation) -> !;
#[cfg(target_arch = "x86_64")]
pub type HTMOSEntry = extern "sysv64" fn(*const HTMOSBootInformation) -> !;
#[cfg(not(any(target_arch = "x86_64", target_arch = "x86")))]
pub type HTMOSEntry = extern "C" fn(*const HTMOSBootInformation) -> !;
#[repr(C)]
pub struct HTMOSBootInformation {
pub magic: u64,
pub boot_mode: usize,
pub memory_map_addr: usize,
pub memory_map_size: usize,
pub memory_desc_size: usize,
pub framebuffer_addr: usize,
pub framebuffer_size: usize,
pub framebuffer_width: u32,
pub framebuffer_height: u32,
pub framebuffer_pitch: u32,
pub framebuffer_format: u32,
pub more_info: usize,
}