Stack Size Required to Abort BIOS Call

I am working on a small bootloader for training. Is there any specification / information about the size of the (free) stack that is required to cause a BIOS interrupt?

+5
source share
4 answers

Before entering the interrupt handler, all the registers are pushed onto the stack together with the address with distant feedback, they sum the sizes of the registers and add the space needed to store the return address in order to get the minimum stack size.

note that you need more space if you push more data on the stack and in the interrupt handler

+1
source

http://www.o3one.org/hwdocs/bios_doc/pci_bios_21.pdf ( " " . 3), , BIOS 1024 . googling .

0

, int 0x13, 4096 . BIOS AHCI int 0x13, AHCI , BIOS int 0x13 .

BIOS , BIOS , .

0

, , BIOS ( int 13h - usb) , .

The happy answer is that BIOS interrupts (with the exception of the new bloated PCI) are designed to run in minimal space, so there is no need to install the stack in the boot sector.

0
source

All Articles