Consolidate boot and architecture support code into a single assembly file
This commit is contained in:
@@ -215,6 +215,22 @@ _ArTrapEntry:
|
||||
.endr
|
||||
.endr
|
||||
|
||||
/**
|
||||
* Enables eXtended Physical Addressing (XPA). On i386, this is just a stub.
|
||||
*
|
||||
* @param PageMap
|
||||
* Supplies a pointer to the page map to be used.
|
||||
*
|
||||
* @return This routine does not return any value.
|
||||
*
|
||||
* @since XT 1.0
|
||||
*/
|
||||
.global ArEnableExtendedPhysicalAddressing
|
||||
ArEnableExtendedPhysicalAddressing:
|
||||
|
||||
.global ArEnableExtendedPhysicalAddressingEnd
|
||||
ArEnableExtendedPhysicalAddressingEnd:
|
||||
|
||||
/**
|
||||
* Handles a spurious interrupt allowing it to end up.
|
||||
*
|
||||
@@ -225,3 +241,16 @@ _ArTrapEntry:
|
||||
.global _ArHandleSpuriousInterrupt
|
||||
_ArHandleSpuriousInterrupt:
|
||||
iret
|
||||
|
||||
/**
|
||||
* Starts an application processor (AP). This is just a stub.
|
||||
*
|
||||
* @return This routine does not return any value.
|
||||
*
|
||||
* @since XT 1.0
|
||||
*/
|
||||
.global _ArStartApplicationProcessor
|
||||
_ArStartApplicationProcessor:
|
||||
|
||||
.global _ArStartApplicationProcessorEnd
|
||||
_ArStartApplicationProcessorEnd:
|
||||
|
||||
@@ -1,26 +0,0 @@
|
||||
/**
|
||||
* PROJECT: ExectOS
|
||||
* COPYRIGHT: See COPYING.md in the top level directory
|
||||
* FILE: xtoskrnl/ar/i686/boot.S
|
||||
* DESCRIPTION: i686-specific boot code for setting up the low-level CPU environment
|
||||
* DEVELOPERS: Aiken Harris <harraiken91@gmail.com>
|
||||
*/
|
||||
|
||||
#include <xtkmapi.h>
|
||||
|
||||
.altmacro
|
||||
.text
|
||||
|
||||
|
||||
/**
|
||||
* Starts an application processor (AP). This is just a stub.
|
||||
*
|
||||
* @return This routine does not return any value.
|
||||
*
|
||||
* @since XT 1.0
|
||||
*/
|
||||
.global _ArStartApplicationProcessor
|
||||
_ArStartApplicationProcessor:
|
||||
|
||||
.global _ArStartApplicationProcessorEnd
|
||||
_ArStartApplicationProcessorEnd:
|
||||
Reference in New Issue
Block a user