<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/lib/libc/powerpc, branch release/8.4.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F8.4.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F8.4.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2012-06-13T15:25:52Z</updated>
<entry>
<title>MFC 230260-230262,230269,230270,230426,230429,230538,230765,230766,230864,</title>
<updated>2012-06-13T15:25:52Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2012-06-13T15:25:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=84e1975986c540ece66f0721435dea181c7d9a62'/>
<id>urn:sha1:84e1975986c540ece66f0721435dea181c7d9a62</id>
<content type='text'>
232520 (partial),235563:
Add support for the extended FPU states on amd64, both for native
64bit and 32bit ABIs.  As a side-effect, it enables AVX on capable
CPUs.

In particular:

- Query the CPU support for XSAVE, list of the supported extensions
  and the required size of FPU save area. The hw.use_xsave tunable is
  provided for disabling XSAVE, and hw.xsave_mask may be used to
  select the enabled extensions.

- Remove the FPU save area from PCB and dynamically allocate the
  (run-time sized) user save area on the top of the kernel stack,
  right above the PCB. Reorganize the thread0 PCB initialization to
  postpone it after BSP is queried for save area size.

- The dumppcb, stoppcbs and susppcbs now do not carry the FPU state as
  well. FPU state is only useful for suspend, where it is saved in
  dynamically allocated suspfpusave area.

- Use XSAVE and XRSTOR to save/restore FPU state, if supported and
  enabled.

- Define new mcontext_t flag _MC_HASFPXSTATE, indicating that
  mcontext_t has a valid pointer to out-of-struct extended FPU
  state. Signal handlers are supplied with stack-allocated fpu
  state. The sigreturn(2) and setcontext(2) syscall honour the flag,
  allowing the signal handlers to inspect and manipilate extended
  state in the interrupted context.

- The getcontext(2) never returns extended state, since there is no
  place in the fixed-sized mcontext_t to place variable-sized save
  area. And, since mcontext_t is embedded into ucontext_t, makes it
  impossible to fix in a reasonable way.  Provide a sysarch(2)
  facility to query extended FPU state.

- Add API for obtaining extended machine context states that cannot be
  fit into existing mcontext_t.

  On i386 and amd64 return the extended FPU states using
  getcontextx(3). For other architectures, getcontextx(3) returns the
  same information as getcontext(2).

- Add ptrace(2) support for getting and setting extended state; while
  there, implement missed PT_I386_{GET,SET}XMMREGS for 32bit binaries.

- Change fpu_kern KPI to not expose struct fpu_kern_ctx layout to
  consumers, making it opaque. Internally, struct fpu_kern_ctx now
  contains a space for the extended state. Convert in-kernel consumers
  of fpu_kern KPI both on i386 and amd64.

Reviewed by:	kib
</content>
</entry>
<entry>
<title>MFC r218909:</title>
<updated>2011-02-24T10:23:22Z</updated>
<author>
<name>Rebecca Cran</name>
<email>brucec@FreeBSD.org</email>
</author>
<published>2011-02-24T10:23:22Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=252b710c510f1981e5acfd15f436d31080c011e1'/>
<id>urn:sha1:252b710c510f1981e5acfd15f436d31080c011e1</id>
<content type='text'>
Fix typos - remove duplicate "the".

PR:		bin/154928
Submitted by:	Eitan Adler &lt;lists at eitanadler.com&gt;
</content>
</entry>
<entry>
<title>Mark uname(), getdomainname() and setdomainname() with COMPAT_FREEBSD4.</title>
<updated>2008-11-09T10:45:13Z</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2008-11-09T10:45:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=a1b5a8955e828f049b425b7b2141999823059923'/>
<id>urn:sha1:a1b5a8955e828f049b425b7b2141999823059923</id>
<content type='text'>
Looking at our source code history, it seems the uname(),
getdomainname() and setdomainname() system calls got deprecated
somewhere after FreeBSD 1.1, but they have never been phased out
properly. Because we don't have a COMPAT_FREEBSD1, just use
COMPAT_FREEBSD4.

Also fix the Linuxolator to build without the setdomainname() routine by
just making it call userland_sysctl on kern.domainname. Also replace the
setdomainname()'s implementation to use this approach, because we're
duplicating code with sysctl_domainname().

I wasn't able to keep these three routines working in our
COMPAT_FREEBSD32, because that would require yet another keyword for
syscalls.master (COMPAT4+NOPROTO). Because this routine is probably
unused already, this won't be a problem in practice. If it turns out to
be a problem, we'll just restore this functionality.

