blob: 4c40223f551a3de7a44b49305949bc9408beb339 [file] [log] [blame]
Andrew Scull18834872018-10-12 11:48:09 +01001/*
2 * Copyright 2018 Google LLC
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 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 Scullfa90e232018-10-19 11:24:28 +010030paddr_t layout_bin_end(void);
Andrew Scull5991ec92018-10-08 14:55:02 +010031
Andrew Scullfa90e232018-10-19 11:24:28 +010032paddr_t layout_primary_begin(void);