On 07/09/11 10:49, Nilay Vaish wrote: > The miscellaneous registers MISCREG_*_EFF_BASE are not part of the > architectural state. How can these be computed using the > architecturally visibile registers? > > Thanks > Nilay > _______________________________________________ > gem5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
Generally speaking they can't. I won't explain all about x86 segmentation here since it's a complex topic, but basically setting some of the visible state causes memory accesses which are used to set the base of the segments. In certain modes the base is ignored, so in those cases the effective base is forced to zero. Gabe _______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
