public static bool Setup(uint magic, uint pointer, uint kernelStart, uint kernelEnd) { if (magic != (uint)SharpOS.Kernel.Multiboot.Identifiers.BootLoader) { Info = null; KernelStart = 0; KernelEnd = 0; return(false); } else { Info = (Multiboot.InformationTable *)pointer; KernelStart = kernelStart; KernelEnd = kernelEnd; return(true); } }
public static bool Setup(uint magic, uint pointer, uint kernelStart, uint kernelEnd) { if (magic != (uint)SharpOS.Kernel.Multiboot.Identifiers.BootLoader) { Info = null; KernelStart = 0; KernelEnd = 0; return false; } else { Info = (Multiboot.InformationTable*) pointer; KernelStart = kernelStart; KernelEnd = kernelEnd; return true; } }