[okl4-developer] memsection_create() and eas_map()

Robert Wetzel robert.wetzel at opensynergy.com
Tue Nov 11 19:35:14 EST 2008


Hi,

I've hacked together a small test application, which creates an EAS
and tries to map memory from it's own memory space into the EAS. One
of the things it tries to map is the framebuffer; it gets mapped, but
the graphics output is kinda broken (starts at the wrong address).

Digging a bit deeper it turns out memsection_create() and eas_map()
don't really work together, because they approach memory allocation /
mapping differently. Even more so, eas_map() seems to map only one 4k
page and then stops there, regardless how big the fpage is given to it
(seems to be a bug; the return value of l4e_map() differs from what is
assumed in eas_map(), at least in 2.1).

What I wanted to ask is how is eas_map() _supposed_ to work, and was
there ever the intention to get it working together with
memsection_create()?


Robert



More information about the Developer mailing list