freebsd-nq/sys/i386
Peter Wemm 795a3f5279 Microoptimization to allow the compiler to evaluate ntohl() etc on
known constants at compile time rather than at run time.  We have a number
of nasty hacks around the place to cache ntohl() of constants (eg: nfs).
This change allows the compiler to compile-time evaluate ntohl(1) as
0x01000000 rather than having to emit assembler code to do it.  This
has other smaller flow-on effects because the compiler can see that
ntohl(constant) itself has a constant value now and can propagate the
compile time evaluation.

Obtained from:  Ideas from NetBSD and Linux, and some code from NetBSD
2003-09-22 21:46:47 +00:00
..
acpica Add final adjustment code of battery status based on the battery capacity 2003-09-17 08:47:39 +00:00
bios - Use the new resource_disabled() helper function to see if devices are 2003-07-02 16:09:02 +00:00
compile
conf Mention the puc(4) glue driver in a commented-out example so the user 2003-09-19 20:04:55 +00:00
i386 Allocate the page table directory page(s) as "no object" pages. (This 2003-09-21 21:36:13 +00:00
ibcs2 Remove a few ushorts I missed in my earlier pass. 2003-08-15 14:55:50 +00:00
include Microoptimization to allow the compiler to evaluate ntohl() etc on 2003-09-22 21:46:47 +00:00
isa Add constants for entries in the IDT and use those instead of magic 2003-09-10 01:07:04 +00:00
linux Restored non-egregious casts so that this file compiles on i386's with 2003-09-07 13:23:45 +00:00
pci We represent PCI intpin's two different ways. One is the way that the 2003-09-10 06:00:53 +00:00
svr4 Use __FBSDID(). 2003-06-10 05:05:54 +00:00
Makefile