summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2007-01-12Get rid of some dead code.Mark Kettenis
ok miod@
2007-01-12Change the secondary CMMU's data cache turn on so that do not hog theKenji Aoyama
bus while they spin, as same as 3.8. This have been missed since CMMU initialize cleanup. Also m88k_cpus[] should have 4 elements on luna88k, even in non-MULTIPROCESSOR kernel. ok miod@
2007-01-12According to the OpenSolaris sources, the DTO bits are really MMU bit.Mark Kettenis
Add the real DTO bits for Tomatillo.
2007-01-12Do not force the section header to SHT_NOBITS for non-symbol sections;Miod Vallat
crank bootloader version.
2007-01-12Move kernel virtual address space to make sure it doesn't overlap withMark Kettenis
physical memory to avoid problems on UltraSPARC-III and III+.
2007-01-12fix altq for mc(4); make mbuf functions return NULL instead of 0 whileMartin Reindl
there from Brad, tested by me on all three adapters
2007-01-12support a few more video cards, untested:Martin Reindl
Formac Baers/ProNitron 80.IVb Apple Mac II Monochrome Video Card VillageTronic Mac Picasso 340 Relax 19" Model 200 prodded by miod@ from NetBSD
2007-01-12Switch some lockmgr locks to rwlocks.Artur Grabowski
In this commit: - gdt lock on amd64 - sysctl lock - malloc sysctl lock - disk sysctl lock - swap syscall lock miod@, pedro@ ok (and "looks good" others@)
2007-01-11Add a platform specific sti_pci_is_console() to decide if a given pci stiMiod Vallat
device is the system console; the interface currently passes the pci attachment args and the sti region information, and will hopefully turn to be flexible enough. This allows sti@pci to be used as a console device on hppa, finally. ok mickey@
2007-01-11When attaching a dino bridge, keep the presently enabled I/O mappingsMiod Vallat
(which were set up for us by the PDC), and wait until all devices are attached to clear those noone of our supported devices has claimed. This is necessary for pdc console to work until wsdisplay@sti attaches. ok mickey@
2007-01-11Allow sti_attach_common() to return an error code, and do not fall intoMiod Vallat
sti_end_attach() if an error has occured. ok mickey@
2007-01-11do not report the clock frequencies on arm becuase there is noRobert Nagy
real need to be verbose here; discussed with drahn@ ok kettenis@, miod@, deraadt@ and others
2007-01-10fix fallout of the split sensor devices change which caused lockups onDavid Gwynne
boot. dont call sensordev_install multiple times for esm0. there are multiple devices accessed via the one esm interface that provide sensor info for various parts of the system. sensordev_install was being called after each of these parts was being probed, rather than right at the end after the entire list of sensors has been built. tested by kurt@
2007-01-09Adjust for USIII to RIO EBus renaming.Mark Kettenis
2007-01-09Miod used a too large hatchet when trimming userret in 1.80.Artur Grabowski
Restore user priority before returning to userland. (other architectures checked and seem to do the right thing) miod@ ok
2007-01-07The associativity of the cache is already taken into account forMark Kettenis
[ide]cache-size, so don't multiply it with [ide]cache-associativity.
2007-01-07Print out mask set revision.Mark Kettenis
2007-01-07Trim include files list.Miod Vallat
2007-01-07Get rid of PROM font-related defines.Miod Vallat
2007-01-07Skip optional dash when parsing the layout code.Miod Vallat
2007-01-07Hardcode DIO_SCMAX if kernel is built without model 320 support.Miod Vallat
2007-01-07Fix (unused) OPENPIC_IPI macro.Miod Vallat
2007-01-06Remove bogus code for flushing 32-bit tlb entries. This makes it possible toMark Kettenis
go to more than 4G va space.
2007-01-06Use VM_MAX_KERNEL_ADDRESS instead of KERNEND in pmap_growkernel().Mark Kettenis
2007-01-06Add commented out ISA entries.Miod Vallat
2007-01-06Preliminary support for the hp300 single ISA slot found in 4xx `t' models.Miod Vallat
Everything works well but interrupts, where no two devices causes the frodo chip to behave in the same way... (polling will work nicely)
2007-01-06Turn bus_space_tag_t into real structures containing a bunch of functionMiod Vallat
pointers, to be used for the various bus_space operations. intio devices no longer need to pass an intiobase-relative address to bus_space_map.
2007-01-06Propagate bus_space_tag_t through device attachment args structures, ratherMiod Vallat
than having them build their own. No functional change.
2007-01-04Remove some unreachable code.Mark Kettenis
ok jason@
2007-01-03shorten dmesg a bitMartin Reindl
2007-01-03Fix mbg comment: time base -> radio clocks.Marc Balmer
2007-01-03Change IF_DEQUEUE to IFQ_DEQUEUE for ALTQ, and some purely cosmeticGordon Willem Klok
0 -> NULL fixes. From brad@ Tested on PM 9600MP.
2007-01-02Use bus_space_write_region_4() instead of doing the same thing bit byTom Cosgrove
bit (well, uint32 by uint32). Inspired by a claudio commit to malo.c. Still disabled (awaiting a code review), but works for me here. ok claudio@
2007-01-02Issue the BIOS "check for keystroke" call before "get keystroke", asTom Cosgrove
now required on i386 for Intel Macs. Bump versions of boot, cdboot and pxeboot accordingly. Reminded by deraadt@.
2007-01-02Fix the keyboard problem seen on Intel Macs, where only the firstTom Cosgrove
keypress is seen by boot. It appears that on the Intel Mac, we have to issue the "check for keystroke" BIOS call before the "get keystroke" call will get it (unlike any other BIOS I have seen in over 20 years). It would not have been possible to fix this problem without the donation from Steven N. Fettig (steve (at) anywheretechnology.com); many thanks. Bump versions of boot, cdboot and pxeboot accordingly. Testing kettenis@, otto@, and others; ok weingart@.
2006-12-31Cover the other case we need to unload the dmamap, in espdmaintr(),Gordon Willem Klok
While here fix some spacing too. Bus probing and some commands such as eject tested on a Power Macintosh 9600, still unable to mount a cdrom on a SONY CD-ROM model CDU-8003A.
2006-12-31Some spaces to tabs and cosmetic tweaking of the code,Gordon Willem Klok
From brad@. Lots more spacing cleanup by myself. Tested on Power Macintosh 9600
2006-12-30Remove __BUS_SPACE_HAS_STREAM_METHODS, the stream methods are a netbsd-ism.Claudio Jeker
discussed with miod@ who has the same changes hiding in one of his trees.
2006-12-30Save pcb in dumppcb when dumping core.Mark Kettenis
ok miod@
2006-12-29Change the comment for mbg(4) to "radio clocks" here, too.Marc Balmer
2006-12-29Avoid void * arithmetic, okay deraadt@, suggestions from millert@Pedro Martelletto
2006-12-29Fix another 'tripple' (not surprising, since this was copied from theTom Cosgrove
i386 code that I fixed earlier). Noticed by Gregory Steuck (greg (at) nest (dot) cx); thanks.
2006-12-29Change the comment for mbg(4): Use "radio clocks" instead of "time base".Marc Balmer
ok fkr
2006-12-29Give the UltraSPARC-III its own version of dcache_flush_page(). Fixes problemsMark Kettenis
with svnd(4). Now you can do a full mkr on a v210 (and a blade1k if you're lucky).
2006-12-28Support for ST16C654 chips, however these aren't detected as such, so theMiod Vallat
attachment code has to know better for now; from Alexei G. Malinin (alexei.malinin@inetcomm.ru)
2006-12-27Patch a few more D-cache flush instructions on UltraSPARC-III.Mark Kettenis
ok miod@
2006-12-27pnozz is initialized by the prom in 8bpp mode, so don't bring high-depthMiod Vallat
rasops code; 3.5KB off RAMDISK kernels.
2006-12-27Add code to change video mode (resolution and color depth) on the fly forMiod Vallat
pnozz(4), when switching between emulation (i.e. text console) and mapped (i.e. X11) modes. Geometries different than 800x600 are only available on the external video port, with the internal panel blanked. Currently this mode is compiled in, until an interface allows the X server and the kernel to settle on which one to use. Due to the internal panel blanking requirements, all of this is only available if tctrl(4) is configured in, which is the case for GENERIC but not for installation media kernels (who runs X11 with installation media anyway?) Most of this has been written 18 months ago, it was just lacking a final touch...
2006-12-27Switch new new syscall ABI, now passes the syscall number in r12 instead ofDale Rahn
in the swi instruction. elminates an illegal userland reference from the kernel also elminates a bunch of code. This is a flag day for binaries from before the middle of November.
2006-12-26There is a single 'p', not a double, in 'triple'.Tom Cosgrove