newlib/winsup/doc
Corinna Vinschen 38fd7ddb79 Allow sysconf to return CPU cache information
* include/sys/unistd.h (_SC_LEVEL*): Add cache-related variables as
        on Linux.

        * fhandler_proc.cc (format_proc_cpuinfo): Fetch cache information
        from new cache functions in sysconf.cc, get_cpu_cache_intel and
        get_cpu_cache_amd.
        * sysconf.cc (__nt_query_system): New local helper.
        (get_nproc_values): Utilize __nt_query_system on pre-Windows 7 systems.
        Use GetLogicalProcessorInformationEx otherwise to handle more than
        64 CPUs.  Only handle _SC_NPROCESSORS_CONF and _SC_NPROCESSORS_ONLN.
        (get_phys_pages): New helper to handle _SC_PHYS_PAGES.
        (cpuid2_cache_descriptor): New array to map Intel CPUID 2 descriptor
        values to cache type, cache size, associativity and linesize.
        (cpuid2_cache_desc_compar): Comparision function for bsearch over
        cpuid2_cache_descriptor.
        (get_cpu_cache_intel_cpuid2): New function to fetch cache info from
        Intel CPUID 2.
        (get_cpu_cache_intel_cpuid4): Ditto from Intel CPUID 4.
        (get_cpu_cache_intel): New function as CPU-specific entry point.
        (assoc): New array to map associativity values from AMD CPUID
        0x80000006.
        (get_cpu_cache_amd): New function to fetch cache info from AMD CPUIDs
        0x80000005 and 0x80000006.
        (get_cpu_cache): New function to fetch cache info.
        (sca): Call get_phys_pages if _SC_PHYS_PAGES is requested.  Call
        get_cpu_cache for new _SC_* cache requests.
        (SC_MAX): Set to _SC_LEVEL4_CACHE_LINESIZE.
        (get_phys_pages(void)): Call get_phys_pages(int).
        * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.

        * new-features.xml (ov-new2.3): Document sysconf cache addition.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2015-08-29 09:16:47 +02:00
