aboutsummaryrefslogtreecommitdiffstats
path: root/vm/vmimpl/console_linux_arm.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2017-08-18 19:24:26 +0200
committerDmitry Vyukov <dvyukov@google.com>2017-08-18 19:24:26 +0200
commit13fd8fda083fd4415c238851c8e3a520b1c78c2c (patch)
tree20137f320e184ab2a01feccc4e32f6e8a9663c66 /vm/vmimpl/console_linux_arm.go
parent4802b0fb7440d76d78efc586b87ff6eea46b6b00 (diff)
vm/vmimpl: support linux/arm
Update #324
Diffstat (limited to 'vm/vmimpl/console_linux_arm.go')
-rw-r--r--vm/vmimpl/console_linux_arm.go16
1 files changed, 16 insertions, 0 deletions
diff --git a/vm/vmimpl/console_linux_arm.go b/vm/vmimpl/console_linux_arm.go
new file mode 100644
index 000000000..f10edf002
--- /dev/null
+++ b/vm/vmimpl/console_linux_arm.go
@@ -0,0 +1,16 @@
+// Copyright 2017 syzkaller project authors. All rights reserved.
+// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
+
+package vmimpl
+
+import (
+ "golang.org/x/sys/unix"
+)
+
+// This compiles, but wan't tested.
+const (
+ unix_CBAUD = unix.CBAUD
+ unix_CRTSCTS = unix.CRTSCTS
+ syscall_TCGETS = unix.TCGETS2
+ syscall_TCSETS = unix.TCSETS2
+)