Fixed warning in the real time stuff. Added empty user debugger functions

to keep things building.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11554 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2005-03-03 06:04:59 +00:00
parent 1f6dcd134f
commit 0cbd4edc72
3 changed files with 81 additions and 3 deletions

View File

@ -16,6 +16,7 @@ KernelStaticLibrary libppc :
arch_system_info.c
arch_thread.c
arch_timer.c
arch_user_debugger.cpp
arch_vm.cpp
arch_vm_translation_map.cpp
arch_asm.S

View File

@ -1,7 +1,5 @@
/*
* Copyright 2005, Axel Dörfler, axeld@pinc-software.de
* Copyright 2003, Jeff Ward, jeff@r2d2.stcloudstate.edu. All rights reserved.
*
* Distributed under the terms of the MIT License.
*/
@ -13,6 +11,7 @@
status_t
arch_rtc_init(kernel_args *args, struct real_time_data *data)
{
return B_OK;
}
@ -26,4 +25,5 @@ arch_rtc_get_hw_time(void)
void
arch_rtc_set_hw_time(uint32 seconds)
{
}
}

View File

@ -0,0 +1,77 @@
/*
* Copyright 2005, Axel Dörfler, axeld@pinc-softare.de
* Distributed under the terms of the MIT License.
*/
#include <debugger.h>
#include <int.h>
#include <thread.h>
#include <arch/user_debugger.h>
void
arch_clear_team_debug_info(struct arch_team_debug_info *info)
{
}
void
arch_destroy_team_debug_info(struct arch_team_debug_info *info)
{
arch_clear_team_debug_info(info);
}
void
arch_clear_thread_debug_info(struct arch_thread_debug_info *info)
{
}
void
arch_destroy_thread_debug_info(struct arch_thread_debug_info *info)
{
arch_clear_thread_debug_info(info);
}
void
arch_set_debug_cpu_state(const struct debug_cpu_state *cpuState)
{
}
void
arch_get_debug_cpu_state(struct debug_cpu_state *cpuState)
{
}
status_t
arch_set_breakpoint(void *address)
{
return B_ERROR;
}
status_t
arch_clear_breakpoint(void *address)
{
return B_ERROR;
}
status_t
arch_set_watchpoint(void *address, uint32 type, int32 length)
{
return B_ERROR;
}
status_t
arch_clear_watchpoint(void *address)
{
return B_ERROR;
}