1 /*
2  * This file is part of RGBDS.
3  *
4  * Copyright (c) 1997-2019, Carsten Sorensen and RGBDS contributors.
5  *
6  * SPDX-License-Identifier: MIT
7  */
8 
9 /* Assigning all sections a place */
10 #ifndef RGBDS_LINK_ASSIGN_H
11 #define RGBDS_LINK_ASSIGN_H
12 
13 #include <stdint.h>
14 
15 extern uint64_t nbSectionsToAssign;
16 
17 /**
18  * Assigns all sections a slice of the address space
19  */
20 void assign_AssignSections(void);
21 
22 /**
23  * `free`s all assignment memory that was allocated.
24  */
25 void assign_Cleanup(void);
26 
27 #endif /* RGBDS_LINK_ASSIGN_H */
28