[vmips] cpzero.c bugs report

Brian R. Gaeke brg at dgate.ORG
Wed Sep 24 06:53:50 CDT 2003


> From: "Chen Mingyu" <cmy at ict.ac.cn>
> To: <vmips at dgate.org>
> Subject: cpzero.c bugs report
> Date: Wed, 24 Sep 2003 18:09:44 +0800
> 
>    Dear Sir:
>     
>        We are using vmips-1.1.2 in our project for architecture research.
>    We are modifying some source code for our convinence.
>    And we found two mistakes (seems) when reading the source.
>    Please check it:
>     
>    in cpzero.cc 213 ' else if (match->dirty() && mode == DATASTORE)' then
>    exception will occur. But if a page is dirty it should be
>    writable according to the manual.
>    in cpzero.cc 281 'reg[EntryLo] = (tlb[(reg[Index] & Index_Index_MASK) >>
>    8].entryLo) &
>                    write_masks[EntryHi];'
>    here 'write_masks[EntryHi];' should be 'EntryLo'?
>     
>    Best regards.
>     
>    Mingyu Chen
>    ICT,CAS,China
>    cmy at ict.ac.cn            

-- 
Brian R. Gaeke, brg at dgate.org -- GnuPG encrypted mail gleefully accepted


More information about the Vmips mailing list