mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Refactor kernel calltrace.h header.
This commit is contained in:
parent
1bc470624f
commit
dbe8dafaac
4 changed files with 8 additions and 7 deletions
|
@ -23,7 +23,7 @@
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
|
|
||||||
#include <sortix/kernel/platform.h>
|
#include <sortix/kernel/platform.h>
|
||||||
#include "calltrace.h"
|
#include <sortix/kernel/calltrace.h>
|
||||||
|
|
||||||
namespace Sortix {
|
namespace Sortix {
|
||||||
namespace Calltrace {
|
namespace Calltrace {
|
||||||
|
|
|
@ -17,13 +17,13 @@
|
||||||
You should have received a copy of the GNU General Public License along with
|
You should have received a copy of the GNU General Public License along with
|
||||||
Sortix. If not, see <http://www.gnu.org/licenses/>.
|
Sortix. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
calltrace.h
|
sortix/kernel/calltrace.h
|
||||||
Traverses the stack and prints the callstack, which aids debugging.
|
Traverses the stack and prints the callstack, which aids debugging.
|
||||||
|
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
|
|
||||||
#ifndef SORTIX_CALLTRACE_H
|
#ifndef INCLUDE_SORTIX_KERNEL_CALLTRACE_H
|
||||||
#define SORTIX_CALLTRACE_H
|
#define INCLUDE_SORTIX_KERNEL_CALLTRACE_H
|
||||||
|
|
||||||
namespace Sortix {
|
namespace Sortix {
|
||||||
namespace Calltrace {
|
namespace Calltrace {
|
|
@ -28,13 +28,13 @@
|
||||||
#include <sortix/kernel/scheduler.h>
|
#include <sortix/kernel/scheduler.h>
|
||||||
#include <sortix/kernel/signal.h>
|
#include <sortix/kernel/signal.h>
|
||||||
#include <sortix/kernel/process.h>
|
#include <sortix/kernel/process.h>
|
||||||
|
#include <sortix/kernel/calltrace.h>
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "x86-family/idt.h"
|
#include "x86-family/idt.h"
|
||||||
#include "calltrace.h"
|
|
||||||
|
|
||||||
#include "sound.h" // Hack for SIGSEGV
|
#include "sound.h" // Hack for SIGSEGV
|
||||||
|
|
||||||
|
|
|
@ -22,12 +22,13 @@
|
||||||
|
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
|
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
#include <sortix/kernel/platform.h>
|
#include <sortix/kernel/platform.h>
|
||||||
#include <sortix/kernel/interrupt.h>
|
#include <sortix/kernel/interrupt.h>
|
||||||
#include <string.h>
|
|
||||||
#include <sortix/kernel/log.h>
|
#include <sortix/kernel/log.h>
|
||||||
#include "calltrace.h"
|
|
||||||
#include <sortix/kernel/panic.h>
|
#include <sortix/kernel/panic.h>
|
||||||
|
#include <sortix/kernel/calltrace.h>
|
||||||
|
|
||||||
namespace Sortix
|
namespace Sortix
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue