Home | History | Annotate | Download | only in LoadLinuxLib

Lines Matching refs:Bp

49   struct boot_params        *Bp;

55 if (KernelSetupSize < sizeof (*Bp)) {
59 Bp = (struct boot_params*) KernelSetup;
61 if ((Bp->hdr.signature != 0xAA55) || // Check boot sector signature
62 (Bp->hdr.header != SETUP_HDR) ||
63 (Bp->hdr.version < 0x205) || // We only support relocatable kernels
64 (!Bp->hdr.relocatable_kernel)
80 struct boot_params *Bp;
86 Bp = (struct boot_params*) KernelSetup;
88 if (Bp->hdr.version > 0x20a) {
89 return Bp->hdr.init_size;
130 struct boot_params *Bp;
137 Bp = (struct boot_params*) KernelSetup;
139 SetupEnd = 0x202 + (Bp->hdr.jump & 0xff);
162 struct boot_params *Bp;
168 Bp = (struct boot_params*) KernelSetup;
172 2 * Bp->hdr.kernel_alignment,
224 struct boot_params *Bp;
230 Bp = (struct boot_params*) KernelSetup;
232 Address = (EFI_PHYSICAL_ADDRESS)(UINTN) Bp->hdr.ramdisk_max;
250 IN OUT struct boot_params *Bp
304 E820 = &Bp->e820_map[0];
360 if (E820EntryCount >= ARRAY_SIZE (Bp->e820_map)) {
377 Bp->e820_entries = (UINT8) E820EntryCount;
379 Efi = &Bp->efi_info;
405 struct boot_params *Bp;
412 Bp = (struct boot_params*) KernelSetup;
414 Bp->hdr.cmd_line_ptr = (UINT32)(UINTN) CommandLine;
429 struct boot_params *Bp;
436 Bp = (struct boot_params*) KernelSetup;
438 Bp->hdr.ramdisk_start = (UINT32)(UINTN) Initrd;
439 Bp->hdr.ramdisk_len = (UINT32) InitrdSize;
566 IN OUT struct boot_params *Bp
575 ZeroMem ((VOID*)&Bp->screen_info, sizeof(Bp->screen_info));
595 Status = SetupGraphicsFromGop (&Bp->screen_info, Gop);
612 IN OUT struct boot_params *Bp
615 SetupGraphics (Bp);
617 SetupLinuxMemmap (Bp);
631 struct boot_params *Bp;
638 Bp = (struct boot_params *) KernelSetup;
640 if (Bp->hdr.version < 0x205 || !Bp->hdr.relocatable_kernel) {
649 Bp->hdr.code32_start = (UINT32)(UINTN) Kernel;
650 if (Bp->hdr.version >= 0x20c && Bp->hdr.handover_offset &&
651 (Bp->hdr.xloadflags & (sizeof (UINTN) == 4 ? BIT2 : BIT3))) {
652 DEBUG ((EFI_D_INFO, "Jumping to kernel EFI handover point at ofs %x\n", Bp->hdr.handover_offset));