Update kernel/{x64,x86}/thread.cpp to current coding conventions.
This commit is contained in:
parent
ccb0f368a3
commit
fcb8ae3af3
|
@ -22,11 +22,14 @@
|
|||
|
||||
*******************************************************************************/
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include <sortix/kernel/kernel.h>
|
||||
#include <sortix/kernel/thread.h>
|
||||
|
||||
namespace Sortix
|
||||
{
|
||||
namespace Sortix {
|
||||
|
||||
void Thread::SaveRegisters(const CPU::InterruptRegisters* src)
|
||||
{
|
||||
registers.rip = src->rip;
|
||||
|
@ -152,4 +155,5 @@ namespace Sortix
|
|||
regs->kerrno = 0;
|
||||
regs->signal_pending = 0;
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace Sortix
|
||||
|
|
|
@ -22,11 +22,14 @@
|
|||
|
||||
*******************************************************************************/
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include <sortix/kernel/kernel.h>
|
||||
#include <sortix/kernel/thread.h>
|
||||
|
||||
namespace Sortix
|
||||
{
|
||||
namespace Sortix {
|
||||
|
||||
void Thread::SaveRegisters(const CPU::InterruptRegisters* src)
|
||||
{
|
||||
registers.eip = src->eip;
|
||||
|
@ -138,4 +141,5 @@ namespace Sortix
|
|||
regs->kerrno = 0;
|
||||
regs->signal_pending = 0;
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace Sortix
|
||||
|
|
Loading…
Reference in New Issue