Home
last modified time | relevance | path

Searched refs:stage1_buffer (Results 1 – 1 of 1) sorted by relevance

/external/grub/stage2/
Dbuiltins.c1749 char *stage1_buffer = (char *) RAW_ADDR (0x100000); in install_func() local
1750 char *stage2_buffer = stage1_buffer + SECTOR_SIZE; in install_func()
1885 || ! grub_read (stage1_buffer, SECTOR_SIZE) == SECTOR_SIZE) in install_func()
1901 grub_memmove (stage1_buffer + BOOTSEC_BPB_OFFSET, in install_func()
1907 grub_memmove (stage1_buffer + STAGE1_WINDOWS_NT_MAGIC, in install_func()
1912 if (*((short *)(stage1_buffer + STAGE1_VER_MAJ_OFFS)) != COMPAT_VERSION in install_func()
1913 || (*((unsigned short *) (stage1_buffer + BOOTSEC_SIG_OFFSET)) in install_func()
1925 && (*((unsigned char *) (stage1_buffer + BOOTSEC_PART_OFFSET)) == 0x80 in install_func()
1926 || stage1_buffer[BOOTSEC_PART_OFFSET] == 0)) in install_func()
1952 *((unsigned char *) (stage1_buffer + STAGE1_BOOT_DRIVE)) = new_drive; in install_func()
[all …]