user application performs a division by zero or causes a general protection fault. For some exceptions (e.g. machine check) I wasn't quite sure whether they can be caused by user apps at all, so we panic() in those cases. Wouldn't harm, if someone more knowledgable would check this, though. * Removed the unused fault handling stuff, respectively moved the little that was used into x86/arch_int.c. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13795 a95241bf-73f2-0310-859d-f6bbb57e9c96
69 lines
1.3 KiB
Plaintext
69 lines
1.3 KiB
Plaintext
SubDir OBOS_TOP src system kernel ;
|
|
|
|
local buildSources = ;
|
|
if $(OS) != BEOS {
|
|
SEARCH_SOURCE += [ FDirName $(OBOS_TOP) src build ] ;
|
|
buildSources = cpp_support.cpp ;
|
|
}
|
|
|
|
{
|
|
local defines =
|
|
OBOS_ARCH=\\\"$(OBOS_ARCH)\\\"
|
|
;
|
|
|
|
defines = [ FDefines $(defines) ] ;
|
|
SubDirCcFlags $(defines) ;
|
|
SubDirC++Flags $(defines) ;
|
|
}
|
|
|
|
KernelMergeObject kernel_core.o :
|
|
boot_item.cpp
|
|
cpu.c
|
|
elf.c
|
|
heap.c
|
|
image.c
|
|
int.c
|
|
kernel_daemon.c
|
|
linkhack.c
|
|
lock.c
|
|
main.c
|
|
module.c
|
|
port.c
|
|
real_time_clock.c
|
|
scheduler.c
|
|
sem.c
|
|
shutdown.c
|
|
signal.c
|
|
system_info.c
|
|
smp.c
|
|
syscalls.c
|
|
sysctl.c
|
|
team.c
|
|
thread.c
|
|
timer.c
|
|
|
|
$(buildSources)
|
|
: -fno-pic
|
|
;
|
|
|
|
# We need to specify the dependency on the generated syscalls files explicitly.
|
|
Includes [ FGristFiles syscalls.c ]
|
|
: <syscalls>syscall_dispatcher.h <syscalls>syscall_table.h ;
|
|
|
|
KernelLd linkhack.so :
|
|
<$(SOURCE_GRIST)>linkhack.o
|
|
:
|
|
:
|
|
-shared -Bdynamic
|
|
;
|
|
|
|
SubInclude OBOS_TOP src system kernel arch ;
|
|
SubInclude OBOS_TOP src system kernel cache ;
|
|
SubInclude OBOS_TOP src system kernel device_manager ;
|
|
SubInclude OBOS_TOP src system kernel debug ;
|
|
SubInclude OBOS_TOP src system kernel disk_device_manager ;
|
|
SubInclude OBOS_TOP src system kernel fs ;
|
|
SubInclude OBOS_TOP src system kernel messaging ;
|
|
SubInclude OBOS_TOP src system kernel util ;
|
|
SubInclude OBOS_TOP src system kernel vm ;
|