It's now B_MAX_CPU_COUNT rather than SMP_MAX_CPUS.

Removed unused headers.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7608 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2004-05-18 09:42:13 +00:00
parent 814291ded8
commit adbaa7817e
2 changed files with 4 additions and 8 deletions
+2 -3
View File
@@ -6,8 +6,7 @@
#define _KERNEL_DEBUG_H #define _KERNEL_DEBUG_H
#include <kernel.h> #include <OS.h>
#include <arch/smp.h>
struct kernel_args; struct kernel_args;
@@ -19,7 +18,7 @@ struct kernel_args;
# define ASSERT(x) # define ASSERT(x)
#endif #endif
extern int dbg_register_file[SMP_MAX_CPUS][14]; extern int dbg_register_file[B_MAX_CPU_COUNT][14];
/* XXXmpetit -- must be made generic */ /* XXXmpetit -- must be made generic */
#ifdef __cplusplus #ifdef __cplusplus
+2 -5
View File
@@ -10,14 +10,11 @@
** Distributed under the terms of the NewOS License. ** Distributed under the terms of the NewOS License.
*/ */
#include <kernel.h>
#include <debug.h> #include <debug.h>
#include <arch/int.h> #include <arch/int.h>
#include <smp.h> #include <smp.h>
#include <console.h> #include <console.h>
#include <memheap.h>
#include <gdb.h> #include <gdb.h>
#include <Errors.h>
#include <int.h> #include <int.h>
#include <vm.h> #include <vm.h>
@@ -27,7 +24,7 @@
#include <stdarg.h> #include <stdarg.h>
#include <stdio.h> #include <stdio.h>
#include <malloc.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <ctype.h> #include <ctype.h>
@@ -39,7 +36,7 @@ typedef struct debugger_command {
const char *description; const char *description;
} debugger_command; } debugger_command;
int dbg_register_file[SMP_MAX_CPUS][14]; int dbg_register_file[B_MAX_CPU_COUNT][14];
/* XXXmpetit -- must be made generic */ /* XXXmpetit -- must be made generic */
static bool sSerialDebugEnabled = false; static bool sSerialDebugEnabled = false;