Files
.github
.vscode
arch
core
exec
files
include
include_std
kshell
commands
cat.cpp
cd.cpp
clear.cpp
dump.cpp
echo.cpp
exit.cpp
kill.cpp
killall.cpp
ls.cpp
lsacpi.cpp
lsmod.cpp
lsof.cpp
lspci.cpp
mem.cpp
modinfo.cpp
panic.cpp
ps.cpp
reboot.cpp
shutdown.cpp
top.cpp
tree.cpp
uname.cpp
uptime.cpp
whoami.cpp
cmds.hpp
shell.cpp
library
network
profiling
storage
syscalls
tasking
tests
virtualization
.gdbinit
.gitignore
CREDITS.md
Doxyfile
ISSUES.md
LICENSE.md
LICENSES.md
Makefile
README.md
TODO.md
driver.h
dump.sh
kernel.cpp
kernel.h
kernel_config.cpp
kernel_thread.cpp
kernel_vfs.cpp
syscalls.h
Kernel/kshell/commands/panic.cpp
2024-02-28 04:08:44 +02:00

31 lines
841 B
C++

/*
This file is part of Fennix Kernel.
Fennix Kernel is free software: you can redistribute it and/or
modify it under the terms of the GNU General Public License as
published by the Free Software Foundation, either version 3 of
the License, or (at your option) any later version.
Fennix Kernel is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Fennix Kernel. If not, see <https://www.gnu.org/licenses/>.
*/
#include "../cmds.hpp"
#include <filesystem.hpp>
#include "../../kernel.h"
using namespace vfs;
nsa void cmd_panic(const char *)
{
asmv("int $0x0");
__unreachable;
}