From 345f140169dc59bfc73bc522f4877f1683b2558a Mon Sep 17 00:00:00 2001 From: Bin Lu Date: Fri, 20 Sep 2019 14:37:33 +0000 Subject: Optimize kvm/physical_map.go on Arm platform Signed-off-by: Bin Lu --- pkg/sentry/platform/kvm/physical_map_arm64.go | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 pkg/sentry/platform/kvm/physical_map_arm64.go (limited to 'pkg/sentry/platform/kvm/physical_map_arm64.go') diff --git a/pkg/sentry/platform/kvm/physical_map_arm64.go b/pkg/sentry/platform/kvm/physical_map_arm64.go new file mode 100644 index 000000000..4d8561453 --- /dev/null +++ b/pkg/sentry/platform/kvm/physical_map_arm64.go @@ -0,0 +1,19 @@ +// Copyright 2019 The gVisor Authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package kvm + +const ( + reservedMemory = 0 +) -- cgit v1.2.3