Adding missing always_inline to _MultiBoot (from gba-hpp), updating docs

This commit is contained in:
Rodrigo Alfonso
2024-08-27 09:00:39 -03:00
parent 31136a8fbf
commit c78ba46b85
4 changed files with 6 additions and 4 deletions

1
.gitignore vendored
View File

@@ -13,3 +13,4 @@ examples/multiboot
*.sa2
*.sa3
*.sa4
*.zip

View File

@@ -693,7 +693,7 @@ inline void LINK_UNIVERSAL_ISR_SERIAL() {
}
/**
* @brief TIMER interrupt handler used for sending.
* @brief TIMER interrupt handler.
*/
inline void LINK_UNIVERSAL_ISR_TIMER() {
linkUniversal->_onTimer();

View File

@@ -1938,7 +1938,7 @@ inline void LINK_WIRELESS_ISR_SERIAL() {
}
/**
* @brief TIMER interrupt handler used for sending.
* @brief TIMER interrupt handler.
*/
inline void LINK_WIRELESS_ISR_TIMER() {
linkWireless->_onTimer();

View File

@@ -127,8 +127,9 @@ static inline __attribute__((always_inline)) void _IntrWait(
: "+r"(r0), "+r"(r1)::"r3");
}
static inline auto _MultiBoot(const _MultiBootParam* param,
u32 mbmode) noexcept {
static inline __attribute__((always_inline)) auto _MultiBoot(
const _MultiBootParam* param,
u32 mbmode) noexcept {
register union {
const _MultiBootParam* ptr;
int res;