Lines Matching refs:tag
616 multiboot2_tag_t const *tag = (multiboot2_tag_t *)(mbi2 + 1);
628 while (tag < tag_e && tag->type != MULTIBOOT2_TAG_END) {
629 word_t const behind_tag = (word_t)tag + sizeof(*tag);
631 if (tag->type == MULTIBOOT2_TAG_CMDLINE) {
634 } else if (tag->type == MULTIBOOT2_TAG_ACPI_1) {
635 if (ACPI_V1_SIZE == tag->size - sizeof(*tag)) {
636 memcpy(&boot_state.acpi_rsdp, (void *)behind_tag, tag->size - sizeof(*tag));
638 } else if (tag->type == MULTIBOOT2_TAG_ACPI_2) {
639 if (sizeof(boot_state.acpi_rsdp) == tag->size - sizeof(*tag)) {
642 } else if (tag->type == MULTIBOOT2_TAG_MODULE) {
665 } else if (tag->type == MULTIBOOT2_TAG_MEMORY) {
667 multiboot2_memory_t const *e = (multiboot2_memory_t *)((word_t)tag + tag->size);
686 } else if (tag->type == MULTIBOOT2_TAG_FB) {
693 tag = (multiboot2_tag_t const *)((word_t)tag + ROUND_UP(tag->size, 3));