diff options
| author | Tobias Klauser <tklauser@distanz.ch> | 2020-06-26 15:40:13 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-06-26 16:41:30 +0200 |
| commit | 30c61a8438128ba9e97bb74e74c012e609638cff (patch) | |
| tree | 5c3ca78b92a48b689c130c95e873869ddd9e5ae1 /vm/vmimpl/console_linux_riscv64.go | |
| parent | 6050b932e6c9ab858691283e323030ed6b0d95b9 (diff) | |
vm/vmimpl: add support for linux/riscv64
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'vm/vmimpl/console_linux_riscv64.go')
| -rw-r--r-- | vm/vmimpl/console_linux_riscv64.go | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/vm/vmimpl/console_linux_riscv64.go b/vm/vmimpl/console_linux_riscv64.go new file mode 100644 index 000000000..37d321fa5 --- /dev/null +++ b/vm/vmimpl/console_linux_riscv64.go @@ -0,0 +1,15 @@ +// Copyright 2020 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" +) + +const ( + unixCBAUD = unix.CBAUD + unixCRTSCTS = unix.CRTSCTS + syscallTCGETS = unix.TCGETS2 + syscallTCSETS = unix.TCSETS2 +) |
