summaryrefslogtreecommitdiff
path: root/lib/libarch
AgeCommit message (Collapse)Author
2015-05-30Build with -mbwx rather than -Wa,-mev56 so that upcoming changes to the compilerMiod Vallat
will output proper .arch statements in its output. No functional change.
2015-02-15Use "In" to mark up include files, instead of wrongly wrapping with Aq.Anthony J. Bentley
Aq is not the same as <> in non-ASCII situations, so this caused incorrect output in some places. And it provided no semantics besides. ok schwarze@
2015-01-15remove .Tn; from Jan Stary <hans at stare dot cz>Ingo Schwarze
2014-12-13Provide our own copy of {round,trunc}_page() now that uvm's is unreachable fromMiod Vallat
non-_KERNEL code.
2014-11-15remove useless casts (and the comments saying lint complains about them)Ted Unangst
2014-07-16zap trailing newlines; "go for it" deraadtOkan Demirmen
2014-04-18It's been a quarter century: we can assume volatile is present with that name.Philip Guenther
2013-09-14- bit clearer about sysctls/securelevel (text lifted from i386_iopl(2))Jason McIntyre
- EPERM only applies to _set_ioperm help kettenis original diff From: Paul Kelly
2013-08-14no longer any need to quote macro lines with >9 args;Jason McIntyre
From: Jan Stary
2013-05-05since i386_{g,s}et_ioperm(2) are the same page, do not list them both inJason McIntyre
SEE ALSO;
2013-05-05remove never implemented amd64 get/set ioperm sysarch. ok guentherTed Unangst
2012-12-20include machine/cpu.h now that is isn't any longer pulled in indirectlyChristian Weisgerber
by sys/sysctl.h; ok deraadt@ millert@
2012-12-05Remove excessive sys/cdefs.h inclusionTheo de Raadt
ok guenther millert kettenis
2012-08-02remove leftover NOLINT, WANTLINT, LINTFLAGS, LOBJ vars and lint targets.Okan Demirmen
ok guenther@
2012-04-12tweak previous;Jason McIntyre
2012-04-12Clarify thread-localness in the wake of rfork's removalPhilip Guenthe
2011-12-25Missing architecture on the .Dt line; found with mandocdb(8); ok jmc@.Ingo Schwarze
2011-12-24formatting errors, found using freebsd's "igor";Jason McIntyre
2011-04-13Unrevert the FS.base diff: the issues were actually elsewherePhilip Guenthe
Additional testing by jasper@ and pea@
2011-04-10Revert bulk of the FS.base diff, as it causes issues on some machinesPhilip Guenthe
and the problem isn't obvious yet.
2011-04-05Add support for per-rthread base-offset for the %fs selector on amd64.Philip Guenthe
Add pcb_fsbase to the PCB for tracking what the value for the thread is, and ci_cur_fsbase to struct cpu_info for tracking the CPU's current value for FS.base, then on return to user-space, skip the setting if the CPU has the right value already. Non-threaded processes without TLS leave FS.base zero, which can be conveniently optimized: setting %fs zeros FS.base for fewer cycles than wrmsr. ok kettenis@
2011-03-12Provide wrappers for the new I386_{GET,SET}_{FS,GS}BASE sysarch() calls.Philip Guenthe
In some sense, these are mainly to give names to hang manpages from.
2010-09-26add mips64 tags; ok miodJason McIntyre
2010-09-25fix Xrs;Jason McIntyre
2010-09-24tweak previous;Jason McIntyre
2010-09-24Provide IRIX-compatible get_fpc_csr() and set_fpc_csr() for mips, althoughMiod Vallat
we don't provide the silly union to decompose the value. This will allow userland to flip the ``flush denormalized to zero'' setting, which apparently is being relied upon by tcl. Asked by jasper@ a long time ago. Riding upon the upcoming libc major crank.
2010-02-03Use MACHINE_CPU instead of MACHINE_ARCH to pick the correct machine dependentMiod Vallat
files or directories when applicable. The inspiration and name of MACHINE_CPU come from NetBSD, although the way to provide it to Makefiles is completely different. ok kettenis@
2009-10-01Do not `return' in void functions.Miod Vallat
Amazingly, compiler does not complain (lint does).
2009-09-27Add an implementation of IRIX-compatible cacheflush() routine to mips ports,Miod Vallat
needed for gcc -ftrampoline operation as well as by some third-party software. Although the implementation uses the sysarch() sysctl, the wrapper is added to libc as it was a direct system call (which it is on IRIX).
2009-09-24Test for MACHINE_ARCH to decide whether to build stuff in libarch/arm, insteadMiod Vallat
of an incomplete MACHINE list.
2009-09-09Palm: Integration into the treeMarek Vasut
OK deraadt@
2009-08-13We do not do vm86 mode on amd64Theo de Raadt
ok kettenis
2008-06-26First pass at removing clauses 3 and 4 from NetBSD licenses.Ray Lai
Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@
2008-06-09Remove an arch-specific API that wasn't available in the first place, andPeter Hessler
will be converted to a more generic one soon. ok deraadt, oga
2008-05-23we only do static libarch; ok drahnTheo de Raadt
2008-05-23- remove USER_LDT, it was never in a state where it would copile, nor willJasper Lievisse Adriaanse
we support i386-compat mode on amd64. agreed by beck@, dlg@, kettenis@ ok deraadt@, tom@
2007-11-17"arm" is not a valid .Dt arch; remove it, as this page is for bothJason McIntyre
armish and zaurus quote >9 args to .Nd
2007-08-01More cats stuff leaving the boat to join the boat anchor.Miod Vallat
2007-05-31convert to new .Dd format;Jason McIntyre
2006-10-28prefer `buses' to `busses' for the noun plural;Jason McIntyre
2006-10-16various improvements;Jason McIntyre
based on -r1.22 from freebsd (i386 version anyway), submitted by andreas fuchs, improved by ru@freebsd, then again by myself and mickey ok mickey
2006-06-06System build pieces for armish arch.Dale Rahn
2006-02-24slightly reword [EPERM] section; ok djmJason McIntyre
2006-02-24amd64_iopl() needs securelevel <= 0, or machdep.allowapeture > 0Damien Miller
just like i386_iopl()
2006-02-24document that this call needs securelevel <= 0, orDamien Miller
machdep.allowapeture > 0; feedback naddy@ and jmc@, ok deraadt@
2005-11-24use WANTLINT= (on all architectures)Theo de Raadt
2005-03-15use cats/zaurus and install the manpages in the appropriate places,Dale Rahn
ok miod@ deraadt@
2005-02-03build libarch for arm.Dale Rahn
2005-02-03libarch for arm, to allow for cache flushing.Dale Rahn
manpage building and installation are currently commented out until the appropriate directory is determined.
2004-03-12typos;Jason McIntyre
new sentence, new line; kill whitespace;