Refactor kernel calltrace.h header.
This commit is contained in:
parent
1bc470624f
commit
dbe8dafaac
|
@ -23,7 +23,7 @@
|
|||
*******************************************************************************/
|
||||
|
||||
#include <sortix/kernel/platform.h>
|
||||
#include "calltrace.h"
|
||||
#include <sortix/kernel/calltrace.h>
|
||||
|
||||
namespace Sortix {
|
||||
namespace Calltrace {
|
||||
|
|
|
@ -17,13 +17,13 @@
|
|||
You should have received a copy of the GNU General Public License along with
|
||||
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.
|
||||
|
||||
*******************************************************************************/
|
||||
|
||||
#ifndef SORTIX_CALLTRACE_H
|
||||
#define SORTIX_CALLTRACE_H
|
||||
#ifndef INCLUDE_SORTIX_KERNEL_CALLTRACE_H
|
||||
#define INCLUDE_SORTIX_KERNEL_CALLTRACE_H
|
||||
|
||||
namespace Sortix {
|
||||
namespace Calltrace {
|
|
@ -28,13 +28,13 @@
|
|||
#include <sortix/kernel/scheduler.h>
|
||||
#include <sortix/kernel/signal.h>
|
||||
#include <sortix/kernel/process.h>
|
||||
#include <sortix/kernel/calltrace.h>
|
||||
|
||||
#include <assert.h>
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "x86-family/idt.h"
|
||||
#include "calltrace.h"
|
||||
|
||||
#include "sound.h" // Hack for SIGSEGV
|
||||
|
||||
|
|
|
@ -22,12 +22,13 @@
|
|||
|
||||
*******************************************************************************/
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include <sortix/kernel/platform.h>
|
||||
#include <sortix/kernel/interrupt.h>
|
||||
#include <string.h>
|
||||
#include <sortix/kernel/log.h>
|
||||
#include "calltrace.h"
|
||||
#include <sortix/kernel/panic.h>
|
||||
#include <sortix/kernel/calltrace.h>
|
||||
|
||||
namespace Sortix
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue