From df8de3f85f81190fec8428ec7607170c9cb46f8e Mon Sep 17 00:00:00 2001 From: belliash Date: Thu, 22 Dec 2022 23:41:19 +0100 Subject: [PATCH] Add missing routines documentation --- xtoskrnl/hl/amd64/cpufunc.c | 7 +++++++ xtoskrnl/hl/i686/cpufunc.c | 7 +++++++ xtoskrnl/ke/krnlinit.c | 3 +++ 3 files changed, 17 insertions(+) diff --git a/xtoskrnl/hl/amd64/cpufunc.c b/xtoskrnl/hl/amd64/cpufunc.c index 6b02519..0cb1981 100644 --- a/xtoskrnl/hl/amd64/cpufunc.c +++ b/xtoskrnl/hl/amd64/cpufunc.c @@ -51,6 +51,13 @@ HlCpuId(IN OUT PCPUID_REGISTERS Registers) return TRUE; } +/** + * Halts the central processing unit (CPU). + * + * @return This routine does not return any value. + * + * @since XT 1.0 + */ XTAPI VOID HlHalt() diff --git a/xtoskrnl/hl/i686/cpufunc.c b/xtoskrnl/hl/i686/cpufunc.c index f0ae399..5187a62 100644 --- a/xtoskrnl/hl/i686/cpufunc.c +++ b/xtoskrnl/hl/i686/cpufunc.c @@ -51,6 +51,13 @@ HlCpuId(IN OUT PCPUID_REGISTERS Registers) return TRUE; } +/** + * Halts the central processing unit (CPU). + * + * @return This routine does not return any value. + * + * @since XT 1.0 + */ XTAPI VOID HlHalt() diff --git a/xtoskrnl/ke/krnlinit.c b/xtoskrnl/ke/krnlinit.c index 9812044..e9d1101 100644 --- a/xtoskrnl/ke/krnlinit.c +++ b/xtoskrnl/ke/krnlinit.c @@ -12,6 +12,9 @@ /** * This routine starts up the XT kernel. It is called by boot loader. * + * @param Parameters + * Supplies a pointer to memory area containing parameters passed to kernel by bootloader. + * * @return This routine does not return any value. * * @since XT 1.0