summaryrefslogtreecommitdiff
path: root/sys/arch/mips64
AgeCommit message (Collapse)Author
2005-12-22'spoofonly' does not mean what I thought it meant. The whole point isKenneth R Westerback
to read non-OpenBSD label information like MBRs and populate ('spoof') the OpenBSD disk label appropriately. So avoiding an I/O when doing 'spoofonly' is to miss the whole point. Backout all Sept. 26 and subsequent changes to disksubr.c files. The original CD problem with I/O errors on blank media will be addressed another way. Should fix the ext3 vs amd64 problems discussed on misc@. Thanks to steven@ for finally putting it terms that I understood. ok deraadt@
2005-12-20Since we are allowed to rely on the fact that the pcb is the first elementMiod Vallat
of struct user, use syntactic sugar in genassym.cf and use PCB_xxx defines instead of U_PCB_xxx, like all other platforms do; no functional change.
2005-12-2001 -> SA_ONSTACK in sigreturn.Miod Vallat
2005-12-20Trim include files list.Miod Vallat
2005-12-20__attribute__ ((__packed_)) -> __packedMiod Vallat
2005-12-17Remove duplicate definition of machFPCurProcPtr.Mark Kettenis
ok pefo@, miod@
2005-12-17Let the xtlb refill handler fault if the userland va is out of the supportedMiod Vallat
address space instead of using the tlb of the va modulo the address space size. ok pefo@
2005-12-17Rename ``dofault'' label to ``fault_common'', it just looks too close toMiod Vallat
``default'' and thus can make your code reading experience more difficult...
2005-12-17Fix handling of floating-point registers in PT_{GET|SET}REGS.Mark Kettenis
ok miod@
2005-12-16do not use a label_t in the pcb. label_t may not exist in all contexts,Theo de Raadt
and causes a real pain with _KERNEL that we wish to avoid for sys/user.h so clone a label_t thingy here
2005-12-14make va_arg() map to nothing; ok millertTheo de Raadt
2005-12-14convert _FOO_SOURCE -> __FOO_VISIBLE in machine. OK deraadt@Todd C. Miller
2005-12-13nuke unused BTOPKERNBASE defineMartin Reindl
pointed out by miod@
2005-12-13First step in include files overhaul. Use __FOO_VISIBLE (as definedTodd C. Miller
in sys/cdefs.h) instead of _FOO_SOURCE. Also fix several namespace pollution issues, including the byte order defines. OK deraadt@
2005-12-12Nuke leftover references to procfs_mem.h.Miod Vallat
2005-12-11Replace procfs_domem() with a similar interface, process_domem(), which livesMiod Vallat
out of procfs and gets a ptrace request PT_{READ,WRITE}_{I,D} as argument; also procfs_checkioperm() becomes process_checkioperm(). From art@ some time ago; ok kettenis@ pedro@
2005-12-10{en,re}trys -> {en,re}tries; eyeballed by jmc@Miod Vallat
2005-11-29backout miod's change because he did not compile libc.Theo de Raadt
2005-11-28Remove older-than-gramps poor man's assym.h defines; .S files do not even needMiod Vallat
these constants.
2005-11-24add lint-specific hacks. at the same time, clean out a lot of ancientTheo de Raadt
cruft for old compilers and environments. there may be a 2nd round of polishing after this; ok miod and others
2005-11-23there is no vtophys hereMichael Shalayeff
2005-11-06byebye Mach macrosMartin Reindl
testing and ok kettenis@, hshoexer@
2005-10-24Conditionalize singler-step code on PTRACE.Mark Kettenis
ok miod@
2005-09-27Don't try to read the DOS label from the device if spoofonly is 1.Kenneth R Westerback
This changes the architectures which use code identical to the amd64 disksubr.c. macppc seems different so it will be separate. The remaining archs don't try to read a DOS label. ok deraadt@
2005-09-15In syscall(), do not recompute the struct proc * after the syscall hasMiod Vallat
succeeded. This used to be necessary for fork(), when returning in the child, but we return in the child in child_return() which does TRT. ok art@
2005-09-15Change child_return() to record a proper ktrace record for vfork childMiod Vallat
processes. ok art@ uwe@ (some time ago)
2005-09-12Change the NKMEMPAGES range to 4-64MB for 32bit arches, and 8-128MB for 64bitMiod Vallat
arches; except on sparc where the range is 4-8 for !sun4m and 4-64 for sun4m, selected at runtime.
2005-08-14catched->caughtMiod Vallat
2005-08-07Remove advertising clause from UCB licenses; ok deraad@Miod Vallat
2005-08-01Remoe unused vtrace stuff; ok deraadt@Miod Vallat
2005-07-31Get rid of unused SINCR and SSIZE constants.Miod Vallat
2005-07-20Always do the netisr_dispatch dance, rather than trying to be smart and use aMiod Vallat
three-line #if construct around it, which is wrong since the addition of kernel pppoe and bluetooth code.
2005-07-20typosMiod Vallat
2005-07-18remove trailing newline in panic(9); ok millert@ and deraadt@Federico G. Schwindt
2005-07-14More netccitt and netns removals; OK henning, brad, mickeyUwe Stuehler
2005-06-07CCITT about to bite the dust, remove special casing in archs and driversHenning Brauer
2005-05-30Just use preempt(NULL) like every other architecture in this code path,Artur Grabowski
don't roll our own. ok miod@ pefo@
2005-05-29sched work by niklas and art backed out; causes panicsTheo de Raadt
2005-05-25This patch is mortly art's work and was done *a year* ago. Art wants to thankNiklas Hallqvist
everyone for the prompt review and ok of this work ;-) Yeah, that includes me too, or maybe especially me. I am sorry. Change the sched_lock to a mutex. This fixes, among other things, the infamous "telnet localhost &" problem. The real bug in that case was that the sched_lock which is by design a non-recursive lock, was recursively acquired, and not enough releases made us hold the lock in the idle loop, blocking scheduling on the other processors. Some of the other processors would hold the biglock though, which made it impossible for cpu 0 to enter the kernel... A nice deadlock. Let me just say debugging this for days just to realize that it was all fixed in an old diff noone ever ok'd was somewhat of an anti-climax. This diff also changes splsched to be correct for all our architectures.
2005-05-22remove "0x" in front of %p in printfs.Artur Grabowski
eyeballed by krw@
2005-05-02We don't really like full stops in dmesg. ok pefo@Alexander Yurchenko
2005-05-02obvious typo, designed to break the tree, brad, hmm?Theo de Raadt
2005-05-01To allow for MD override of in4_cksum()...Brad Smith
ok deraadt@
2005-05-01Use quality 0 instead of 1000 for CP0 timecounter likeAlexander Yurchenko
for i8254 on i386/amd64. Tested by kettenis@.
2005-04-29So mips64 is our first arch that switches to using new MIAlexander Yurchenko
timecounter code. The only available timecounter now is CP0 count register. We'll have more once we get support for embedded CPUs like NEC VR41xx. Tested on sgi by hshoexer@ and kettenis@; ok pefo@.
2005-04-19Nuke DB_NO_AOUT, and have platforms with a.out symbols explicitely provideMiod Vallat
DB_AOUT_SYMBOLS.
2005-04-16internal _BSD_WCTRANS_T_, _BSD_MSTATE_T_, _BSD_WCTYPE_T_ types.Miod Vallat
2005-04-11use MD #define to choose stackgap size per-architecture. on sparc, specialTheo de Raadt
case sun4c/sun4 -- because address space is more constrained
2005-03-30first approximation: spoof UDF filesystem disklabels when we see them.Theo de Raadt
it is likely a slight bug or two will sneak in with this, so everyone please keep an eye out on your disklabels
2005-02-13beliving -> believing typo;Alexander Yurchenko
spotted by miod (from the be300 dmesg ;-)