aboutsummaryrefslogtreecommitdiffstats
path: root/3rdparty/python-console/modified
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/python-console/modified')
0 files changed, 0 insertions, 0 deletions
48' href='#n48'>48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72
/* -*-  Mode:C; c-basic-offset:4; tab-width:4 -*-
 ****************************************************************************
 * (C) 2005 - Rolf Neugebauer - Intel Research Cambridge
 ****************************************************************************
 *
 *        File: xc_shadow.c
 *      Author: Rolf Neugebauer (rolf.neugebauer@intel.com)
 *        Date: Mar 2005
 * 
 * Description: 
 */


#include <xenctrl.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/mman.h>
#include <errno.h>
#include <string.h>

void usage(void)
{
    printf("xc_shadow: -[0|1|2]\n");
    printf("    set shadow mode\n");
    exit(0);
}

int main(int argc, char *argv[])
{
    int xc_handle;
    int mode = 0;

    if ( argc > 1 )
    {
        char *p = argv[1];
        if (*p++ == '-') {