First post, by tigrou
In paging.h, there is a structure named tlb:
struct {
HostPt read[TLB_SIZE];
HostPt write[TLB_SIZE];
PageHandler * readhandler[TLB_SIZE];
PageHandler * writehandler[TLB_SIZE];
Bit32u phys_page[TLB_SIZE];
} tlb;
Does it have similar function as TLB cache on real hardware : to accelerate the translation of virtual => physical addresses ?
AFAIK paging require at two additional reads (vs real mode) : one in page directory and one in page table.
Could it be potentially be turned off / removed in DOSBox, the only consequence would be the emulation would be slower ?
Or is it an essential part (other than a cache) that need to be emulated ?