aboutsummaryrefslogtreecommitdiffstats
path: root/vm/vmimpl/console_linux_386.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2017-08-19 18:43:50 +0200
committerDmitry Vyukov <dvyukov@google.com>2017-08-19 19:17:27 +0200
commitf238fbd42d592056c2fd8434c7625945b00b2059 (patch)
treedaa5edf9d0e3f5aad8a47d817f450dfbc0401eba /vm/vmimpl/console_linux_386.go
parent6aad5879f798f115f13dcf1e9591971255b236f5 (diff)
all: support i386 arch
Update #191
Diffstat (limited to 'vm/vmimpl/console_linux_386.go')
-rw-r--r--vm/vmimpl/console_linux_386.go16
1 files changed, 16 insertions, 0 deletions
diff --git a/vm/vmimpl/console_linux_386.go b/vm/vmimpl/console_linux_386.go
new file mode 100644
index 000000000..2f7cad8e6
--- /dev/null
+++ b/vm/vmimpl/console_linux_386.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"
+)
+
+// Builds but is not tested.
+const (
+ unix_CBAUD = unix.CBAUD
+ unix_CRTSCTS = unix.CRTSCTS
+ syscall_TCGETS = unix.TCGETS2
+ syscall_TCSETS = unix.TCSETS2
+)