aboutsummaryrefslogtreecommitdiff
path: root/xen
diff options
context:
space:
mode:
Diffstat (limited to 'xen')
-rw-r--r--xen/console.c4
-rw-r--r--xen/console.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/xen/console.c b/xen/console.c
index aed63cb5..e5aeb186 100644
--- a/xen/console.c
+++ b/xen/console.c
@@ -169,12 +169,12 @@ void hypcnstop()
{
}
-io_return_t hypcngetstat(dev_t dev, int flavor, int *data, unsigned int *count)
+io_return_t hypcngetstat(dev_t dev, dev_flavor_t flavor, dev_status_t data, mach_msg_type_number_t *count)
{
return tty_get_status(&hypcn_tty, flavor, data, count);
}
-io_return_t hypcnsetstat(dev_t dev, int flavor, int *data, unsigned int count)
+io_return_t hypcnsetstat(dev_t dev, dev_flavor_t flavor, dev_status_t data, mach_msg_type_number_t count)
{
return tty_set_status(&hypcn_tty, flavor, data, count);
}
diff --git a/xen/console.h b/xen/console.h
index cd5fd5fc..527f5fbd 100644
--- a/xen/console.h
+++ b/xen/console.h
@@ -43,8 +43,8 @@ extern int hypcnopen(dev_t dev, int flag, io_req_t ior);
extern int hypcnread(dev_t dev, io_req_t ior);
extern int hypcnwrite(dev_t dev, io_req_t ior);
extern void hypcnclose(dev_t dev, int flag);
-extern io_return_t hypcngetstat(dev_t dev, int flavor, int *data, unsigned int *count);
-extern io_return_t hypcnsetstat(dev_t dev, int flavor, int *data, unsigned int count);
+extern io_return_t hypcngetstat(dev_t dev, dev_flavor_t flavor, dev_status_t data, mach_msg_type_number_t *count);
+extern io_return_t hypcnsetstat(dev_t dev, dev_flavor_t flavor, dev_status_t data, mach_msg_type_number_t count);
extern int hypcnportdeath(dev_t dev, mach_port_t port);
#endif /* XEN_CONSOLE_H */