Port-macppc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: spdmem(4) on macppc



Hi,

OpenBSD has got a spdmem(4) attachment for macppc to display
information about memory modules at boot.

I've ported it to my NetBSD boxes; it's quite neat:

NetBSD 4.99.71 (GENERIC) #2: Sat Aug  9 23:47:36 UTC 2008
       mtrillo@ununhexium.:/usr/src/sys/arch/macppc/compile/GENERIC
total memory = 768 MB
avail memory = 734 MB
[...]
mainbus0 (root)
cpu0 at mainbus0: 7447A (Revision 1.1), ID 0 (primary)
cpu0: HID0 8450c0bc<EMCP,EICE,NAP,DPM,ICE,DCE,SGE,BTIC,FBIOB,ABE,BHT>,
powersave: 1
cpu0: 1250.00 MHz, 512KB L2 cache no parity parity enabled
memory0 at mainbus0
spdmem0 at memory0: 512MB DDR SDRAM non-parity PC3200CL3.0
spdmem1 at memory0: 256MB DDR SDRAM non-parity PC3200CL3.0


If you are interested, I can provide the patches.

Yes, that'd be nice! It doesn't hurt to be able to examine the physical memory configuration without opening the box. Send the patches along.

Thanks,
John Klos


Home | Main Index | Thread Index | Old Index