[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Memory mapping on MIPS
From: |
Maciej W. Rozycki |
Subject: |
Re: [Qemu-devel] Memory mapping on MIPS |
Date: |
Mon, 22 Feb 2016 15:53:57 +0000 |
User-agent: |
Alpine 2.00 (DEB 1167 2008-08-23) |
On Mon, 22 Feb 2016, Igor R wrote:
> What should happen if I map KSEG2 directly as a continuation of KSEG1,
> i.e. substitute TLB lookup with "address - (int32_t)KSEG1_BASE"? Guest
> Linux seems to work correctly (but maybe it's just a matter of luck?).
The 32-bit MIPS port of Linux uses KSEG2 for kernel virtual mappings,
that is memory allocated via `vmalloc' and loadable modules. Your luck is
the former is seldom used and you may not have loadable modules in your
configuration either.
Maciej