aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-x86/types.h
Commit message (Collapse)AuthorAgeFilesLines
* xen: Remove x86_32 build target.Keir Fraser2012-09-121-15/+0
| | | | Signed-off-by: Keir Fraser <keir@xen.org>
* x86: properly define size_tJan Beulich2012-01-121-0/+6
| | | | | | | | | | | | | | Having it defined unilaterally as 'unsigned long' got me surprised recently when I tried to use the 'z' printk type modifier, as that is expected by the compiler to be used only on the type it knows size_t is supposed to have. Generally the compiler provides a construct to do this, so use it when available. Signed-off-by: Jan Beulich <jbeulich@suse.com> Acked-by: Keir Fraser <keir@xen.org> Acked-by: Christoph Egger <Christoph.Egger@amd.com>
* x86: move and fold certain type property definitionsJan Beulich2012-01-121-10/+0
| | | | | | | | | | Not only is it less code to have them consolidated, it also permits their use virtually everywhere (since config.h is required to be included everywhere. (Shouldn't we, btw, follow Linux and remove the explicit inclusion in favor of command line enforced one?) Signed-off-by: Jan Beulich <jbeulich@suse.com> Acked-by: Keir Fraser <keir@xen.org>
* i386: Remove non-PAE hypervisor build target.Keir Fraser2008-05-081-6/+0
| | | | Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* shadow: track video RAM dirty bitsKeir Fraser2008-05-021-0/+3
| | | | | | | | | | This adds a new HVM op that enables tracking dirty bits of a range of video RAM. The idea is to optimize just for the most common case (only one guest mapping, with sometimes some temporary other mappings), which permits to keep the overhead on shadow as low as possible. Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* xen: Make bool_t an arch-dep definition, and define macrosKeir Fraser2007-04-061-0/+4
| | | | | specifically for atomic test-and-modify operations on bool_t. Signed-off-by: Keir Fraser <keir@xensource.com>
* Rename physical-address-related variables and functionskaf24@firebug.cl.cam.ac.uk2006-02-011-6/+6
| | | | | | | | | | | | | | | | to follow a new ocnsistent naming scheme. gpfn is a guest pseudophys frame number. gmfn is a machine frame number (from guest p.o.v.) mfn is a real bona fide machine number. pfn is an arbitrary frame number (used in general-purpose 'polymorphic' functions). pfn_info now called page_info. Signed-off-by: Keir Fraser <keir@xensource.com>
* Fix domain0 builder for PAE.kaf24@firebug.cl.cam.ac.uk2005-08-101-2/+5
| | | | | | Signed-off-by: Chris Wright <chrisw@osdl.org> Signed-off-by: Keir Fraser <keir@xensource.com>
* Port kallsyms to Xen, as 'symbols'.kaf24@firebug.cl.cam.ac.uk2005-07-221-12/+15
| | | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* bitkeeper revision 1.1683 (42a4622ekYvso9kv8cisS5m2QiUqiQ)kaf24@firebug.cl.cam.ac.uk2005-06-061-14/+4
| | | | | | Merge x86/32 and x86/64 string functions. Signed-off-by: Keir Fraser <keir@xensource.com>
* bitkeeper revision 1.1682 (42a42b05Cvw3LyFcUHH4i1_9HWbLBA)kaf24@firebug.cl.cam.ac.uk2005-06-061-0/+4
| | | | | | Merge x86/32 and x86/64 usercopy routines. Signed-off-by: Keir Fraser <keir@xensource.com>
* bitkeeper revision 1.1615.1.1 (429c8530L_ZtVuxsQcKwKB3yPuljog)kaf24@firebug.cl.cam.ac.uk2005-05-311-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Subject: PAE support This patch adds initial support for PAE paging to xen. This patch does: * boot Xen itself with PAE paging enabled. * add PAE support to the dom0 domain builder. Some notes on the design and the changes: * There are two new config options: CONFIG_X86_PAE (boolean, same name Linux uses to simply things) and CONFIG_PAGING_LEVELS (int, possible values are 2,3,4). I've used #if CONFIG_PAGING_LEVELS for stuff which simply depends on the number of paging levels in the code common for x86-32/64, and CONFIG_X86_PAE for special PAE quirks or i386-only stuff. I've tried to avoid ifdefs if possible though, often I rearranged code to make it work in both PAE and non-PAE case instead. * idle_pg_table: 3rd level is statically initialized, 2nd level is contignous in physical and virtual memory, so it can be addressed linear (the dom0 builder uses the same trick to simplify things a bit btw.). There are two new symbols: idle_pg_table_l3 and idle_pg_table_l2 for the two tables. idle_pg_table is aliased to the toplevel page table, i.e. idle_pg_table_l3 in PAE mode and idle_pg_table_l2 in non-pae mode. The idle l3 table is actually never ever touched after boot, the l2 table is accessed via idle_pg_table_l2 and addressed linear in both PAE and non-PAE mode. * I've added a "intpte_t" type and a PRIpte define, modeled after the C99 inttypes.h header, for page table entries. Signed-off-by: Gerd Knorr <kraxel@bytesex.org>
* bitkeeper revision 1.1108.1.29 (41056396oI8TDCaTvBdU_3II1cHF9Q)kaf24@scramble.cl.cam.ac.uk2004-07-261-1/+1
| | | | | | Rename memory allocator interfaces in Xen to avoid conflicts with Linux namespace.
* bitkeeper revision 1.1041.1.17 (40eb0b673jnCW3n1yVuLT8OFnMJm-Q)djm@kirby.fc.hp.com2004-07-061-0/+2
| | | | | | Minor slab tweaks to move ever so slightly toward 2.6 and make ia64 (based on 2.6) easier. (NOTE! kmem_bufctl_t is now a short per 2.6!)
* bitkeeper revision 1.1026.3.1 (40e1966bdTS8WBGJY9WhLRE3t6GBdQ)kaf24@scramble.cl.cam.ac.uk2004-06-291-1/+2
| | | | | More cleanups for x86-64.
* bitkeeper revision 1.955.1.4 (40ca25caD-WBu24eVfed1yswCl7JeQ)kaf24@scramble.cl.cam.ac.uk2004-06-111-4/+4
| | | | | | | | | | | | | | | | | | Many files: More x86_64 stuff. pda.h: Rename: xen/include/asm-x86/x86_64/pda.h -> xen/include/asm-x86/pda.h .del-config.h~ab742eeb14ad808f: Delete: xen/include/asm-x86/x86_64/config.h arch-x86_32.h: Rename: xen/include/hypervisor-ifs/arch_x86_32.h -> xen/include/hypervisor-ifs/arch-x86_32.h arch-x86_64.h: Rename: xen/include/hypervisor-ifs/arch_x86_64.h -> xen/include/hypervisor-ifs/arch-x86_64.h arch_x86_32.h: Rename: xen/include/hypervisor-ifs/arch-x86/hypervisor-if.h -> xen/include/hypervisor-ifs/arch_x86_32.h arch_x86_64.h: Rename: xen/include/hypervisor-ifs/arch-x86_64/hypervisor-if.h -> xen/include/hypervisor-ifs/arch_x86_64.h
* bitkeeper revision 1.952 (40c8935a3XSRdQfnx5RoO7XgaggvOQ)kaf24@scramble.cl.cam.ac.uk2004-06-101-0/+58
Towards x86_64 support. Merged a bunch of the existing x86_64 stuff back into a generic 'x86' architecture. Aim is to share as much as possible between 32- and 64-bit worlds.