]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/mini-os.git/commit
minios: don't rely on specific page table allocation scheme
authorJuergen Gross <jgross@suse.com>
Fri, 20 Nov 2015 18:32:42 +0000 (19:32 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Mon, 23 Nov 2015 09:38:58 +0000 (09:38 +0000)
commit8d84345a20d8a46ea26379c9f19961f6aa3e6e83
treeb4a8dca122172bd777e77be2fe93383bab88530d
parent22d01aab99180539b38b13ba30f0e1cd62b72147
minios: don't rely on specific page table allocation scheme

Today mini-os is making assumptions how the page tables it is started
with are being allocated. Especially it is using the number of page
table frames to calculate which is the first unmapped pfn.

Instead of relying on page table number assumptions just look into the
page tables to find the first pfn not already mapped.

Signed-off-by: Juergen Gross <jgross@suse.com>
Acked-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
arch/x86/mm.c
include/x86/arch_mm.h