Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BIOS Information show ROM Size 0MB #30

Open
EmmettTsai opened this issue Nov 22, 2024 · 0 comments
Open

BIOS Information show ROM Size 0MB #30

EmmettTsai opened this issue Nov 22, 2024 · 0 comments

Comments

@EmmettTsai
Copy link

dmicode ouput:

emmett@emmett:~/project/github/mirror/dmidecode$ sudo ./dmidecode -t 0
# dmidecode 3.6
Getting SMBIOS data from sysfs.
SMBIOS 3.3.0 present.

Handle 0x000F, DMI type 0, 26 bytes
BIOS Information
	Vendor: Microsoft Corporation
	Version: 24.203.143
	Release Date: 08/16/2024
	ROM Size: 0 MB
	Characteristics:
		PCI is supported
		BIOS is upgradeable
		BIOS shadowing is allowed
		Selectable boot is supported
		EDD is supported
		Japanese floppy for NEC 9800 1.2 MB is supported (int 13h)
		Print screen service is supported (int 5h)
		8042 keyboard services are supported (int 9h)
		ACPI is supported
		USB legacy is supported
		BIOS boot specification is supported
		Targeted content distribution is supported
		UEFI is supported

I read the raw data of rom size of BIOS Information from /dev/mem :
(09h) BIOS ROM Size: 0xFF
(18h) Extended BIOS ROM Size: 0x0000

According Specification:
BIOS Information (Type 0)
(09h) BIOS ROM Size Description:

Size (n) where 64K * (n+1) is the size of the physical device containing the BIOS, in bytes.
FFh - size is 16MB or greater, see Extended BIOS ROM Size for actual size

Since BIOS ROM Size is 0xFF, so the result is greater or equal to 16MB,
and Extended BIOS ROM Size is zero, not greater then 16MB,
hence the result should be 16MB.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant