Skip to content

Commit

Permalink
[PACKAGE] Refactor, move "Extension" to "Package"
Browse files Browse the repository at this point in the history
  • Loading branch information
RatinCN committed Sep 23, 2024
1 parent 8a97cb8 commit 34057b6
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Source/Include/KNSoft/NDK/NDK.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
/* Enable extensions */

#ifndef _KNSOFT_NDK_NO_EXTENSION
#include "Extension/Extension.h"
#include "Package/Extension.h"
#endif
2 changes: 1 addition & 1 deletion Source/Include/KNSoft/NDK/NT/Extension/Security.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#pragma once

#include "../MinDef.h"
#include "../../Extension/Extension.h"
#include "../../Package/Extension.h"

/* Well-known SIDs */

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
#pragma once
/*
* KNSoft.NDK CPUID.h package, licensed under the MIT license.
* Copyright (c) KNSoft.org (https://github.com/KNSoft). All rights reserved.
*
* Intel CPUID Specification.
*/

#pragma once

#define CPUID_INTEL_VERSION_INFO_MASK 0xFFF3FF0 // Extended Family ID | Extended Model ID | Processor Type | Family ID | Model
#define CPUID_MAKE_INTEL_VERSION_INFO(ExtendedFamilyId, ExtendedModelId, ProcessorType, FamilyId, Model, SteppingId)\
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#pragma once
/* KNSoft.NDK extension package, native addendum */

#pragma once

#ifdef _KNSOFT_NDK_NO_EXTENSION
#pragma message("KNSoft.NDK: Extension.h is included but _KNSOFT_NDK_NO_EXTENSION is defined.")
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/*
* KNSoft.NDK SMBIOS.h licensed under the MIT license.
* KNSoft.NDK SMBIOS.h package, licensed under the MIT license.
* Copyright (c) KNSoft.org (https://github.com/KNSoft). All rights reserved.
*
* SMBIOS Specification (https://www.dmtf.org/standards/smbios)
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/*
* KNSoft.NDK StrSafe.h licensed under the MIT license.
* KNSoft.NDK StrSafe.h package, licensed under the MIT license.
* Copyright (c) KNSoft.org (https://github.com/KNSoft). All rights reserved.
*
* Make C string routines a bit more safe and easy.
* Not equals to the strsafe.h in Windows SDK.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
/*
* KNSoft.NDK.UnitTest - Lite weight unit test framework
* KNSoft.NDK UnitTest.h package, licensed under the MIT license.
* Copyright (c) KNSoft.org (https://github.com/KNSoft). All rights reserved.
* Licensed under the MIT license.
*
* Lite weight unit test framework.
*/

#pragma once
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#pragma once

#include "./UnitTest.h"
#include "UnitTest.h"

#include "../NT/NT.h"
#include "../Extension/StrSafe.h"
#include "StrSafe.h"

#pragma region Prints

Expand Down

0 comments on commit 34057b6

Please sign in to comment.