N
N
Nikita Vorobyov2018-09-27 21:23:16
Iron
Nikita Vorobyov, 2018-09-27 21:23:16

Where can I get multiboot table with framebuffer address, GRUB 2 loader?

Hooray, recently moved to VESA. I had never dealt with it before, and 1 person just told me how to get there using my GRUB 2 bootloader.
I tried to output a pixel, I wanted to write directly to video memory, but then I ran into a problem that I need to know the address of the frame buffer.
He clarified that GRUB transfers this table. But where can I get it?
Sorry for such a stupid question, because I have never done such manipulations with GRUB.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
jcmvbkbc, 2018-09-27
@Homa200

Where to get multiboot table with framebuffer address

The address of the multiboot_info structure is passed by the bootloader to the kernel in the EBX register.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question