]> git.proxmox.com Git - mirror_edk2.git/blame - ArmPkg/Include/AsmMacroExport.inc
ArmPkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / ArmPkg / Include / AsmMacroExport.inc
CommitLineData
dcb2e4bb
EC
1;%HEADER%\r
2;/** @file\r
3; Macros to centralize the EXPORT, AREA, and definition of an assembly\r
4; function. The AREA prefix is required to put the function in its own\r
5; section so that removal of unused functions in the final link is performed.\r
6; This provides equivalent functionality to the compiler's --split-sections\r
7; option.\r
8;\r
9; Copyright (c) 2015 HP Development Company, L.P.\r
10;\r
4059386c 11; SPDX-License-Identifier: BSD-2-Clause-Patent\r
dcb2e4bb
EC
12;\r
13;**/\r
14\r
15\r
16 MACRO\r
17 RVCT_ASM_EXPORT $func\r
18 EXPORT $func\r
19 AREA s_$func, CODE, READONLY\r
20$func\r
21 MEND\r
22\r
23 END\r