summaryrefslogtreecommitdiff
path: root/lib/libarch
AgeCommit message (Collapse)Author
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;
2004-03-12add archs to .Dt lines here too;Jason McIntyre
spotted by miod@
2004-03-12correct .Dt lines, and remove .Lb stuff;Jason McIntyre
ok deraadt@
2004-02-28mtrr callsTheo de Raadt
2004-02-28bye byeTheo de Raadt
2004-02-28prettyTheo de Raadt
2004-02-28bye byeTheo de Raadt
2004-02-27change to amd_*() functionsTheo de Raadt
2004-02-27change amd64's MACHINE_ARCH from x86_64 to amd64. There are many manyTheo de Raadt
reasons for this, quite a few of them technical, and not all of them in response to Intel's broken ia32e crud. The gcc toolchain stays at x86_64 for now.
2004-02-26enable x86_64Theo de Raadt
2004-02-26x86_64 libarchTheo de Raadt
2004-02-26correct MACHINE vs MACHINE_ARCH issuesTheo de Raadt
2003-10-06munmap() the correct size; adapted from PR #3462Miod Vallat
ok matthieu@
2003-08-08these functions need -lalpha;Jason McIntyre
2003-07-19don't specify the leading "/" in MANSUBDIR (otherwise "//" occurs)David Krause
ok millert@
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-05-30remove whitespace at EOL;Jason McIntyre
2003-05-29tweak;Jason McIntyre
ok mickey@
2003-05-29mention that this has to be enabled via sysctl before useMichael Shalayeff