25 #include <linux/module.h>
28 #include <linux/string.h>
44 static unsigned char q[
sizeof(
unsigned long) * 2]
78 for (rest = cnt; rest > 0; rest -= nlen) {
79 nlen = (rest > 16) ? 16 : rest;
87 static const struct hv_ops hvc_beat_get_put_ops = {
88 .get_chars = hvc_beat_get_chars,
89 .put_chars = hvc_beat_put_chars,
92 static int hvc_beat_useit = 1;
94 static int hvc_beat_config(
char *
p)
100 static int __init hvc_beat_console_init(
void)
109 static int __init hvc_beat_init(
void)
113 if (!firmware_has_feature(FW_FEATURE_BEAT))
116 hp =
hvc_alloc(0, 0, &hvc_beat_get_put_ops, 16);
123 static void __exit hvc_beat_exit(
void)
132 __setup(
"hvc_beat=", hvc_beat_config);