* How can I support memory hole in embedded system?
@ 2000-09-26 1:13 dony
2000-09-26 15:41 ` Timur Tabi
2001-06-26 16:16 ` Timur Tabi
0 siblings, 2 replies; 3+ messages in thread
From: dony @ 2000-09-26 1:13 UTC (permalink / raw)
To: linux-mm
Hello,
Now I am working on an embedded project based on Linux(X86). The
motherboard has a memory hole at 15M-16M (PCI==>ISA for FlashRom).
In 2.4.0 arch/i386/boot/setup.S, It introduces an method known as
"E820" which is said to support memory hole .But it uses "int 15" to get
memory regions from BIOS which cannot be implemented in my case, since my
motherboard has no BIOS, only BSP instead.
I think we can modify the memory-mapping to support memory hole, but
I don't know how to do it. In mm/bootmem.c it also mentions it can support
memory hole with no more comments.
Can you give me some information in detail about this? Thank you
very much.
dony
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: How can I support memory hole in embedded system?
2000-09-26 1:13 How can I support memory hole in embedded system? dony
@ 2000-09-26 15:41 ` Timur Tabi
2001-06-26 16:16 ` Timur Tabi
1 sibling, 0 replies; 3+ messages in thread
From: Timur Tabi @ 2000-09-26 15:41 UTC (permalink / raw)
To: linux-mm
** Reply to message from "dony" <dony.he@huawei.com> on Tue, 26 Sep 2000
09:13:33 +0800
> In 2.4.0 arch/i386/boot/setup.S, It introduces an method known as
> "E820" which is said to support memory hole .But it uses "int 15" to get
> memory regions from BIOS which cannot be implemented in my case, since my
> motherboard has no BIOS, only BSP instead.
In that case, you can just write an INT 15-like function which pretends to be a
BIOS, and have the Linux kernel call your function instead of a real INT 15.
Your function than just fills out the E820 structure and returns.
You're going to need to do something like this anyway, because if the kernel
tries to call INT 15 on your machine, it will hang.
--
Timur Tabi - ttabi@interactivesi.com
Interactive Silicon - http://www.interactivesi.com
When replying to a mailing-list message, please don't cc: me, because then I'll just get two copies of the same message.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How can I support memory hole in embedded system?
2000-09-26 1:13 How can I support memory hole in embedded system? dony
2000-09-26 15:41 ` Timur Tabi
@ 2001-06-26 16:16 ` Timur Tabi
1 sibling, 0 replies; 3+ messages in thread
From: Timur Tabi @ 2001-06-26 16:16 UTC (permalink / raw)
To: linux-mm
** Reply to message from "dony" <dony.he@huawei.com> on Tue, 26 Sep 2000
09:13:33 +0800
> I think we can modify the memory-mapping to support memory hole, but
> I don't know how to do it. In mm/bootmem.c it also mentions it can support
> memory hole with no more comments.
> Can you give me some information in detail about this? Thank you
> very much.
Just modify the E820 structure after setup.S calls the BIOS INT 15 routine.
--
Timur Tabi - ttabi@interactivesi.com
Interactive Silicon - http://www.interactivesi.com
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-06-26 16:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-09-26 1:13 How can I support memory hole in embedded system? dony
2000-09-26 15:41 ` Timur Tabi
2001-06-26 16:16 ` Timur Tabi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox