Is it fair to assume that 0xe820 is supported?
- Griwes
- Member
- Posts: 374
- Joined: Sat Jul 30, 2011 10:07 am
- Libera.chat IRC: Griwes
- Location: Wrocław/Racibórz, Poland
- Contact:
Is it fair to assume that 0xe820 is supported?
Is it fair to assume that, on PC BIOS based machines with CPU supporting long mode, INT 0x15, AX=0xE820 is supported?
Reaver Project :: Repository :: Ohloh project page
<klange> This is a horror story about what happens when you need a hammer and all you have is the skulls of the damned.
<drake1> as long as the lock is read and modified by atomic operations
<klange> This is a horror story about what happens when you need a hammer and all you have is the skulls of the damned.
<drake1> as long as the lock is read and modified by atomic operations
Re: Is it fair to assume that 0xe820 is supported?
Yes and no.
Yes, PC supporting long mode with BIOS should support E820 and it's fair to hang and blame the user if such function is absent.
However, No, PC supporting long mode may not have BIOS at all, it may boot with EFI (hopefully with BIOS emulation in these years, but not always, e.g. mac do not provide BIOS).
PS. yes I know mac is not called PC but the hardware is comparable.
Yes, PC supporting long mode with BIOS should support E820 and it's fair to hang and blame the user if such function is absent.
However, No, PC supporting long mode may not have BIOS at all, it may boot with EFI (hopefully with BIOS emulation in these years, but not always, e.g. mac do not provide BIOS).
PS. yes I know mac is not called PC but the hardware is comparable.
- Griwes
- Member
- Posts: 374
- Joined: Sat Jul 30, 2011 10:07 am
- Libera.chat IRC: Griwes
- Location: Wrocław/Racibórz, Poland
- Contact:
Re: Is it fair to assume that 0xe820 is supported?
In original post I mentioned (U)EFI, but decided to remove that part, as it didn't bring anything to the topic - "on PC BIOS based machines".
Reaver Project :: Repository :: Ohloh project page
<klange> This is a horror story about what happens when you need a hammer and all you have is the skulls of the damned.
<drake1> as long as the lock is read and modified by atomic operations
<klange> This is a horror story about what happens when you need a hammer and all you have is the skulls of the damned.
<drake1> as long as the lock is read and modified by atomic operations