Hi, > > I'm thinking, the last 1 / 2 / 8 megabytes should behave as RAM in all > > of the following cases: > > - no SMRAM programmed (tseg size = 0) > > - SMRAM programmed (tseg size > 0), and it is open > > - SMRAM programmed (tseg size > 0) and closed, but CPU in SMM > > Correct.
Almost. I think the smram open bit doesn't affect tseg at all. As tseg doesn't have the funky overlay properties with the vga window you can simply initialize tseg memory outside smm mode without any special tricks, you just need to do it before flipping the tseg enable bit. cheers, Gerd