LOGIN   :::   RECOVER PASS   :::   GET ACCOUNT    
Browse
  • Projects
  • Code (CVS)
  • Forums
  • News
  • Articles
  • Polls
  •  
    OpenCores
  • FAQ
  • CVS HowTo
  • Mission
  • Media
  • Tools
  • Advertise
  • Mirrors
  • Logos
  • Contact us
  • Find Resources
  • Job Opportunity
  •  
    Tools
  • Search
      
  • Download Cores (CVSGet)
  •  
    More
  • Wishbone
  • Perlilog
  • EDA tools
  • OpenTech CD
  •  
    Navigation: All forums > Openrisc > Message List > Message Post

    Message

    Reply | Reply all
    Date Prev | Date Next | Thread Prev | Thread Next Date Index | Thread Index

    From: Matjaz Breskvar<phoenix@o...>
    Date: Mon May 23 00:02:21 CEST 2005
    Subject: [openrisc] [or1ksim #87] Fix I/DCBPR ea handling
    Top
    * Gy?rgy 'nog' Jeney (nog@s...) wrote:
    > Hi,
    >
    > As discussed, the effective address as written to the I/DCBPR registers is a
    > virtual address and must be translated by the mmus. This patch fixes this. I
    > have more questions about the cache control registers. The arch manual has this
    > to say about the DCBPR "Memory accesses are not recorded (Unlike load or store
    > instructions) and cannot invoke any exception". Which is pretty clear but there
    > is no such text for the ICBPR register. I guess it should be the same as for
    > the DCBPR.

    the DCBPR and ICBPR should have the same description as far as i know. i'm
    not sure though, what happens if physical address (after translation) is
    invalid and would trigger a bus exception. (according to arch manual, no
    exception should be raised, so it's an no-op, nothing gets changed in the
    cache, ...)

    > Nearly all handling of the cache control registers checks the value being
    > written in one way or another, but the arch. manual doesn't provide any such
    > restrictions. Should it?

    i'm not sure what you're reffering to. can you give an example.

    > ChangeLog:
    > * The effective address as written to the I/DCBPR registers needs to be
    > translated by the respective mmu.

    patch is ok (ie improvment).

    regards,
    p.

    ReferenceAuthor
    [openrisc] [or1ksim #87] Fix I/DCBPR ea handling=?unknown-8bit?Q?Gy=F6rgy?= 'nog' Jeney

    Follow upAuthor
    [openrisc] [or1ksim #87] Fix I/DCBPR ea handlingGy?rgy 'nog' Jeney

     
    Copyright (c) 1999 OPENCORES.ORG. All rights reserved.