aboutsummaryrefslogtreecommitdiffstats
path: root/xen/tools/get-fields.sh
Commit message (Collapse)AuthorAgeFilesLines
* Use $(PYTHON) Makefile variable when building the hypervisor.Keir Fraser2009-07-091-1/+8
| | | | Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
* tmem: fix 32-on-64 supportKeir Fraser2009-06-171-2/+58
| | | | | | | | | This implicitly required coverting the tmem_op structure from anonymous to standard struct/union sub-fields, and extending the get-fields.sh helper script to deal with typedef-ed guest handles used as types of translated compound type fields. Signed-off-by: Jan Beulich <jbeulich@novell.com>
* x86 mce: fix c/s 17968 for 32-on-64Keir Fraser2009-03-311-1/+1
| | | | | | | | | | | | | | | | 32-on-64 aspects were not properly considered. Add respective checking, and adjust structure layouts for the cases where the checking pointed out issues. Also, - fix a potential memory corruption issue (do_mca() could write beyond log_cpus' end if the guest specified less than the number of online CPUs - there is no reason to make the (not even properly prefixed) definitions in xen/public/arch-x86/xen-mca.h globally visible by including the file from xen/public/arch-x86/xen.h. Signed-off-by: Jan Beulich <jbeulich@novell.com>
* xen: build fix for NetBSD (test -x usage).Keir Fraser2008-06-051-1/+3
| | | | Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
* x86: fix a few 32-on-64 compat mode issuesKeir Fraser2008-05-121-1/+0
| | | | | | | | | | | - handle VCPUOP_register_vcpu_info and VCPUOP_get_physid (and add respective layout checks) - add missing structure size check for struct vcpu_info - add missing layout check for vcpu_set_periodic_timer - handle VCPUOP_set_singleshot_timer via argument translation as the structure sizes differ (due to padding in 64-bits) Signed-off-by: Jan Beulich <jbeulich@novell.com>
* Use $(SHELL) to find shell to run get-fields.sh script.Keir Fraser2007-10-231-1/+0
| | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* Fix x86/64 build for *BSD.Keir Fraser2007-10-191-17/+25
| | | | | | | - Config.mk: uname -m prints "amd64". Deal with this. - do not assume python is always in /usr/bin - get-fields.sh: make it portable and non-bash specific Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
* [XEN] Wrap compat XLAT_ macros in "do { } while (0)".Tim Deegan2007-02-011-1/+3
| | | | | | | | | | | This unbreaks code like if ( !IS_COMPAT(dom) ) memcpy(); else XLAT_foo(); Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
* Make get-fields.sh really get run by bash rather than default /bin/sh.Alastair Tse2007-01-121-12/+12
| | | | | | Also fix some bashisms in the script. Signed-off-by: Alastair Tse <atse@xensource.com>
* [XEN] Partial fix for compat build non-portability.Emmanuel Ackaouy2007-01-101-15/+22
| | | | Signed-off-by: John Levon <john.levon@sun.com>
* Handle the creation of startup info for compatibility mode guests. ThisEmmanuel Ackaouy2007-01-051-0/+425
includes a script to auto-generate checking or translation code between native and compatibility mode hypercall argument structures. Signed-off-by: Jan Beulich <jbeulich@novell.com>