20 #include "pedigree/kernel/process/SignalEvent.h" 21 #include "pedigree/kernel/process/Event.h" 22 #include "pedigree/kernel/processor/types.h" 24 SignalEvent::SignalEvent(
25 uintptr_t handlerAddress,
size_t signalNum,
size_t specificNestingLevel)
26 :
Event(handlerAddress, false, specificNestingLevel),
27 m_SignalNumber(signalNum)
34 pBuffer[0] =
static_cast<uint8_t
>(m_SignalNumber & 0xFF);
38 bool SignalEvent::unserialize(uint8_t *pBuffer,
Event &event)
40 pBuffer[0] =
static_cast<uint8_t
>(
event.getNumber() & 0xFF);
virtual size_t serialize(uint8_t *pBuffer)