debuggers.hg

view tools/firmware/hvmloader/util.h @ 10986:49dcd838b7df

[HVMLOADER] HVM loader initialises hypercall shim and uses
it to interrogate Xen version information. Also add support
for HVM hypercall execution on 64-bit host.

Signed-off-by: Steven Smith <ssmith@xensource.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
author kfraser@localhost.localdomain
date Fri Aug 04 20:30:12 2006 +0100 (2006-08-04)
parents
children 4210049a5854
line source
1 #ifndef __HVMLOADER_UTIL_H__
2 #define __HVMLOADER_UTIL_H__
4 /* I/O output */
5 void outw(uint16_t addr, uint16_t val);
6 void outb(uint16_t addr, uint8_t val);
8 /* I/O input */
9 uint8_t inb(uint16_t addr);
11 /* String and memory functions */
12 int strcmp(const char *cs, const char *ct);
13 void *memcpy(void *dest, const void *src, unsigned n);
14 char *itoa(char *a, unsigned int i);
16 /* Debug output */
17 void puts(const char *s);
19 #endif /* __HVMLOADER_UTIL_H__ */