]> Chaos Git - corbenik/ctrulib.git/commitdiff
Update svc(Un)bindInterrupt's prototype and documentation
authorTuxSH <tuxsh@sfr.fr>
Thu, 22 Dec 2016 22:38:04 +0000 (23:38 +0100)
committerTuxSH <tuxsh@sfr.fr>
Fri, 23 Dec 2016 13:58:02 +0000 (14:58 +0100)
libctru/include/3ds/svc.h

index bf1d708f772d740cac19f40f9f21f872cc79983c..c3130b0db1b26fbc0b5a5f347dcf5737f80c6e39 100644 (file)
@@ -878,20 +878,20 @@ Result svcAcceptSession(Handle* session, Handle port);
 Result svcReplyAndReceive(s32* index, Handle* handles, s32 handleCount, Handle replyTarget);
 
 /**
- * @brief Binds an event handle to an ARM11 interrupt.
+ * @brief Binds an event or semaphore handle to an ARM11 interrupt.
  * @param interruptId Interrupt identfier (see https://www.3dbrew.org/wiki/ARM11_Interrupts).
- * @param event Event handle to bind to the given interrupt.
+ * @param eventOrSemaphore Event or semaphore handle to bind to the given interrupt.
  * @param priority Priority of the interrupt for the current process.
- * @param isManualClear Indicates whether the interrupt has to be manually cleared or not.
+ * @param isManualClear Indicates whether the interrupt has to be manually cleared or not (= level-high active).
  */
-Result svcBindInterrupt(u32 interruptId, Handle event, s32 priority, bool isManualClear);
+Result svcBindInterrupt(u32 interruptId, Handle eventOrSemaphore, s32 priority, bool isManualClear);
 
 /**
- * @brief Unbinds an event handle from an ARM11 interrupt.
+ * @brief Unbinds an event or semaphore handle from an ARM11 interrupt.
  * @param interruptId Interrupt identfier, see (see https://www.3dbrew.org/wiki/ARM11_Interrupts).
- * @param event Event handle to unbind from the given interrupt.
+ * @param eventOrSemaphore Event or semaphore handle to unbind from the given interrupt.
  */
-Result svcUnbindInterrupt(u32 interruptId, Handle event);
+Result svcUnbindInterrupt(u32 interruptId, Handle eventOrSemaphore);
 ///@}
 
 ///@name Time