summaryrefslogtreecommitdiff
path: root/sys/arch/hppa64
AgeCommit message (Collapse)Author
2012-07-02Does not need to pull in "the world" eitherTheo de Raadt
ok jsing
2012-06-26create new machine/_float.h which is namespace clean. create a newTheo de Raadt
MI float.h which pulls in and defines the values that are needed from there, and repair sys/limits.h so that it defines the values it needs as well (depending on POSIX version, XPG version, etc). guenther has a more exact selection of that coming for limits.h. this also fixes a few mistakes for the vax. reviewed by kettenis and guenther.
2012-06-21__tfork() needs to set the stack address of the new thread in the kernel,Philip Guenthe
so that it can't get a signal while still running on the parent thread's stack. Also, pass in sizeof(struct __tfork) to provide forward compat when more members are added. This is an ABI change, so switch syscall numbers and bump lib majors this time. ok deraadt@ matthew@
2012-06-05As specified in PA RISC 2.0 errata, the 16-byte alignment restriction doesJoel Sing
not apply if the coherent operation cache control completer is specified for the ldcw/ldcd instruction. As a result, remove the alignment requirement and add the necessary completer. ok kettenis@
2012-06-05Implement actual mutexes for hppa64.Joel Sing
ok kettenis@
2012-06-03Avoid the unlikely but possible use of an uninitialised variable.Joel Sing
ok kettenis@
2012-04-11The first ktrace record for a newly spawned thread is a returnMike Belopuhov
from a fork syscall done by the parent. Use __tfork, not rfork here to match the ktrace records for the parent (CALL __tfork, RET __tfork). ok guenther
2012-02-25:%s,DEBUGBUG,DEBUG,Miod Vallat
2012-02-25Fix a bad case of htole64() being used instead of htole32() when setting upMiod Vallat
pci configuration space accesses to allow proper recovery from failure, causing the measure not to have any effect and the system to freeze hard. Fixes use of pcidump -x on B1000, and probably more systems.
2011-11-26Make this compile again by removing a spurious opening brace.Mark Kettenis
2011-11-16oops, need a prototype for ast()Theo de Raadt
2011-11-16Make userret() MI. On architectures which jammed stuff into it in theTheo de Raadt
past, pull that code out seperately. ok guenther miod
2011-11-15label_t is the kernel setjmp buffer. It should simply be an array ofTheo de Raadt
the right type, noone will ever fiddle with the internals. discussed with jsing
2011-11-14merge various differences between hppa and hppa64Theo de Raadt
ok jsing
2011-11-10Eliminate more useless differences between hppa and hppa64Theo de Raadt
2011-11-10setting COM_FREQ here is very wrongTheo de Raadt
2011-11-08Garbage collect now unused MKDEP definitions. ok deraadt@Matthieu Herrb
2011-10-27Specify the TLS variant for each platform.Philip Guenthe
2011-10-12Remove all MD diagnostics in cpu_switchto(), and move them to MI code ifMiod Vallat
they apply. ok oga@ deraadt@
2011-10-10Introduce pci_probe_device_hook(pci_chipset_tag_t, struct pci_attach_args *).Miod Vallat
This mandatory function will get invoked in pci_probe_device(), and allows a pci host driver to alter the pci_attach_args passed to a device when attaching. This function will also, if returning non-zero, cause the device to be skipped completely during all the phases of the PCI device discovery (i.e. ressource enumeration, ressource assignment, and actual attachment). This particular feature is experimental and might be reverted in the future (or the scope narrowed to device attachment only). A dummy #define pci_probe_device_hook() 0 is added to all platforms except sgi, where real functions (currently only returning 0) are added; real meat will be added shortly. Discussed at s2k11, no objection from the usual suspects.
2011-10-06ccd goes to the atticTheo de Raadt
discussed with jsing and millert
2011-09-22Ansify functions definitions.Joel Sing
2011-09-22Declare waittime variable to unbreak build.Joel Sing
2011-09-22Start removing some tiny irrelevant differences between hppa64 and hppaTheo de Raadt
so that important differences can be spotted easier.
2011-09-22Catchup to hppa disksubr: determining label offset the new wayTheo de Raadt
2011-09-22Do not trash the mask value when setting and clearing the system mask.Joel Sing
Add a diagnostic for interrupt handler IPL levels.
2011-09-22Disable option DEBUG for hppa64 - it is now too noisy to be useful.Joel Sing
ok kettenis@
2011-09-20calee -> calleeMiod Vallat
2011-09-20When restarting a system call we need to go back four instructions, notJoel Sing
three, since this has to match libc/arch/hppa64/SYS.h. ok miod@
2011-09-20Use correct index for second iioq/iisq fix up.Joel Sing
Spotted by miod@
2011-09-19Remove some unnecessary debug code.Joel Sing
ok kettenis@
2011-09-19Disable TRAPDEBUG.Mark Kettenis
2011-09-19%b format strings take the value before the bitname string, not the otherMiod Vallat
way around.
2011-09-19Handle an instruction memory protection trap from userland as an ordinaryMark Kettenis
fault.
2011-09-19Remove (annoying) debug printf.Mark Kettenis
2011-09-18Some fixes for the signal handling code.Mark Kettenis
2011-09-18A few more fixes to the trap save/restore code.Mark Kettenis
2011-09-18Disable space-ID hashing like we do on hppa.Mark Kettenis
2011-09-18Use an uvm object to keep track of the page table pages, just like we do onMark Kettenis
hppa to reduce the diffs between the two pmaps. Also add cache flushing in places where hppa does them.
2011-09-18Take into account the PIE bits when masking PDEs.Mark Kettenis
2011-09-18Add missing cache and TLB purges.Mark Kettenis
2011-09-08Provide namespace-safe alignment macros in <machine/_types.h>, withPhilip Guenthe
compat names kept in <machine/param.h>. In <sys/socket.h>, pull in <sys/_types.h> instead of the namespace polluting <machine/param.h> and completely eliminate __CMSG_ALIGN, replaced by _ALIGN ok deraadt@
2011-09-08Make the INT_FAST*_{MIN,MAX} macros match the types they're defined to.Philip Guenthe
Since the underlying types of the int_fast types are set by machine/_types.h, put internal macros in that same file and define the exposed INT_FAST*_{MIN,MAX} macros from those. ok millert@, kettenis@
2011-08-29Only provide FLT_EVAL_METHOD for C99. Add missing DECIMAL_DIG for C99.Mark Kettenis
ok guenther@
2011-08-19Bring libc and libm in line with the compiler now that we no longer have aMark Kettenis
128-bit long double. Diff committed on behalf of martynas@
2011-08-17Set the PSL_O bit, like we do for 64-bit capable CPUs on hppa.Mark Kettenis
2011-08-17Don't set the PSL_S bit. We generally don't tend to hide CPU counter timersMark Kettenis
from userland, and setting it upsets the sigreturn code.
2011-08-16Use pitlbe and pdtlbe instructions when flushing the entire TLB.Mark Kettenis
2011-08-16The gp value is stored in a different register on hppa64.Mark Kettenis
2011-08-16Old proc is stored in %arg0, not in %arg2.Mark Kettenis