Searched refs:MULTIBOOT_SEARCH (Results 1 – 8 of 8) sorted by relevance
/illumos-gate/usr/src/tools/mbh_patch/ |
H A D | mbh_patch.c | 160 mem2 <= MULTIBOOT_SEARCH - sizeof (multiboot2_header_t); in patch64() 169 if (ndx == 0 || mem2 + ndx > MULTIBOOT_SEARCH) { in patch64() 283 if (sb.st_size < MULTIBOOT_SEARCH) { in main() 293 image = mmap(NULL, MULTIBOOT_SEARCH, PROT_READ | PROT_WRITE, in main()
|
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | boot.c | 58 unsigned char buffer[MULTIBOOT_SEARCH]; in load_image() 67 if (!(len = grub_read (buffer, MULTIBOOT_SEARCH)) || len < 32) in load_image() 378 if (data_len + SECTOR_SIZE <= MULTIBOOT_SEARCH) in load_image() 383 grub_memmove (linux_data_tmp_addr, buffer, MULTIBOOT_SEARCH); in load_image() 384 grub_read (linux_data_tmp_addr + MULTIBOOT_SEARCH, in load_image() 385 data_len + SECTOR_SIZE - MULTIBOOT_SEARCH); in load_image()
|
H A D | mb_header.h | 57 #define MULTIBOOT_SEARCH 8192 macro
|
/illumos-gate/usr/src/boot/sys/sys/ |
H A D | multiboot.h | 28 #define MULTIBOOT_SEARCH 8192 macro
|
/illumos-gate/usr/src/boot/common/ |
H A D | multiboot2.c | 162 header_search = malloc(MULTIBOOT_SEARCH); in multiboot2_loadfile() 168 if (read(fd, header_search, MULTIBOOT_SEARCH) != MULTIBOOT_SEARCH) in multiboot2_loadfile() 172 for (i = 0; i <= (MULTIBOOT_SEARCH - sizeof (multiboot2_header_t)); in multiboot2_loadfile() 193 if (i + header->mb2_header_length > MULTIBOOT_SEARCH) { in multiboot2_loadfile()
|
/illumos-gate/usr/src/boot/i386/libi386/ |
H A D | multiboot.c | 122 header_search = malloc(MULTIBOOT_SEARCH); in multiboot_loadfile() 128 search_size = read(fd, header_search, MULTIBOOT_SEARCH); in multiboot_loadfile()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | multiboot2.h | 47 #define MULTIBOOT_SEARCH 32768 macro
|
/illumos-gate/usr/src/grub/grub-0.97/ |
H A D | ChangeLog | 930 is less than or equal to MULTIBOOT_SEARCH, instead of if 931 DATA_LEN is less than or equal to MULTIBOOT_SEARCH. 1628 greater than MULTIBOOT_SEARCH. If that's true, read the rest
|