Function gpt::mbr::write_bootcode
source · pub fn write_bootcode<D: DiskDevice>(
device: &mut D,
bootcode: &[u8; 440],
) -> Result<()>Expand description
Write the 440 bytes of BIOS bootcode.
pub fn write_bootcode<D: DiskDevice>(
device: &mut D,
bootcode: &[u8; 440],
) -> Result<()>Write the 440 bytes of BIOS bootcode.