aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/xen/init.h
Commit message (Collapse)AuthorAgeFilesLines
* xen: Introduce __initconst to store initial const dataJulien Grall2013-09-101-0/+1
| | | | | | | | | | | | | | | It's possible to have 2 type (const and non-const) of data in the same compilation unit. Using only __initdata will result to a compilation error: error: $variablename causes as section tupe conflict with $variablename2 because a section containing const variables is marked read only and so cannot contain non-const variables. Signed-off-by: Julien Grall <julien.grall@linaro.org> Acked-by: Ian Cambell <ian.campbell@citrix.com> CC: Jan Beulich <JBeulich@suse.com> CC: Keir Fraser <keir@xen.org>
* compiler.h adjustmentsJan Beulich2012-10-251-3/+0
| | | | | | | | | | | | - replace __attribute_used__ with just __used - add __maybe_unused and explain the difference between the two - remove gcc 3.x specifics (as we don't support building with it anymore; really for quite some time we didn't even support building with the checked for minor versions) - remove left over __setup() from init.h (rather than adjusting it) Signed-off-by: Jan Beulich <jbeulich@suse.com> Acked-by: Keir Fraser <keir@xen.org>
* xen: define __section() and friends and use them for section annotations.Tim Deegan2012-04-111-15/+8
| | | | | | | | | By itself this is just code-tidying, but it's also useful for the following patch, which will adjust __section() for clang compiles. Signed-off-by: Tim Deegan <tim@xen.org> Acked-by: Keir Fraser <keir@xen.org> Committed-by: Tim Deegan <tim@xen.org>
* force inclusion of xen/config.h through compiler optionJan Beulich2012-01-131-1/+0
| | | | | | | | | | | | | As we expect all source files to include the header as the first thing anyway, stop doing this by repeating the inclusion in each and every source file (and in many headers), but rather enforce this uniformly through the compiler command line. As a first cleanup step, remove the explicit inclusion from all common headers. Further cleanup can be done incrementally. Signed-off-by: Jan Beulich <jbeulich@suse.com> Acked-by: Keir Fraser <keir@xen.org>
* x86: Implement cpu hotplug notifiers. Use them.Keir Fraser2010-05-141-5/+8
| | | | Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* Boot parameter definition adjustmentsKeir Fraser2009-10-281-18/+20
| | | | | | | Consolidate the various attributes into macros, and tell the compiler not to needlessly waste spec for aligning strings used at most once. Signed-off-by: Jan Beulich <jbeulich@novell.com>
* introduce size_param()Keir Fraser2009-08-311-1/+12
| | | | | | | | | | | With there being several instances of custom_param() where the handler is just invoking parse_size_and_unit(), it seems to make sense to introduce a simplifying abstraction. Also fix serial_txbufsz not having been guaranteed to be a power of two. Signed-off-by: Jan Beulich <jbeulich@novell.com>
* Also allow boolean cmdline params to be inverted in two other ways.kfraser@localhost.localdomain2007-07-091-1/+1
| | | | | | | | | | | | | Now, a standard boolean (e.g., watchdog) can be inverted in three ways: 1. no-watchdog 2. watchdog=no 3. watchdog=off Stacked inversions cancel each other: no-watchdog=no turns on the watchdog. Signed-off-by: Keir Fraser <keir@xensource.com>
* Allow inversion of boolean cmdline parameters with 'no-' prefix.kfraser@localhost.localdomain2007-07-091-1/+5
| | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* [XEN] Make labels _start,_end,_stext,_etext,_sinittext,_einittext generic.kaf24@localhost.localdomain2007-01-031-0/+19
| | | | | | Also sync the tools/symbol.c symbol table generator with Linux. Make section names generic (e.e.g, .init.text, .init.data, ...). Signed-off-by: Keir Fraser <keir@xensource.com>
* More upgrades of Xen code to linux-2.6.16-rc2.kaf24@firebug.cl.cam.ac.uk2006-02-141-2/+0
| | | | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* Upgrade arch/x86/cpu/* files to their equivalents inkaf24@firebug.cl.cam.ac.uk2006-02-141-0/+2
| | | | | | | | | | | linux-2.6.16-rc2/arch/i386/kernel/cpu/*. Also include kernel taint tracking and include that information, and Xen release info, in our crash dumps. Signed-off-by: Keir Fraser <keir@xensource.com>
* bitkeeper revision 1.1389.17.1 (42823056RNtq4AlseRHL98DJV2uJgA)kaf24@firebug.cl.cam.ac.uk2005-05-111-5/+5
| | | | | | | | | | | | | | | | | Change the Xen command-line parameter syntax. 'noacpi' and 'ignorebiostables' are gone. 'dom0_mem' can optionally take a k/m/g suffix to specify units (default units are still kilobytes). Also added: 1. 'mem=xxx' to specify maximum physical RAM address (supports k/m/g suffix) 2. acpi=xxx/acpi_skip_timer_override/noapic: These all have same semantics as in Linux. They are *automatically* propagated to the domain0 command line, as dom0 shares resposibility for platform initialisation. Signed-off-by: Keir Fraser <keir@xensource.com>
* bitkeeper revision 1.1236.57.2 (4252646a-w2lxhow-zRG4FwNSoDk5A)vh249@arcadians.cl.cam.ac.uk2005-04-051-1/+5
| | | | | | | add support for memory suffix in user tools and in kernel Signed-off-by: Vincent Hanquez <vincent@xensource.com>
* bitkeeper revision 1.1159.246.3 (4204e7ad2KYRVbyWiC88XmVkIag9Wg)kaf24@scramble.cl.cam.ac.uk2005-02-051-24/+1
| | | | | | More common-code movements for ia64. Signed-off-by: keir.fraser@cl.cam.ac.uk
* bitkeeper revision 1.1159.170.71 (41d2d2214KOuM-HBckYg9I4kQVczaA)kaf24@scramble.cl.cam.ac.uk2004-12-291-1/+2
| | | | | Fix build.
* bitkeeper revision 1.1159.170.68 (41d2b498y1kgB6L3q_YXZmDzui_mSQ)kaf24@scramble.cl.cam.ac.uk2004-12-291-86/+37
| | | | | | Pull command-line option declarations to files in which they are used, rather than having a single list of them in common/kernel.c.
* bitkeeper revision 1.1159.1.145 (4140e840rdAgNzGs4H22eopT-ononA)kaf24@freefall.cl.cam.ac.uk2004-09-091-6/+6
| | | | | Fix Xen for recent GCC.
* bitkeeper revision 1.821 (406007d6uu0vZYDxa9P1ZfNO9kF_Cg)kaf24@scramble.cl.cam.ac.uk2004-03-231-0/+170
Many files: xeno -> xen renames. ide-xen.c: Rename: xen/drivers/ide/ide-xeno.c -> xen/drivers/ide/ide-xen.c xen.lds: Rename: xen/arch/i386/xeno.lds -> xen/arch/i386/xen.lds Many files: mvdir