summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2008-05-11Remove the "option USB_DEBUG" that crept in by accident.Mark Kettenis
2008-05-11Re-enable code to initialize esym.Mark Kettenis
2008-05-11Pass arguments and symbol table more or less the same way as OpenBSD/macppc.Mark Kettenis
2008-05-10More headers needed by userland.Mark Kettenis
2008-05-10Needed by userland.Mark Kettenis
2008-05-10More OpenBSD/socppc parts.Mark Kettenis
2008-05-10Missing bootloader file.Mark Kettenis
2008-05-10First stab at a bootloader for the Thecus N1200.Mark Kettenis
2008-05-10Fix typo. Spotted by Pierre Riteau.Mark Kettenis
2008-05-10Add two missing files.Mark Kettenis
2008-05-10Add .cvsignore, such that we don't lose the compile directory withMark Kettenis
cvs update -dP.
2008-05-10OpenBSD/socppc, a port to the Thecus N1200, and potentially other FreescaleMark Kettenis
PowerPC SoC platforms that use u-boot as a bootloader.
2008-05-07Move i386 to __HAVE_GENERIC_SOFT_INTERRUPTSMark Kettenis
ok dlg@, tested by dlg@, oga@, jsg@, deraadt@
2008-05-07Rather than fixing ises(4), nuke it.Kenneth R Westerback
ok deraadt@
2008-05-05We will never use __BUS_SPACE_HAS_STREAM_METHODS so remove all the codeClaudio Jeker
behind it. OK miod@, drahn@
2008-05-04convert to ptoa/atopMartin Reindl
tested by maja@
2008-05-04Manage interrupts based on priority better, still working on this...Dale Rahn
2008-05-04Unpopulated CRIME memory banks (or logically empty due to CRIME mergingMiod Vallat
contiguous 64MB DIMMs in a single 128MB one) are not reported as memory at offset zero, but actually as duplicates of the first entry (which always matches real memory). If the DIMMs are set up in decreasing sizes, as recommanded by SGI, the first entry will be configured at offset zero, so the existing code would run fine. If, however, you order your DIMMs in a different order, the first entry might not be at offset zero, so the kernel will mess up its memory information, which will cause random effects from simply misreported memory sizes, to the inability to boot. Fix this by strengthening the check for an empty bank. Problem reported by Jason Bergstrom (bergie, bergie dot net), analysis and fix by me.
2008-05-04convert arm and mips64 platforms to ptoa/atopMartin Reindl
tested by maja@
2008-05-03Rework the interrupt calculation masks, a bit easier to follow (not so wrong).Dale Rahn
2008-05-03catch up with curpriority changes and convert to ptoa/atopMartin Reindl
ok miod@
2008-05-03Do not acquire the kernel lock for SY_NOLOCK system calls; ok drahn@ kettenis@Miod Vallat
2008-05-02implement rw_cas, "go for it" miod@Dale Rahn
2008-05-02Check for a disabled FPU before attempting to emulate the instruction.Miod Vallat
2008-05-02Grab the biglock unconditionnaly when system calls go through systrace;Miod Vallat
spotted by drahn
2008-05-02Implement rw_cas correctly, unlike previous revision where I was obviouslyMiod Vallat
on drugs; ok kettenis@
2008-05-02Invalidate and initialize the l2 on secondary processors, ok kettenis@Dale Rahn
2008-05-02Remove debug prints.Dale Rahn
2008-05-01Sync hpux_sendsig() behaviour with native sendsig(): let malloc fail andMiod Vallat
sigexit the process in this case.
2008-05-01regenMiod Vallat
2008-05-01The built-in frame buffer in models 362 and 382 actually comes in differentMiod Vallat
flavours. Add another frame buffer ID to recognize it, so that it gets skipped correctly. I am quite sure it has an SGC PROM in addition to the DIO PROM, but I don't have the hardware to check...
2008-05-01Don't forget to bus_space_unmap() after probing for a com chip.Miod Vallat
2008-05-01Implement a nop IPI to signal other CPUs.Mark Kettenis
ok drahn@
2008-04-30Spacing.Mark Kettenis
2008-04-30Fix typo in last commit.Mark Kettenis
2008-04-30Initialize randseed to 1.Mark Kettenis
2008-04-30fix serial console handling on amd64. currently only glass console everDavid Gwynne
works, even if the boot loader is configured to use serial console. after the changes jsing and i made, the initial probe of the serial port was failing since the default base addres for the port is invalid. cos of that the kernel would only ever consider the glass console for use. this fixes it by reprobing the serial port if we get any config for it from the boot loader. advice on aesthetics from miod@ advice and ok from kettenis@
2008-04-29Attempt to locate an ELF header and symbol table directly after the kernel.Joel Sing
If it exists assume that the boot loader has provided a pointer to the end of the symbol table. If it does not exist fall back to the previous behaviour and expect that pointers to the symbol table have been provided directly after the kernel. ok miod@
2008-04-29enable km(4); ok deraadtConstantine A. Murenin
2008-04-29remove noise, (debug print).Dale Rahn
2008-04-29PIR is not defined to be a writable register, do not use it.Dale Rahn
2008-04-29Spin up secondary CPUs on more systems.Dale Rahn
2008-04-29spillstk and ddbstk need to be per cpu. Found by kettenis@Dale Rahn
2008-04-28Convert IPL_TTY into IPL_SOFTTTY when establishing soft interruptsi, like weMark Kettenis
do on other platforms.
2008-04-28Rename IPL_SOFTSERIAL to IPL_SOFTTTY. Sprinkle some KNF while I'm there.Mark Kettenis
2008-04-28Rename IPL_SOFTSERIAL to IPL_SOFTTY and rename the associated symbols.Mark Kettenis
Remove IPL_SERIAL since it is unused. ok krw@, weingart@, deraadt@
2008-04-28Sync PCI ids.Brad Smith
2008-04-27replace ctob/btoc by ptoa/atopMartin Reindl
2008-04-27add acpithinkpad(4), an acpi support driver for ibm/lenovojoshua stein
thinkpads. provides functionality that the bios did on older, non-acpi thinkpads like respond to screen brightness keys and toggle the bluetooth device on and off. ok deraadt@ and marco@
2008-04-27FPU/Altivec cleanup and prep for SMP.Dale Rahn