Lines Matching refs:magic
552 * The kernel expects one of two magic values in 'magic' that determine how it
553 * has been booted. If 'magic' is #MULTIBOOT_INFO_MAGIC the kernel has been
555 * the boot CPU. It will relocate itself to a default position. If 'magic' is
569 * \param magic Boot magic value
572 void arch_init(uint64_t magic, void *pointer)
578 serial_console_init((magic == MULTIBOOT_INFO_MAGIC));
585 apic_bsp = magic == MULTIBOOT_INFO_MAGIC;
590 * If magic value does not match what we expect, we cannot proceed safely.
592 switch(magic) {
610 KERNEL_BOOT_MAGIC, magic, MULTIBOOT_INFO_MAGIC);