Merge pull request #100 from Andy-Python-Programmer/trunk
Add the kernel file v2 tag in tests
This commit is contained in:
commit
294382e3bf
@ -179,6 +179,13 @@ void stivale2_main(struct stivale2_struct *info) {
|
||||
e9_printf("Raw kernel file loaded at: %x", t->kernel_file);
|
||||
break;
|
||||
}
|
||||
case STIVALE2_STRUCT_TAG_KERNEL_FILE_V2_ID: {
|
||||
struct stivale2_struct_tag_kernel_file_v2 *t = (struct stivale2_struct_tag_kernel_file_v2 *)tag;
|
||||
e9_puts("Kernel file V2 tag:");
|
||||
e9_printf("\tkernel_file: %x", t->kernel_file);
|
||||
e9_printf("\tkernel_size: %x", t->kernel_size);
|
||||
break;
|
||||
}
|
||||
case STIVALE2_STRUCT_TAG_KERNEL_SLIDE_ID: {
|
||||
struct stivale2_struct_tag_kernel_slide *t = (struct stivale2_struct_tag_kernel_slide *)tag;
|
||||
e9_printf("Kernel slide: %x", t->kernel_slide);
|
||||
|
Loading…
Reference in New Issue
Block a user