Searched refs:stage1_buffer (Results 1 – 1 of 1) sorted by relevance
2211 char *stage1_buffer = (char *) RAW_ADDR (0x100000); in install_func() local2212 char *stage2_buffer = stage1_buffer + SECTOR_SIZE; in install_func()2352 || ! grub_read (stage1_buffer, SECTOR_SIZE) == SECTOR_SIZE) in install_func()2368 grub_memmove (stage1_buffer + BOOTSEC_BPB_OFFSET, in install_func()2374 grub_memmove (stage1_buffer + STAGE1_WINDOWS_NT_MAGIC, in install_func()2379 if (*((short *)(stage1_buffer + STAGE1_VER_MAJ_OFFS)) != COMPAT_VERSION in install_func()2380 || (*((unsigned short *) (stage1_buffer + BOOTSEC_SIG_OFFSET)) in install_func()2392 && (*((unsigned char *) (stage1_buffer + BOOTSEC_PART_OFFSET)) == 0x80 in install_func()2393 || stage1_buffer[BOOTSEC_PART_OFFSET] == 0)) in install_func()2419 *((unsigned char *) (stage1_buffer + STAGE1_BOOT_DRIVE)) = new_drive; in install_func()[all …]