TianoCore EDK2 master
Loading...
Searching...
No Matches
RiscVImpl.h File Reference

Go to the source code of this file.

Macros

#define _ASM_FUNC(Name, Section)
 
#define ASM_FUNC(Name)   _ASM_FUNC(ASM_PFX(Name), .text. ## Name)
 

Detailed Description

RISC-V package definitions.

Copyright (c) 2016 - 2022, Hewlett Packard Enterprise Development LP. All rights reserved.

SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file RiscVImpl.h.

Macro Definition Documentation

◆ _ASM_FUNC

#define _ASM_FUNC (   Name,
  Section 
)
Value:
.global Name ; \
.section #Section, "ax" ; \
.type Name, %function ; \
.p2align 2 ; \
Name:

Definition at line 15 of file RiscVImpl.h.

◆ ASM_FUNC

#define ASM_FUNC (   Name)    _ASM_FUNC(ASM_PFX(Name), .text. ## Name)

Definition at line 22 of file RiscVImpl.h.