Reviewed by:	rdivacky, kib
</content>
</entry>
<entry>
<title>Fix some ifdef logic in the libc syncicache() bit that I somehow missed in the</title>
<updated>2008-09-24T01:06:11Z</updated>
<author>
<name>Nathan Whitehorn</name>
<email>nwhitehorn@FreeBSD.org</email>
</author>
<published>2008-09-24T01:06:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=a63c2f9df09939b5cb2315f9a1a9883ffed9ed45'/>
<id>urn:sha1:a63c2f9df09939b5cb2315f9a1a9883ffed9ed45</id>
<content type='text'>
last commit. Now it really can use a runtime-set cacheline size.
</content>
</entry>
<entry>
<title>Allow the cacheline size on PowerPC to be set at runtime. This is essential for</title>
<updated>2008-09-24T00:28:46Z</updated>
<author>
<name>Nathan Whitehorn</name>
<email>nwhitehorn@FreeBSD.org</email>
</author>
<published>2008-09-24T00:28:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=4c01c0b965cab53171dda3e7f7c4c8fc406f5201'/>
<id>urn:sha1:4c01c0b965cab53171dda3e7f7c4c8fc406f5201</id>
<content type='text'>
supporting 64-bit CPUs, which often have 128-byte cache lines instead of the
standard 32.
</content>
</entry>
<entry>
<title>Add support files for compiling with soft-float. This has been</title>
<updated>2008-04-27T18:34:34Z</updated>
<author>
<name>Marcel Moolenaar</name>
<email>marcel@FreeBSD.org</email>
</author>
<published>2008-04-27T18:34:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=b0735d80737eed411ba0f63cfe1babcb29761115'/>
<id>urn:sha1:b0735d80737eed411ba0f63cfe1babcb29761115</id>
<content type='text'>
copied from ARM and modified to warrant the duplication. Oh,
and to make it work for PowerPC :-)
</content>
</entry>
<entry>
<title>Let PowerPC world optionally build with -msoft-float. For FPU-less PowerPC</title>
<updated>2008-02-24T19:22:53Z</updated>
<author>
<name>Rafal Jaworowski</name>
<email>raj@FreeBSD.org</email>
</author>
<published>2008-02-24T19:22:53Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=56ae1bed483309cf68c5089a8b45f607d1e4773e'/>
<id>urn:sha1:56ae1bed483309cf68c5089a8b45f607d1e4773e</id>
<content type='text'>
variations (e500 currently), this provides a gcc-level FPU emulation and is an
alternative approach to the recently introduced kernel-level emulation
(FPU_EMU).

Approved by:	cognet (mentor)
MFp4:		e500
</content>
</entry>
<entry>
<title>Fix build from errors exposed with recent version_gen.awk commit.</title>
<updated>2007-10-18T07:23:31Z</updated>
<author>
<name>Peter Grehan</name>
<email>grehan@FreeBSD.org</email>
</author>
<published>2007-10-18T07:23:31Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=b3ab87d8bfb25ef04423d7c8cfe677e0074a45b4'/>
<id>urn:sha1:b3ab87d8bfb25ef04423d7c8cfe677e0074a45b4</id>
<content type='text'>
Not quite sure if this is 100% correct: awaiting review. But quieten
tinderbox in the meantime.
</content>
</entry>
<entry>
<title>Classify mmap, lseek, pread, pwrite, truncate, ftruncate as pseudo</title>
<updated>2007-07-04T23:23:01Z</updated>
<author>
<name>Peter Wemm</name>
<email>peter@FreeBSD.org</email>
</author>
<published>2007-07-04T23:23:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=65a6d893baa4ff43995d874bdaf3119266533e84'/>
<id>urn:sha1:65a6d893baa4ff43995d874bdaf3119266533e84</id>
<content type='text'>
syscalls, unless WITHOUT_SYSCALL_COMPAT is defined.  The default case
will have the .c wrappers still.  If you define WITHOUT_SYSCALL_COMPAT,
the .c wrappers will go away and libc will make direct syscalls.

After 7-stable starts, the direct syscall method will be default.

Approved by:  re (kensmith)
</content>
</entry>
<entry>
<title>Fix bogon in previous commit: &lt;machine/cpu.h&gt; is still needed.</title>
<updated>2007-06-10T16:32:08Z</updated>
<author>
<name>Marcel Moolenaar</name>
<email>marcel@FreeBSD.org</email>
</author>
<published>2007-06-10T16:32:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=0c94ac1cd7599359f3626ead618ca583d10fae79'/>
<id>urn:sha1:0c94ac1cd7599359f3626ead618ca583d10fae79</id>
<content type='text'>
</content>
</entry>
</feed>
