From 754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 7 Apr 2024 13:41:34 -0500 Subject: new repository --- devdocs/gcc~13/microblaze-function-attributes.html | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 devdocs/gcc~13/microblaze-function-attributes.html (limited to 'devdocs/gcc~13/microblaze-function-attributes.html') diff --git a/devdocs/gcc~13/microblaze-function-attributes.html b/devdocs/gcc~13/microblaze-function-attributes.html new file mode 100644 index 00000000..ff2158fe --- /dev/null +++ b/devdocs/gcc~13/microblaze-function-attributes.html @@ -0,0 +1,15 @@ +

6.33.17 MicroBlaze Function Attributes

These function attributes are supported on MicroBlaze targets:

+save_volatiles +
+

Use this attribute to indicate that the function is an interrupt handler. All volatile registers (in addition to non-volatile registers) are saved in the function prologue. If the function is a leaf function, only volatiles used by the function are saved. A normal function return is generated instead of a return from interrupt.

+ break_handler +
+

Use this attribute to indicate that the specified function is a break handler. The compiler generates function entry and exit sequences suitable for use in an break handler when this attribute is present. The return from break_handler is done through the rtbd instead of rtsd.

void f () __attribute__ ((break_handler));
+
+ interrupt_handler +
fast_interrupt

These attributes indicate that the specified function is an interrupt handler. Use the fast_interrupt attribute to indicate handlers used in low-latency interrupt mode, and interrupt_handler for interrupts that do not use low-latency handlers. In both cases, GCC emits appropriate prologue code and generates a return from the handler using rtid instead of rtsd.

+

+ © Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.
+ https://gcc.gnu.org/onlinedocs/gcc-13.1.0/gcc/MicroBlaze-Function-Attributes.html +

+
-- cgit v1.2.3