Update kernel/{x64,x86}/thread.cpp to current coding conventions.

This commit is contained in:
Jonas 'Sortie' Termansen 2014-01-04 01:59:28 +01:00
parent ccb0f368a3
commit fcb8ae3af3
2 changed files with 246 additions and 238 deletions

View File

@ -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

View File

@ -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