hyperlight_common/arch/aarch64/layout.rs
1/*
2Copyright 2025 The Hyperlight Authors.
3
4Licensed under the Apache License, Version 2.0 (the "License");
5you may not use this file except in compliance with the License.
6You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10Unless required by applicable law or agreed to in writing, software
11distributed under the License is distributed on an "AS IS" BASIS,
12WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13See the License for the specific language governing permissions and
14limitations under the License.
15 */
16
17// TODO(aarch64): change these, they are only provided in order to compile
18pub const MAX_GVA: usize = 0xffff_ffff_ffff_efff;
19pub const SNAPSHOT_PT_GVA_MIN: usize = 0xffff_8000_0000_0000;
20pub const SNAPSHOT_PT_GVA_MAX: usize = 0xffff_80ff_ffff_ffff;
21pub const MAX_GPA: usize = 0x0000_000f_ffff_ffff;
22
23pub fn min_scratch_size(_input_data_size: usize, _output_data_size: usize) -> usize {
24 unimplemented!("min_scratch_size")
25}