﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	field_blocks	field_dependson	field_seealso
240	Zone bound computation in init_e820_memory() is incorrect	Jiri Svoboda		"On ia32:

{{{
pfn = ADDR2PFN(ALIGN_UP(base, FRAME_SIZE));
count = SIZE2FRAMES(ALIGN_DOWN(size, FRAME_SIZE));
}}}

The base is aligned upwards and the size is aligned downwards. In reality it is the ''end address'' which should be aligned downwards. This can cause the zone to be larger than the actual memory area.

Need to check if other arches have a similar problem.
"	defect	closed	major	0.4.3	helenos/kernel/ia32	mainline	fixed					
