Re: [PATCH v2 03/10] mini-os: don't assume contiguous RAM when initializing in PVH mode

2021-12-20 Thread Samuel Thibault
Juergen Gross, le lun. 20 déc. 2021 17:07:09 +0100, a ecrit: > Sizing the available memory should respect memory holes, so look at > the memory map when setting the boundary for the memory allocator. > > Signed-off-by: Juergen Gross Reviewed-by: Samuel Thibault > --- > V2: > - rename "max" to

[PATCH v2 03/10] mini-os: don't assume contiguous RAM when initializing in PVH mode

2021-12-20 Thread Juergen Gross
Sizing the available memory should respect memory holes, so look at the memory map when setting the boundary for the memory allocator. Signed-off-by: Juergen Gross --- V2: - rename "max" to "start" (Samuel Thibault) --- arch/x86/mm.c | 6 +- e820.c | 14 --