X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fvmboot%2Fvmxassist%2Fgen.c;fp=palacios%2Fsrc%2Fvmboot%2Fvmxassist%2Fgen.c;h=0000000000000000000000000000000000000000;hb=d34450b1e6fe3c2e1295c268c1722c669ba8d545;hp=2dcb229ee81293d75b82ec36b3772f761a80bace;hpb=1a24d4e8fb3918a42b124777db5b41940150023e;p=palacios.releases.git diff --git a/palacios/src/vmboot/vmxassist/gen.c b/palacios/src/vmboot/vmxassist/gen.c deleted file mode 100644 index 2dcb229..0000000 --- a/palacios/src/vmboot/vmxassist/gen.c +++ /dev/null @@ -1,52 +0,0 @@ -/* - * gen.c: Generate assembler symbols. - * - * Leendert van Doorn, leendert@watson.ibm.com - * Copyright (c) 2005, International Business Machines Corporation. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., 59 Temple - * Place - Suite 330, Boston, MA 02111-1307 USA. - */ -#include -#include -#include -#include - -int -main(void) -{ - printf("/* MACHINE GENERATED; DO NOT EDIT */\n"); - printf("#define VMX_ASSIST_CTX_GS_SEL 0x%x\n", - (unsigned int)offsetof(struct vmx_assist_context, gs_sel)); - printf("#define VMX_ASSIST_CTX_FS_SEL 0x%x\n", - (unsigned int)offsetof(struct vmx_assist_context, fs_sel)); - printf("#define VMX_ASSIST_CTX_DS_SEL 0x%x\n", - (unsigned int)offsetof(struct vmx_assist_context, ds_sel)); - printf("#define VMX_ASSIST_CTX_ES_SEL 0x%x\n", - (unsigned int)offsetof(struct vmx_assist_context, es_sel)); - printf("#define VMX_ASSIST_CTX_SS_SEL 0x%x\n", - (unsigned int)offsetof(struct vmx_assist_context, ss_sel)); - printf("#define VMX_ASSIST_CTX_ESP 0x%x\n", - (unsigned int)offsetof(struct vmx_assist_context, esp)); - printf("#define VMX_ASSIST_CTX_EFLAGS 0x%x\n", - (unsigned int)offsetof(struct vmx_assist_context, eflags)); - printf("#define VMX_ASSIST_CTX_CS_SEL 0x%x\n", - (unsigned int)offsetof(struct vmx_assist_context, cs_sel)); - printf("#define VMX_ASSIST_CTX_EIP 0x%x\n", - (unsigned int)offsetof(struct vmx_assist_context, eip)); - - printf("#define VMX_ASSIST_CTX_CR0 0x%x\n", - (unsigned int)offsetof(struct vmx_assist_context, cr0)); - - return 0; -}