1
0
Fork 0
mirror of https://gitlab.com/sortix/sortix.git synced 2023-02-13 20:55:38 -05:00

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

This commit is contained in:
Jonas 'Sortie' Termansen 2014-01-04 02:01:58 +01:00
parent fcb8ae3af3
commit cacd010066
2 changed files with 34 additions and 34 deletions

View file

@ -26,10 +26,9 @@
#include <sortix/kernel/kernel.h>
#include <sortix/kernel/log.h>
namespace Sortix
{
namespace X64
{
namespace Sortix {
namespace X64 {
void InterruptRegisters::LogRegisters() const
{
Log::PrintF("[cr2=0x%zx,ds=0x%zx,rdi=0x%zx,rsi=0x%zx,rbp=0x%zx,"
@ -45,5 +44,6 @@ namespace Sortix
err_code, rip, cs, rflags,
userrsp, ss);
}
}
}
} // namespace X64
} // namespace Sortix

View file

@ -26,10 +26,9 @@
#include <sortix/kernel/kernel.h>
#include <sortix/kernel/log.h>
namespace Sortix
{
namespace X86
{
namespace Sortix {
namespace X86 {
void InterruptRegisters::LogRegisters() const
{
Log::PrintF("[cr2=0x%zx,ds=0x%zx,edi=0x%zx,esi=0x%zx,ebp=0x%zx,"
@ -41,5 +40,6 @@ namespace Sortix
int_no, err_code, eip, cs,
eflags, useresp, ss);
}
}
}
} // namespace X86
} // namespace Sortix