blob: 4193abfb0480fb27bb97e7e525dd767ec3e6ac38 [file] [log] [blame]
Andrew Scull18834872018-10-12 11:48:09 +01001/*
Andrew Walbran692b3252019-03-07 15:51:31 +00002 * Copyright 2018 The Hafnium Authors.
Andrew Scull18834872018-10-12 11:48:09 +01003 *
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 Scull5991ec92018-10-08 14:55:02 +010017#pragma once
18
19#include "hf/addr.h"
20
Andrew Scullfa90e232018-10-19 11:24:28 +010021paddr_t layout_text_begin(void);
22paddr_t layout_text_end(void);
Andrew Scull5991ec92018-10-08 14:55:02 +010023
Andrew Scullfa90e232018-10-19 11:24:28 +010024paddr_t layout_rodata_begin(void);
25paddr_t layout_rodata_end(void);
Andrew Scull5991ec92018-10-08 14:55:02 +010026
Andrew Scullfa90e232018-10-19 11:24:28 +010027paddr_t layout_data_begin(void);
28paddr_t layout_data_end(void);
Andrew Scull5991ec92018-10-08 14:55:02 +010029
Andrew Scullb401ba32018-11-09 10:30:54 +000030paddr_t layout_initrd_begin(void);
31paddr_t layout_initrd_end(void);
32
33paddr_t layout_fdt_begin(void);
34paddr_t layout_fdt_end(void);
35
Andrew Scull0e6bf1a2019-04-10 15:02:54 +010036paddr_t layout_image_end(void);
Andrew Scull5991ec92018-10-08 14:55:02 +010037
Andrew Scullfa90e232018-10-19 11:24:28 +010038paddr_t layout_primary_begin(void);