Hi, Qemu currently uses 6 65k tables of pointers for handling ioports, which makes 3MB on 64bit machines. There's a comment that says "XXX: use a two level table to limit memory usage". But wouldn't it be more simple and effective to just allocate them through mmap() and when a NULL pointer is read, call the default handlers?
Samuel