Menu

#502 TR6 & TR7 registers are not handled

nice_to_have
open
nobody
None
1
2023-09-02
2023-08-15
No

I checked bochs's source code and I could not find any info about 386 test registers, at least tr6 and tr7 (see https://en.wikipedia.org/wiki/Test_register ).
I'd like to add them myself, but I don't know where to start.
Can someone guide me a bit?

Discussion

  • Stanislav Shwartsman

    386 is not project priority and these TR registers do not exists in newer products
    Also they are not documented.
    The wiki says TR6 is used for TLB testing. How ? There is no description anywhere.

     
  • Stanislav Shwartsman

    Just follow CR and DR write methods in CPU, file crregs.cc

     
    • BogDan Vatra

      BogDan Vatra - 2023-09-02

      Thanks, for the info it helped a lot.
      Here https://github.com/bochs-emu/Bochs/pull/68 is the pull request.
      Now bochs runs correctly my bios. There is only on bug left, the disassembly doesn't work as expected and I don't have any idea why ...

       

Log in to post a comment.

MongoDB Logo MongoDB