2 * Jailhouse, a Linux-based partitioning hypervisor
4 * Copyright (c) Siemens AG, 2013
7 * Jan Kiszka <jan.kiszka@siemens.com>
9 * This work is licensed under the terms of the GNU GPL, version 2. See
10 * the COPYING file in the top-level directory.
15 #ifdef CONFIG_UART_OXPCIE952
16 #define UART_BASE 0xe000
18 #define UART_BASE 0x2f8
21 void inmate_main(void)
23 unsigned long long start, now;
26 printk_uart_base = UART_BASE;
27 printk("Hello from this tiny cell!\n");
29 start = read_pm_timer();
30 for (n = 0; n < 10; n++) {
32 now = read_pm_timer();
34 } while (now - start < 1000000000ULL);
35 start += 1000000000ULL;
36 printk("PM Timer: %11lu\n", now);