diff options
| author | Matteo Gmür <matteo.gmuer1@ost.ch> | 2025-04-27 09:32:59 +0000 |
|---|---|---|
| committer | Matteo Gmür <matteo.gmuer1@ost.ch> | 2025-04-27 09:32:59 +0000 |
| commit | 5f149faeb9d41bb56733075b0e56908b3731d38d (patch) | |
| tree | 92e58f90cfefed50b25026cc8887d74f7245811a /arch/x86_64/include | |
| parent | 0986058bb9ca5b4afd7c578c815dc3a4c08808a9 (diff) | |
| download | teachos-5f149faeb9d41bb56733075b0e56908b3731d38d.tar.xz teachos-5f149faeb9d41bb56733075b0e56908b3731d38d.zip | |
Move gnu function attributes to header file
Diffstat (limited to 'arch/x86_64/include')
| -rw-r--r-- | arch/x86_64/include/arch/interrupt_handling/generic_interrupt_handler.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86_64/include/arch/interrupt_handling/generic_interrupt_handler.hpp b/arch/x86_64/include/arch/interrupt_handling/generic_interrupt_handler.hpp index 309acbb..9530a77 100644 --- a/arch/x86_64/include/arch/interrupt_handling/generic_interrupt_handler.hpp +++ b/arch/x86_64/include/arch/interrupt_handling/generic_interrupt_handler.hpp @@ -26,7 +26,7 @@ namespace teachos::arch::interrupt_handling * * @param frame Pointer to the interrupt frame containing CPU state. */ - [[gnu::interrupt]] + [[gnu::interrupt]] [[gnu::section(".interrupt_text")]] auto generic_interrupt_handler(struct interrupt_frame * frame) -> void; /** @@ -34,7 +34,7 @@ namespace teachos::arch::interrupt_handling * * @param frame Pointer to the interrupt frame containing CPU state. */ - [[gnu::interrupt]] + [[gnu::interrupt]] [[gnu::section(".interrupt_text")]] auto syscall_interrupt_handler(struct interrupt_frame * frame) -> void; } // namespace teachos::arch::interrupt_handling |
