summaryrefslogtreecommitdiff
path: root/lib/libarch
AgeCommit message (Collapse)Author
2016-08-27Pull in <stdio.h> for NULLPhilip Guenther
ok deraadt@
2016-08-10armish handled some early-gen arm machines, which required tons ofTheo de Raadt
workarounds. Some of them will soon stand in the way of armv7. Off to the attic you go.
2016-03-30some Xr adjustment to catch up with MLINKS removal;Jason McIntyre
2016-03-30for some time now mandoc has not required MLINKS to functionJason McIntyre
correctly - logically complete that now by removing MLINKS from base; authors need only to ensure there is an entry in NAME for any function/ util being added. MLINKS will still work, and remain for perl to ease upgrades; ok nicm (curses) bcook (ssl) ok schwarze, who provided a lot of feedback and assistance ok tb natano jung
2016-03-24no more i386_get_ioperm(2);Jason McIntyre
2016-03-24Delete i386_{get,set}_ioperm(2) APIs and underlying sysarch(2) bits.Philip Guenther
They're no longer used by anything and should let us simplify the TSS handling. ok mikeb@ naddy@
2016-03-03Remove option USER_LDT and everything depending on it.Christian Weisgerber
Remove machdep.userldt sysctl. Remove i386_[gs]et_ldt syscall stub from libi386. Remove i386_[gs]et_ldt regression test. ok mlarkin@ millert@ guenther@
2016-02-01ansify amd64_iopl()Jeremie Courreges-Anglas
2016-02-01ansify; ok sthen@ kettenis@Jeremie Courreges-Anglas
2015-09-14in the SYNOPSIS, make void function arguments explicitIngo Schwarze
2015-09-10use .In rather than .Fd #includeIngo Schwarze
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