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:
parent
814291ded8
commit
adbaa7817e
@ -6,8 +6,7 @@
|
||||
#define _KERNEL_DEBUG_H
|
||||
|
||||
|
||||
#include <kernel.h>
|
||||
#include <arch/smp.h>
|
||||
#include <OS.h>
|
||||
|
||||
struct kernel_args;
|
||||
|
||||
@ -19,7 +18,7 @@ struct kernel_args;
|
||||
# define ASSERT(x)
|
||||
#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 */
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -10,14 +10,11 @@
|
||||
** Distributed under the terms of the NewOS License.
|
||||
*/
|
||||
|
||||
#include <kernel.h>
|
||||
#include <debug.h>
|
||||
#include <arch/int.h>
|
||||
#include <smp.h>
|
||||
#include <console.h>
|
||||
#include <memheap.h>
|
||||
#include <gdb.h>
|
||||
#include <Errors.h>
|
||||
#include <int.h>
|
||||
#include <vm.h>
|
||||
|
||||
@ -27,7 +24,7 @@
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
|
||||
@ -39,7 +36,7 @@ typedef struct debugger_command {
|
||||
const char *description;
|
||||
} debugger_command;
|
||||
|
||||
int dbg_register_file[SMP_MAX_CPUS][14];
|
||||
int dbg_register_file[B_MAX_CPU_COUNT][14];
|
||||
/* XXXmpetit -- must be made generic */
|
||||
|
||||
static bool sSerialDebugEnabled = false;
|
||||
|
Loading…
Reference in New Issue
Block a user