Versions in this module Expand all Collapse all v1 v1.0.0 Aug 15, 2018 Changes in this version + const ACPI + const BootSect + const CommandLineMagic + const CommandLineSize + const DefaultBzimageAddrMax + const DefaultInitrdAddrMax + const E820Map + const E820Max + const E820NR + const EDDDeviceParamSize + const EDDExt64BitExtensions + const EDDExtDeviceLockingAndEjecting + const EDDExtEnhancedDiskDriveSupport + const EDDExtFixedDiskAccess + const EDDMBRSigMax + const EDDMaxNR + const EtherBoot + const Kernel + const Load + const LoadLin + const NVS + const NotSet + const Prompt + const Ram + const RamdiskStartMask + const Reserved + const SysLinux + var Debug = func(string, ...interface{}) + var E820 = map[e820type]string + var HeaderMagic = [4]uint8 + var LoaderType = map[boottype]string + func Equal(a, b []byte) error + func MakeLinuxHeader(h *LinuxHeader) ([]byte, error) + type BzImage struct + BootCode []byte + Header LinuxHeader + InitRAMFS []byte + Kernel []byte + KernelBase uintptr + KernelOffset uintptr + func (b *BzImage) AddInitRAMFS(s string) error + func (b *BzImage) MarshalBinary() ([]byte, error) + func (b *BzImage) UnmarshalBinary(d []byte) error + type E820Entry struct + Addr uint64 + MemType e820type + Size uint64 + type EDDInfo struct + Device uint8 + EDDDeviceParams [EDDDeviceParamSize]uint8 + InterfaceSupport uint16 + LegacyMaxCylinder uint16 + LegacyMaxHead uint8 + LegacySectorsPerTrace uint8 + Version uint8 + type LinuxHeader struct + BootSectKludge [4]uint8 + Bootsectormagic uint16 + CmdLineSize uint32 + Cmdlineptr uint32 + Code32Start uint32 + ExtCmdlinePtr uint32 + ExtLoaderType uint8 + ExtLoaderVer uint8 + ExtRamdiskImage uint32 + ExtRamdiskSize uint32 + HandoverOffset uint32 + HardwareSubArch uint32 + HardwareSubArchData uint64 + HeaderMagic [4]uint8 + Heapendptr uint16 + InitSize uint32 + InitrdAddrMax uint32 + Jump uint16 + Kernelalignment uint32 + Kveraddr uint16 + Loadflags uint8 + MBRCode [0xc0]uint8 + MinAlignment uint8 + PayloadOffset uint32 + PayloadSize uint32 + PrefAddress uint64 + Protocolversion uint16 + RamDiskImage uint32 + RamDiskSize uint32 + RamSize uint16 + RealModeSwitch uint32 + RelocatableKernel uint8 + RootDev uint16 + RootFlags uint16 + SetupData uint64 + SetupSects uint8 + Setupmovesize uint16 + StartSys uint16 + Syssize uint32 + TypeOfLoader uint8 + Vidmode uint16 + XLoadFlags uint16 + func (h *LinuxHeader) Diff(i *LinuxHeader) string + func (h *LinuxHeader) Show() []string + func (h *LinuxHeader) String() string + type LinuxParams struct + Altmemk uint32 + Apmbiosinfo [0x40]uint8 + Auxdeviceinfo uint8 + Bluepos uint8 + Bluesize uint8 + CLMagic uint16 + CLOffset uint16 + CLPtr uint32 + CmdLineSize uint32 + Driveinfo [0x20]uint8 + E820Map [E820Max]E820Entry + E820MapNr uint8 + EDDBuf [EDDMaxNR]EDDInfo + EDDMBRSigBuffer [EDDMBRSigMax]uint32 + ExtMemK uint16 + Greenpos uint8 + Greensize uint8 + HandoverOffset uint32 + HardwareSubarch uint32 + HardwareSubarchData uint64 + InitSize uint32 + InitrdAddrMax uint32 + Initrdsize uint32 + Initrdstart uint32 + KernelAlignment uint32 + KernelStart uint32 + Lfbbase uint32 + Lfbdepth uint16 + Lfbheight uint16 + Lfblinelength uint16 + Lfbsize uint32 + Lfbwidth uint16 + LoaderType uint8 + Loaderflags uint8 + MinAlignment uint8 + MountRootReadonly uint16 + OrigRootDev uint16 + OrigVideoCols uint8 + OrigVideoIsVGA uint8 + OrigVideoLines uint8 + OrigVideoMode uint8 + OrigVideoPage uint16 + OrigVideoPoints uint16 + OrigVideoeGabx uint16 + Origx uint8 + Origy uint8 + Pages uint16 + Paramblocksignature [4]uint8 + Paramblockversion uint16 + PayloadLength uint32 + Payload_Ofset uint32 + PrefAddress uint64 + Ramdiskflags uint16 + Redpos uint8 + Redsize uint8 + Rsvdpos uint8 + Rsvdsize uint8 + SetupData uint64 + Sysdesctable [0x140]uint8 + Vesapmoff uint16 + Vesapmseg uint16 + XLoadFlags uint16 Incompatible versions in this module v4.0.0+incompatible Jan 27, 2019 v3.0.0+incompatible Nov 21, 2018 v2.0.0+incompatible Oct 1, 2018