mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[NTOS:KE] KiIdleLoop(): Propagate DECLSPEC_NORETURN to callers
This commit is contained in:
parent
5f1d79f0c5
commit
e0400e7810
7 changed files with 11 additions and 2 deletions
|
@ -310,7 +310,7 @@ struct _KPCR;
|
|||
|
||||
//VOID KiInitializeTss(IN PKTSS Tss, IN UINT64 Stack);
|
||||
|
||||
VOID KiSwitchToBootStack(IN ULONG_PTR InitialStack);
|
||||
DECLSPEC_NORETURN VOID KiSwitchToBootStack(IN ULONG_PTR InitialStack);
|
||||
VOID KiDivideErrorFault(VOID);
|
||||
VOID KiDebugTrapOrFault(VOID);
|
||||
VOID KiNmiInterrupt(VOID);
|
||||
|
|
|
@ -792,10 +792,11 @@ KiCheckForApcDelivery(IN PKTRAP_FRAME TrapFrame)
|
|||
// Switches from boot loader to initial kernel stack
|
||||
//
|
||||
FORCEINLINE
|
||||
DECLSPEC_NORETURN
|
||||
VOID
|
||||
KiSwitchToBootStack(IN ULONG_PTR InitialStack)
|
||||
{
|
||||
VOID NTAPI KiSystemStartupBootStack(VOID);
|
||||
DECLSPEC_NORETURN VOID NTAPI KiSystemStartupBootStack(VOID);
|
||||
|
||||
/* We have to switch to a new stack before continuing kernel initialization */
|
||||
#ifdef __GNUC__
|
||||
|
@ -823,6 +824,8 @@ KiSwitchToBootStack(IN ULONG_PTR InitialStack)
|
|||
#else
|
||||
#error Unknown Compiler
|
||||
#endif
|
||||
|
||||
UNREACHABLE;
|
||||
}
|
||||
|
||||
//
|
||||
|
|
|
@ -740,6 +740,7 @@ VOID
|
|||
NTAPI
|
||||
KiInitializeBugCheck(VOID);
|
||||
|
||||
DECLSPEC_NORETURN
|
||||
VOID
|
||||
NTAPI
|
||||
KiSystemStartup(
|
||||
|
|
|
@ -367,6 +367,7 @@ KiInitModuleList(IN PLOADER_PARAMETER_BLOCK LoaderBlock)
|
|||
}
|
||||
|
||||
CODE_SEG("INIT")
|
||||
DECLSPEC_NORETURN
|
||||
VOID
|
||||
NTAPI
|
||||
KiSystemStartup(IN PLOADER_PARAMETER_BLOCK LoaderBlock)
|
||||
|
|
|
@ -52,6 +52,7 @@ KiInitializeHandBuiltThread(
|
|||
}
|
||||
|
||||
CODE_SEG("INIT")
|
||||
DECLSPEC_NORETURN
|
||||
VOID
|
||||
NTAPI
|
||||
KiSystemStartupBootStack(VOID)
|
||||
|
|
|
@ -327,6 +327,7 @@ KiInitializeMachineType(VOID)
|
|||
}
|
||||
}
|
||||
|
||||
DECLSPEC_NORETURN
|
||||
VOID
|
||||
KiInitializeSystem(IN PLOADER_PARAMETER_BLOCK LoaderBlock)
|
||||
{
|
||||
|
|
|
@ -657,6 +657,7 @@ KiGetMachineBootPointers(IN PKGDTENTRY *Gdt,
|
|||
}
|
||||
|
||||
CODE_SEG("INIT")
|
||||
DECLSPEC_NORETURN
|
||||
VOID
|
||||
NTAPI
|
||||
KiSystemStartupBootStack(VOID)
|
||||
|
@ -709,6 +710,7 @@ KiMarkPageAsReadOnly(
|
|||
}
|
||||
|
||||
CODE_SEG("INIT")
|
||||
DECLSPEC_NORETURN
|
||||
VOID
|
||||
NTAPI
|
||||
KiSystemStartup(IN PLOADER_PARAMETER_BLOCK LoaderBlock)
|
||||
|
|
Loading…
Reference in a new issue