..
.gitignore mv .cvsignore to .gitignore 2015-03-09 21:40:26 +01:00
aclocal.m4
bodysnatcher.pl Generating faq/faq.body automatically from faq/faq.html whenever latter 2013-05-02 00:10:15 +00:00
ChangeLog Allow sysconf to return CPU cache information 2015-08-29 09:16:47 +02:00
configure winsup/doc: Add a configure test to find docbook2xtexi 2015-07-05 19:09:46 +01:00
configure.ac winsup/doc: Add a configure test to find docbook2xtexi 2015-07-05 19:09:46 +01:00
cygserver.xml cygserver.xml: Add new section. How to install Cygserver. 2015-04-27 11:32:25 +02:00
cygwin-api.xml winsup/doc: Create info pages from cygwin documentation 2015-06-23 12:05:29 +01:00
cygwin-ug-net.xml winsup/doc: Create info pages from cygwin documentation 2015-06-23 12:05:29 +01:00
cygwinenv.xml * Throughout, replace http with https as far as cygwin.com and 2015-02-03 13:48:43 +00:00
dll.xml Modernized user guide, API reference, and FAQ generation. Overall 2013-05-01 23:30:25 +00:00
effectively.xml Modernized user guide, API reference, and FAQ generation. Overall 2013-05-01 23:30:25 +00:00
faq-api.xml * Throughout, replace http with https as far as cygwin.com and 2015-02-03 13:48:43 +00:00
faq-copyright.xml * Throughout, replace http with https as far as cygwin.com and 2015-02-03 13:48:43 +00:00
faq-programming.xml Improve FAQ answer on debugging Cygwin 2015-08-05 20:17:55 +01:00
faq-resources.xml * Throughout, replace http with https as far as cygwin.com and 2015-02-03 13:48:43 +00:00
faq-setup.xml Add FAQ entry on how Cygwin counters install and update MITM attacks 2015-04-23 21:57:11 +02:00
faq-using.xml Add Lavasoft Web Companion to BLODA list. 2015-08-21 12:54:23 +01:00
faq-what.xml * Throughout, replace http with https as far as cygwin.com and 2015-02-03 13:48:43 +00:00
faq.xml Modernized user guide, API reference, and FAQ generation. Overall 2013-05-01 23:30:25 +00:00
fhandler-tut.txt
filemodes.xml Modernized user guide, API reference, and FAQ generation. Overall 2013-05-01 23:30:25 +00:00
fo.xsl winsup/doc: Generate ANSI rather than K&R style function prototypes 2015-06-18 11:32:00 +01:00
gcc.xml * gcc.xml (gcc-64): Fix example. 2013-07-25 09:09:14 +00:00
gdb.xml Modernized user guide, API reference, and FAQ generation. Overall 2013-05-01 23:30:25 +00:00
highlights.xml * Throughout, replace http with https as far as cygwin.com and 2015-02-03 13:48:43 +00:00
html.xsl winsup/doc: Generate ANSI rather than K&R style function prototypes 2015-06-18 11:32:00 +01:00
intro.xml winsup/doc: Add intro man pages from cygwin-doc 2015-06-23 12:05:40 +01:00
legal.xml * Throughout, replace http with https as far as cygwin.com and 2015-02-03 13:48:43 +00:00
logon-funcs.xml winsup/doc: Convert cygwin-api function documentation to refentry elements 2015-06-18 11:32:03 +01:00
Makefile.in winsup/doc: Add a configure test to find docbook2xtexi 2015-07-05 19:09:46 +01:00
man.xsl winsup/doc: Add man.xsl customization stylesheet 2015-06-18 11:32:08 +01:00
misc-funcs.xml winsup/doc: Convert cygwin-api function documentation to refentry elements 2015-06-18 11:32:03 +01:00
new-features.xml Allow sysconf to return CPU cache information 2015-08-29 09:16:47 +02:00
ntsec.xml winsup/doc: Create info pages from cygwin documentation 2015-06-23 12:05:29 +01:00
ov-ex-unix.xml Remove mention of installing everything 2015-06-01 17:13:32 +01:00
ov-ex-win.xml Remove mention of installing everything 2015-06-01 17:13:32 +01:00
overview.xml * Throughout, replace http with https as far as cygwin.com and 2015-02-03 13:48:43 +00:00
path.xml winsup/doc: Convert cygwin-api function documentation to refentry elements 2015-06-18 11:32:03 +01:00
pathnames.xml Fix inconsistencies in docs regarding fstab and executable file detection 2015-04-23 22:02:47 +02:00
posix.xml Implement getcontext, setcontext, makecontext, swapcontext 2015-07-17 14:31:12 +02:00
programming.xml Modernized user guide, API reference, and FAQ generation. Overall 2013-05-01 23:30:25 +00:00
README winsup/doc: Update ancient README about building documentation 2015-06-23 12:07:47 +01:00
setup-env.xml * setup-files.xml (setup-files): Drop hint to set HOME in Windows 2015-02-16 10:23:01 +00:00
setup-files.xml * setup-files.xml (setup-files): Drop hint to set HOME in Windows 2015-02-16 10:23:01 +00:00
setup-locale.xml Modernized user guide, API reference, and FAQ generation. Overall 2013-05-01 23:30:25 +00:00
setup-maxmem.xml Modernized user guide, API reference, and FAQ generation. Overall 2013-05-01 23:30:25 +00:00
setup-net.xml Change CVS->GIT in docs 2015-03-10 14:19:42 +01:00
specialnames.xml * new-features.sgml (ov-new1.7.22): New section. Document dropped 2013-07-15 14:00:32 +00:00
textbinary.xml Modernized user guide, API reference, and FAQ generation. Overall 2013-05-01 23:30:25 +00:00
ug-info.xml Modernized user guide, API reference, and FAQ generation. Overall 2013-05-01 23:30:25 +00:00
using.xml * Makefile.in: Throughout use parenthesis instead of braces where 2014-08-14 19:44:29 +00:00
utils.xml winsup/doc: Remove 'Usage' prefix from synopses 2015-06-23 12:07:36 +01:00
windres.xml Modernized user guide, API reference, and FAQ generation. Overall 2013-05-01 23:30:25 +00:00
Wishlist . 2013-05-23 19:03:19 +00:00
xidepend winsup/doc: Make it easier to extend xidepend to more targets 2015-06-16 10:28:49 +01:00

ADDITIONAL BUILD REQUIREMENTS FOR DOCUMENTATION

dblatex
docbook-xml45
docbook-xsl
docbook2x-texi
gzip
texinfo
xmlto