[OpenBIOS] Sparc32 progress

Blue Swirl blueswir1 at hotmail.com
Wed Apr 26 16:37:15 CEST 2006


>Very cool! Did you hardcode the amount of memory or do you probe it from
>the emulator?

It's the real one, Qemu stores configuration variables in nvram, entry.S 
reads the memory size which is printed here.

>Maybe an unintended one ;) But not a natural limitation. How do you
>create the node?

Like this:
new-device
  " STP1012PGA" device-name
  " cpu" device-type
  " " encode-string " performance-monitor" property
  d# 256 encode-int " mmu-nctx" int-property
  d# 32 encode-int " cache-line-size" int-property
  d# 512 encode-int " cache-nlines" int-property
  1 encode-int " mid" int-property
finish-device

It's in the patch in arch/sparc32/init.fs.

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar - get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/




More information about the OpenBIOS mailing list