Andrew Scull | 1883487 | 2018-10-12 11:48:09 +0100 | [diff] [blame] | 1 | /* |
Andrew Walbran | 692b325 | 2019-03-07 15:51:31 +0000 | [diff] [blame^] | 2 | * Copyright 2018 The Hafnium Authors. |
Andrew Scull | 1883487 | 2018-10-12 11:48:09 +0100 | [diff] [blame] | 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | * you may not use this file except in compliance with the License. |
| 6 | * You may obtain a copy of the License at |
| 7 | * |
| 8 | * https://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * |
| 10 | * Unless required by applicable law or agreed to in writing, software |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. |
| 15 | */ |
| 16 | |
Andrew Scull | 5991ec9 | 2018-10-08 14:55:02 +0100 | [diff] [blame] | 17 | #pragma once |
| 18 | |
| 19 | #include "hf/addr.h" |
| 20 | |
Andrew Scull | fa90e23 | 2018-10-19 11:24:28 +0100 | [diff] [blame] | 21 | paddr_t layout_text_begin(void); |
| 22 | paddr_t layout_text_end(void); |
Andrew Scull | 5991ec9 | 2018-10-08 14:55:02 +0100 | [diff] [blame] | 23 | |
Andrew Scull | fa90e23 | 2018-10-19 11:24:28 +0100 | [diff] [blame] | 24 | paddr_t layout_rodata_begin(void); |
| 25 | paddr_t layout_rodata_end(void); |
Andrew Scull | 5991ec9 | 2018-10-08 14:55:02 +0100 | [diff] [blame] | 26 | |
Andrew Scull | fa90e23 | 2018-10-19 11:24:28 +0100 | [diff] [blame] | 27 | paddr_t layout_data_begin(void); |
| 28 | paddr_t layout_data_end(void); |
Andrew Scull | 5991ec9 | 2018-10-08 14:55:02 +0100 | [diff] [blame] | 29 | |
Andrew Scull | b401ba3 | 2018-11-09 10:30:54 +0000 | [diff] [blame] | 30 | paddr_t layout_initrd_begin(void); |
| 31 | paddr_t layout_initrd_end(void); |
| 32 | |
| 33 | paddr_t layout_fdt_begin(void); |
| 34 | paddr_t layout_fdt_end(void); |
| 35 | |
Andrew Scull | fa90e23 | 2018-10-19 11:24:28 +0100 | [diff] [blame] | 36 | paddr_t layout_bin_end(void); |
Andrew Scull | 5991ec9 | 2018-10-08 14:55:02 +0100 | [diff] [blame] | 37 | |
Andrew Scull | fa90e23 | 2018-10-19 11:24:28 +0100 | [diff] [blame] | 38 | paddr_t layout_primary_begin(void); |