Hi ~
I test my kernel on real machine and find an interesting thing. my kernel detected the following memory region:
...
base len usage
0x3f6d0000 0xe000 occupied
0x3f6de000 0x12000 occupied
0x3f6f0000 0x1000 occupied
....
a small memory region located at about 1G address.
i can't get useful information by google, if no one knows,ii think i should check my code.
who can tell me the meaning of RAMregion from 0x3f6d0000 ==>
Re: who can tell me the meaning of RAMregion from 0x3f6d0000
believe me, i aligned that three lines of screen message very carefully, but the space characters seems deleted by osdev when i post the thread.
- xenos
- Member
- Posts: 1121
- Joined: Thu Aug 11, 2005 11:00 pm
- Libera.chat IRC: xenos1984
- Location: Tartu, Estonia
- Contact:
Re: who can tell me the meaning of RAMregion from 0x3f6d0000
Probably something related to ACPI.
(Use code-tags to keep alignment using spaces.)
(Use code-tags to keep alignment using spaces.)
Re: who can tell me the meaning of RAMregion from 0x3f6d0000
Use the (code)(/code) tags.
It then uses a fixed font to display the code.
These will most likely be memory mapped devices. If you enumerate your PCI(e) bus, displaying all of the BARs associated with those devices, you will most likely have one to three devices showing these values in their BARs, (Base Address Registers).
Ben
Code: Select all
base len usage
0x3f6d0000 0xe000 occupied
0x3f6de000 0x12000 occupied
0x3f6f0000 0x1000 occupied
These will most likely be memory mapped devices. If you enumerate your PCI(e) bus, displaying all of the BARs associated with those devices, you will most likely have one to three devices showing these values in their BARs, (Base Address Registers).
Ben
-
- Member
- Posts: 5587
- Joined: Mon Mar 25, 2013 7:01 pm
Re: who can tell me the meaning of RAMregion from 0x3f6d0000
The ACPI specification explicitly forbids the firmware from indicating PCI devices in the memory map. It's either memory reserved for ACPI, or some other MMIO hardware.BenLunt wrote:These will most likely be memory mapped devices. If you enumerate your PCI(e) bus, displaying all of the BARs associated with those devices, you will most likely have one to three devices showing these values in their BARs, (Base Address Registers).
Those addresses (around 1G) are pretty low for MMIO hardware, so it's probably RAM being used by ACPI.
Re: who can tell me the meaning of RAMregion from 0x3f6d0000
If you call INT 0x15, EAX = 0xE820 in your boot loader, you can get a little more information about why the memory area is reserved. Most Linux distros will let you browse through these tables at boot time as well.
Or, you can just run Windows and look at the Device Manager. It will tell you what device is using what memory address.
Or, you can just run Windows and look at the Device Manager. It will tell you what device is using what memory address.
Project: OZone
Source: GitHub
Current Task: LIB/OBJ file support
"The more they overthink the plumbing, the easier it is to stop up the drain." - Montgomery Scott
Source: GitHub
Current Task: LIB/OBJ file support
"The more they overthink the plumbing, the easier it is to stop up the drain." - Montgomery Scott