mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:27:44 +00:00
Kernel/aarch64: Remove static from dump_registers
This allows the function to be called from other translation units, in particular this allows the CrashHandler.cpp file to be shared between aarch64 and x86_64.
This commit is contained in:
parent
5cb37038a3
commit
7ba9bc6338
1 changed files with 2 additions and 1 deletions
|
@ -4,6 +4,7 @@
|
|||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#include <Kernel/Arch/CPU.h>
|
||||
#include <Kernel/Arch/Interrupts.h>
|
||||
#include <Kernel/Arch/PageFault.h>
|
||||
#include <Kernel/Arch/TrapFrame.h>
|
||||
|
@ -17,7 +18,7 @@
|
|||
|
||||
namespace Kernel {
|
||||
|
||||
static void dump_registers(RegisterState const& regs)
|
||||
void dump_registers(RegisterState const& regs)
|
||||
{
|
||||
dbgln(" x0={:p} x1={:p} x2={:p} x3={:p} x4={:p}", regs.x[0], regs.x[1], regs.x[2], regs.x[3], regs.x[4]);
|
||||
dbgln(" x5={:p} x6={:p} x7={:p} x8={:p} x9={:p}", regs.x[5], regs.x[6], regs.x[7], regs.x[8], regs.x[9]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue