mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-26 15:14:02 +02:00
Use #include "XXX.h" for module internal header files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6330 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
a0f1b047fa
commit
47fc17d8a9
@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
**/
|
**/
|
||||||
|
|
||||||
#include <BaseLibInternals.h>
|
#include "BaseLibInternals.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Calculate the sum of all elements in a buffer in unit of UINT8.
|
Calculate the sum of all elements in a buffer in unit of UINT8.
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
**/
|
**/
|
||||||
|
|
||||||
#include <BaseLibInternals.h>
|
#include "BaseLibInternals.h"
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
**/
|
**/
|
||||||
|
|
||||||
#include <BaseLibInternals.h>
|
#include "BaseLibInternals.h"
|
||||||
|
|
||||||
extern
|
extern
|
||||||
UINT64
|
UINT64
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
**/
|
**/
|
||||||
|
|
||||||
#include <BaseLibInternals.h>
|
#include "BaseLibInternals.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Saves the current CPU context that can be restored with a call to LongJump() and returns 0.
|
Saves the current CPU context that can be restored with a call to LongJump() and returns 0.
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
**/
|
**/
|
||||||
|
|
||||||
#include <BaseLibInternals.h>
|
#include "BaseLibInternals.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Transfers control to a function starting with a new stack.
|
Transfers control to a function starting with a new stack.
|
||||||
|
@ -1,42 +1,42 @@
|
|||||||
;------------------------------------------------------------------------------
|
;------------------------------------------------------------------------------
|
||||||
;
|
;
|
||||||
; Copyright (c) 2006, Intel Corporation
|
; Copyright (c) 2006, Intel Corporation
|
||||||
; All rights reserved. This program and the accompanying materials
|
; All rights reserved. This program and the accompanying materials
|
||||||
; are licensed and made available under the terms and conditions of the BSD License
|
; are licensed and made available under the terms and conditions of the BSD License
|
||||||
; which accompanies this distribution. The full text of the license may be found at
|
; which accompanies this distribution. The full text of the license may be found at
|
||||||
; http://opensource.org/licenses/bsd-license.php
|
; http://opensource.org/licenses/bsd-license.php
|
||||||
;
|
;
|
||||||
; THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
; THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||||
; WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
; WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
;
|
;
|
||||||
; Module Name:
|
; Module Name:
|
||||||
;
|
;
|
||||||
; CpuIdEx.Asm
|
; CpuIdEx.Asm
|
||||||
;
|
;
|
||||||
; Abstract:
|
; Abstract:
|
||||||
;
|
;
|
||||||
; AsmCpuidEx function
|
; AsmCpuidEx function
|
||||||
;
|
;
|
||||||
; Notes:
|
; Notes:
|
||||||
;
|
;
|
||||||
;------------------------------------------------------------------------------
|
;------------------------------------------------------------------------------
|
||||||
|
|
||||||
.686
|
.686
|
||||||
.model flat,C
|
.model flat,C
|
||||||
.code
|
.code
|
||||||
|
|
||||||
;------------------------------------------------------------------------------
|
;------------------------------------------------------------------------------
|
||||||
; UINT32
|
; UINT32
|
||||||
; EFIAPI
|
; EFIAPI
|
||||||
; AsmCpuidEx (
|
; AsmCpuidEx (
|
||||||
; IN UINT32 RegisterInEax,
|
; IN UINT32 RegisterInEax,
|
||||||
; IN UINT32 RegisterInEcx,
|
; IN UINT32 RegisterInEcx,
|
||||||
; OUT UINT32 *RegisterOutEax OPTIONAL,
|
; OUT UINT32 *RegisterOutEax OPTIONAL,
|
||||||
; OUT UINT32 *RegisterOutEbx OPTIONAL,
|
; OUT UINT32 *RegisterOutEbx OPTIONAL,
|
||||||
; OUT UINT32 *RegisterOutEcx OPTIONAL,
|
; OUT UINT32 *RegisterOutEcx OPTIONAL,
|
||||||
; OUT UINT32 *RegisterOutEdx OPTIONAL
|
; OUT UINT32 *RegisterOutEdx OPTIONAL
|
||||||
; )
|
; )
|
||||||
;------------------------------------------------------------------------------
|
;------------------------------------------------------------------------------
|
||||||
AsmCpuidEx PROC USES ebx
|
AsmCpuidEx PROC USES ebx
|
||||||
push ebp
|
push ebp
|
||||||
mov ebp, esp
|
mov ebp, esp
|
||||||
@ -64,5 +64,5 @@ AsmCpuidEx PROC USES ebx
|
|||||||
leave
|
leave
|
||||||
ret
|
ret
|
||||||
AsmCpuidEx ENDP
|
AsmCpuidEx ENDP
|
||||||
|
|
||||||
END
|
END
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
**/
|
**/
|
||||||
|
|
||||||
#include <BaseLibInternals.h>
|
#include "BaseLibInternals.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Disables the 32-bit paging mode on the CPU.
|
Disables the 32-bit paging mode on the CPU.
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
**/
|
**/
|
||||||
|
|
||||||
#include <BaseLibInternals.h>
|
#include "BaseLibInternals.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Worker function that Divides a 64-bit signed integer by a 64-bit signed integer and
|
Worker function that Divides a 64-bit signed integer by a 64-bit signed integer and
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
**/
|
**/
|
||||||
|
|
||||||
#include <BaseLibInternals.h>
|
#include "BaseLibInternals.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Enables the 32-bit paging mode on the CPU.
|
Enables the 32-bit paging mode on the CPU.
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
**/
|
**/
|
||||||
|
|
||||||
|
|
||||||
#include <BaseLibInternals.h>
|
#include "BaseLibInternals.h"
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
**/
|
**/
|
||||||
|
|
||||||
|
|
||||||
#include <BaseLibInternals.h>
|
#include "BaseLibInternals.h"
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
**/
|
**/
|
||||||
|
|
||||||
#include <BaseLibInternals.h>
|
#include "BaseLibInternals.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Transfers control to a function starting with a new stack.
|
Transfers control to a function starting with a new stack.
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
**/
|
**/
|
||||||
|
|
||||||
|
|
||||||
#include <BaseLibInternals.h>
|
#include "BaseLibInternals.h"
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
**/
|
**/
|
||||||
|
|
||||||
|
|
||||||
#include <BaseLibInternals.h>
|
#include "BaseLibInternals.h"
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
**/
|
**/
|
||||||
|
|
||||||
|
|
||||||
#include <BaseLibInternals.h>
|
#include "BaseLibInternals.h"
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
**/
|
**/
|
||||||
|
|
||||||
|
|
||||||
#include <BaseLibInternals.h>
|
#include "BaseLibInternals.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Worker function that checks ASSERT condition for JumpBuffer
|
Worker function that checks ASSERT condition for JumpBuffer
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
#include <BaseLibInternals.h>
|
#include "BaseLibInternals.h"
|
||||||
|
|
||||||
;------------------------------------------------------------------------------
|
;------------------------------------------------------------------------------
|
||||||
;
|
;
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
**/
|
**/
|
||||||
|
|
||||||
|
|
||||||
#include <BaseLibInternals.h>
|
#include "BaseLibInternals.h"
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
**/
|
**/
|
||||||
|
|
||||||
|
|
||||||
#include <BaseLibInternals.h>
|
#include "BaseLibInternals.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Writes the current Interrupt Descriptor Table Register(GDTR) descriptor.
|
Writes the current Interrupt Descriptor Table Register(GDTR) descriptor.
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
**/
|
**/
|
||||||
|
|
||||||
|
|
||||||
#include <BaseLibInternals.h>
|
#include "BaseLibInternals.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Generates a breakpoint on the CPU.
|
Generates a breakpoint on the CPU.
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
**/
|
**/
|
||||||
|
|
||||||
|
|
||||||
#include <BaseLibInternals.h>
|
#include "BaseLibInternals.h"
|
||||||
|
|
||||||
#pragma intrinsic (_enable)
|
#pragma intrinsic (_enable)
|
||||||
#pragma intrinsic (_disable)
|
#pragma intrinsic (_disable)
|
||||||
|
@ -12,40 +12,40 @@
|
|||||||
|
|
||||||
**/
|
**/
|
||||||
|
|
||||||
#include <BaseLibInternals.h>
|
#include "BaseLibInternals.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Transfers control to a function starting with a new stack.
|
Transfers control to a function starting with a new stack.
|
||||||
|
|
||||||
Transfers control to the function specified by EntryPoint using the
|
Transfers control to the function specified by EntryPoint using the
|
||||||
new stack specified by NewStack and passing in the parameters specified
|
new stack specified by NewStack and passing in the parameters specified
|
||||||
by Context1 and Context2. Context1 and Context2 are optional and may
|
by Context1 and Context2. Context1 and Context2 are optional and may
|
||||||
be NULL. The function EntryPoint must never return.
|
be NULL. The function EntryPoint must never return.
|
||||||
Marker will be ignored on IA-32, x64, and EBC.
|
Marker will be ignored on IA-32, x64, and EBC.
|
||||||
IPF CPUs expect one additional parameter of type VOID * that specifies
|
IPF CPUs expect one additional parameter of type VOID * that specifies
|
||||||
the new backing store pointer.
|
the new backing store pointer.
|
||||||
|
|
||||||
If EntryPoint is NULL, then ASSERT().
|
If EntryPoint is NULL, then ASSERT().
|
||||||
If NewStack is NULL, then ASSERT().
|
If NewStack is NULL, then ASSERT().
|
||||||
|
|
||||||
@param EntryPoint A pointer to function to call with the new stack.
|
@param EntryPoint A pointer to function to call with the new stack.
|
||||||
@param Context1 A pointer to the context to pass into the EntryPoint
|
@param Context1 A pointer to the context to pass into the EntryPoint
|
||||||
function.
|
|
||||||
@param Context2 A pointer to the context to pass into the EntryPoint
|
|
||||||
function.
|
|
||||||
@param NewStack A pointer to the new stack to use for the EntryPoint
|
|
||||||
function.
|
function.
|
||||||
@param Marker VA_LIST marker for the variable argument list.
|
@param Context2 A pointer to the context to pass into the EntryPoint
|
||||||
|
function.
|
||||||
|
@param NewStack A pointer to the new stack to use for the EntryPoint
|
||||||
|
function.
|
||||||
|
@param Marker VA_LIST marker for the variable argument list.
|
||||||
|
|
||||||
**/
|
**/
|
||||||
VOID
|
VOID
|
||||||
EFIAPI
|
EFIAPI
|
||||||
InternalSwitchStack (
|
InternalSwitchStack (
|
||||||
IN SWITCH_STACK_ENTRY_POINT EntryPoint,
|
IN SWITCH_STACK_ENTRY_POINT EntryPoint,
|
||||||
IN VOID *Context1, OPTIONAL
|
IN VOID *Context1, OPTIONAL
|
||||||
IN VOID *Context2, OPTIONAL
|
IN VOID *Context2, OPTIONAL
|
||||||
IN VOID *NewStack,
|
IN VOID *NewStack,
|
||||||
IN VA_LIST Marker
|
IN VA_LIST Marker
|
||||||
)
|
)
|
||||||
|
|
||||||
{
|
{
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
**/
|
**/
|
||||||
|
|
||||||
#include <BaseLibInternals.h>
|
#include "BaseLibInternals.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Reads a 16-bit value from memory that may be unaligned.
|
Reads a 16-bit value from memory that may be unaligned.
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
**/
|
**/
|
||||||
|
|
||||||
#include <BaseLibInternals.h>
|
#include "BaseLibInternals.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Transfers control to a function starting with a new stack.
|
Transfers control to a function starting with a new stack.
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
**/
|
**/
|
||||||
|
|
||||||
|
|
||||||
#include <BaseLibInternals.h>
|
#include "BaseLibInternals.h"
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
#include <BaseLibInternals.h>
|
#include "BaseLibInternals.h"
|
||||||
|
|
||||||
;------------------------------------------------------------------------------
|
;------------------------------------------------------------------------------
|
||||||
;
|
;
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
**/
|
**/
|
||||||
|
|
||||||
|
|
||||||
#include <BaseLibInternals.h>
|
#include "BaseLibInternals.h"
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
**/
|
**/
|
||||||
|
|
||||||
|
|
||||||
#include <BaseLibInternals.h>
|
#include "BaseLibInternals.h"
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
**/
|
**/
|
||||||
|
|
||||||
|
|
||||||
#include <BaseLibInternals.h>
|
#include "BaseLibInternals.h"
|
||||||
|
|
||||||
|
|
||||||
//
|
//
|
||||||
|
Loading…
x
Reference in New Issue
Block a user