[OpenBIOS] Fixing interpose

Stefan Reinauer stepan at coresystems.de
Tue Apr 24 21:40:33 CEST 2007


Copying list again...

* Blue Swirl <blauwirbel at gmail.com> [070424 20:49]:
> Copyright (c) 1982, 1986, 1989, 1991, 1993
> 	The Regents of the University of California.  All rights reserved.
> Copyright (c) 1995-2006 OpenBSD. All rights reserved.  http://www.OpenBSD.org
> 
> OpenBSD 4.0 (RAMDISK) #297: Sun Sep 17 22:27:36 MDT 2006
>     deraadt at sparc.openbsd.org:/usr/src/sys/arch/sparc/compile/RAMDISK
> real mem = 133505024
> avail mem = 117956608
[..]
> zs0 at obio0 addr 0x71100000 pri 12, softpri 6
> zstty0 at zs0 channel 0 (console i/o)
> zstty1 at zs0 channel 1
 
Is openbsd hanging here?


NetBSD:

> obp_fortheval_v2(384000 pgmap@ 387d8c L!)

: pgmap@ ( virt -- pmentry ) 
  \ Return the page map entry for the virtual address.
  ; 

Not sure - can we just use an empty word here, as we use a 1:1 mapping?


: pgmap! ( pmentry virt -- ) 
  \ Store a new page map entry for the virtual address.
  2drop
  ;

Those words are defined in
http://openbios.org/viewvc/obp/cpu/sparc/ultra/mmu.fth?view=markup&revision=1&root=OpenBOOT

My sparc know how is pretty limited though ;-)


> pgmap@:obp_devclose(0xffd87f0c) = -19
> Cannot load netbsd: error=27

Stefan

-- 
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
      Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: info at coresystems.dehttp://www.coresystems.de/



More information about the OpenBIOS mailing list