From 4b9c0527dac016d96d38a44ef5d6f5ee0f6c999c Mon Sep 17 00:00:00 2001 From: NicJA Date: Sun, 20 Dec 2009 00:11:03 +0000 Subject: [PATCH] Add stubs for shutdown/coldreboot, and definitions for core_APIC calls git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@32117 fb15a70f-31f2-0310-bbcc-cdcc74a49acc --- arch/x86_64-pc/exec/exec_init.c | 3 +++ arch/x86_64-pc/exec/mmakefile.src | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/arch/x86_64-pc/exec/exec_init.c b/arch/x86_64-pc/exec/exec_init.c index d152316ec2..c7c2bc2e45 100644 --- a/arch/x86_64-pc/exec/exec_init.c +++ b/arch/x86_64-pc/exec/exec_init.c @@ -92,6 +92,9 @@ const struct __text Resident Exec_resident = exec_main /* Library initializer (for exec this value is irrelevant since we've jumped there at the begining to bring the system up */ }; +extern UBYTE core_APICGetTotal(); +extern UBYTE core_APICGetNumber(); + /** Screen/Serial Debug **/ diff --git a/arch/x86_64-pc/exec/mmakefile.src b/arch/x86_64-pc/exec/mmakefile.src index 9f13832cd7..e344146de5 100644 --- a/arch/x86_64-pc/exec/mmakefile.src +++ b/arch/x86_64-pc/exec/mmakefile.src @@ -4,13 +4,13 @@ include $(TOP)/config/make.cfg CFILES := \ exec_init cause copymem disable enable preparecontext rawputchar serialrawio screen \ initcode alert dispatch permit newaddtask remtask reschedule setexcept settaskpri \ - findresident signal wait prepareexecbase #rawdofmt + findresident shutdowna signal wait prepareexecbase #rawdofmt # RawDoFmt() is left out since currently generic RawDoFmt should be 64bit-friendly. Due to # recent VNewRawDoFmt() introduction and code reorganization this x86/64-specific version # would not build any more. The code is left for reference in case of problems. # Pavel Fedin -AFILES := stackswap +AFILES := coldreboot stackswap #MM kernel-exec : kernel-exec-pc-x86_64 #MM kernel-exec-pc-x86_64 : kernel-kernel-pc-x86_64-includes kernel-exec-includes includes-asm_h-x86_64 -- 2.11.4.GIT