I particular like this one from /on/usr/src/cmd/boot/bootadm.c: 329 #ifndef __sparc 330 /* x86 only */
as well as /on/usr/src/uts/common/krtld/kobj.c#393 includes another x86 gem.... 395 /* on x86, we always boot with a ramdisk */ /on/usr/src/uts/common/io/usb/hcd/uhci/uhcipolled.c lines 35 and 230 both surround references to invalidate_cache() which otherwise only seems to show up in x86 specific files (or GSS/KRB, which seems unlikely to be related). /on/usr/src/uts/common/io/usb/hcd/uhci/uhci.c#367 refers specifically to a hack that "mysteriously solves the problem" on "NCR systems". /on/usr/src/uts/common/io/strplumb.c#656 is networking stack based and I can't at a quick glance see whether there is anything to suggest if it is non-SPARC specific or if it should be some x86 specific architecture. There are three references in /on/usr/src/uts/common/vm/seg_kmem.c; one looks like it may actually be something that is not-SPARC specific (it immediately follows an #if defined(__sparc) section, one has the possibility of being legacy since the same line of code is repeated within a different if() just a few lines later, and one I don't know.... /on/usr/src/uts/common/vm/vm_page.c#1821 /on/usr/src/lib/libdevinfo/devfsinfo.c#769 contains a function find_x86_boot_device, so it probably should be defined(__x86). ;-) -spp This message posted from opensolaris.org _______________________________________________ opensolaris-code mailing list [email protected] https://opensolaris.org:444/mailman/listinfo/opensolaris-code
