Function kernel::process::parse_and_validate_tbf_header [] [src]

unsafe fn parse_and_validate_tbf_header(address: *const u8) -> Option<TbfHeader>

Converts a pointer to memory to a TbfHeader struct

This function takes a pointer to arbitrary memory and optionally returns a TBF header struct. This function will validate the header checksum, but does not perform sanity or security checking on the structure.