summaryrefslogtreecommitdiff
path: root/sys/src/libmach/8.c
AgeCommit message (Collapse)Author
2014-03-09libmach: pragma pack 32bit Ureg structs for amd64cinap_lenrek
when libmach is compiled with 6c, unions in the 32bit Uregs cause fields to be wronly aligned. use #pragma pack arround the #include "/$objtype/include/ureg.h" statement.
2013-05-30libmach: fix reversed F0-F7 register ordercinap_lenrek
2013-05-26keep fpregs always in sse (FXSAVE) format, adapt libmach and acid files for ↵cinap_lenrek
new format we now always use the new FXSAVE format in FPsave structure and fpregs file, converting back and forth in fpx87save() and fpx87restore(). document that fprestore() is a destructive operation now. change fp register definition in libmach and adapt fpr() acid funciton. avoid unneccesary copy of fpstate and fpsave in sysfork(). functions including syscalls do not preserve the fp registers and copying fpstate from the current process would mean we had to fpsave(&up->fpsave); first. simply not doing it, new process starts in FPinit state.
2013-05-04bio: use UTFmax for Bungetsize and fix libmach to include <libc.h> before ↵cinap_lenrek
<bio.h> (from sources)
2012-02-13libmach: use correct kernel base, kprof: use kernel base from libmach (from ↵cinap_lenrek
applied/kprof patch)
2011-03-30Import sources from 2011-03-30 iso image - libTaru Karttunen
2011-03-30Import sources from 2011-03-30 iso imageTaru Karttunen