Lines Matching refs:tag
674 multiboot2_tag_t const * tag = (multiboot2_tag_t *)(mbi2 + 1);
687 while (tag < tag_e && tag->type != MULTIBOOT2_TAG_END) {
688 word_t const behind_tag = (word_t)tag + sizeof(*tag);
690 if (tag->type == MULTIBOOT2_TAG_CMDLINE) {
693 } else if (tag->type == MULTIBOOT2_TAG_ACPI_1) {
694 if (ACPI_V1_SIZE == tag->size - sizeof(*tag)) {
695 memcpy(&boot_state.acpi_rsdp, (void *)behind_tag, tag->size - sizeof(*tag));
697 } else if (tag->type == MULTIBOOT2_TAG_ACPI_2) {
698 if (sizeof(boot_state.acpi_rsdp) == tag->size - sizeof(*tag)) {
701 } else if (tag->type == MULTIBOOT2_TAG_MODULE) {
724 } else if (tag->type == MULTIBOOT2_TAG_MEMORY) {
726 multiboot2_memory_t const * e = (multiboot2_memory_t *)((word_t)tag + tag->size);
745 } else if (tag->type == MULTIBOOT2_TAG_FB) {
752 tag = (multiboot2_tag_t const *)((word_t)tag + ROUND_UP(tag->size, 3));