github.com/usbarmory/armory-boot@v0.0.0-20240307133412-208c66a380b9/exec/exec.go (about)

     1  // https://github.com/usbarmory/armory-boot
     2  //
     3  // Copyright (c) WithSecure Corporation
     4  // https://foundry.withsecure.com
     5  //
     6  // Use of this source code is governed by the license
     7  // that can be found in the LICENSE file.
     8  
     9  package exec
    10  
    11  // BootImage represents a bootable image.
    12  type BootImage interface {
    13  	Load() error
    14  	Entry() uint
    15  	Boot(cleanup func()) error
    16  }