summaryrefslogtreecommitdiff
path: root/Core/EM/Nvme/Nvme.sd
diff options
context:
space:
mode:
authorraywu <raywu0301@gmail.com>2018-06-15 00:00:50 +0800
committerraywu <raywu0301@gmail.com>2018-06-15 00:00:50 +0800
commitb7c51c9cf4864df6aabb99a1ae843becd577237c (patch)
treeeebe9b0d0ca03062955223097e57da84dd618b9a /Core/EM/Nvme/Nvme.sd
downloadzprj-b7c51c9cf4864df6aabb99a1ae843becd577237c.tar.xz
init. 1AQQW051HEADmaster
Diffstat (limited to 'Core/EM/Nvme/Nvme.sd')
-rw-r--r--Core/EM/Nvme/Nvme.sd170
1 files changed, 170 insertions, 0 deletions
diff --git a/Core/EM/Nvme/Nvme.sd b/Core/EM/Nvme/Nvme.sd
new file mode 100644
index 0000000..327bf96
--- /dev/null
+++ b/Core/EM/Nvme/Nvme.sd
@@ -0,0 +1,170 @@
+//**********************************************************************
+//**********************************************************************
+//** **
+//** (C)Copyright 1985-2015, American Megatrends, Inc. **
+//** **
+//** All Rights Reserved. **
+//** **
+//** 5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093 **
+//** **
+//** Phone: (770)-246-8600 **
+//** **
+//**********************************************************************
+//**********************************************************************
+//
+//*************************************************************************
+// $Header: /Alaska/SOURCE/Modules/NVMe/Nvme.sd 2 5/19/15 5:03a Ksudarsanan $
+//
+// $Date: 5/19/15 5:03a $
+//
+// $Log: /Alaska/SOURCE/Modules/NVMe/Nvme.sd $
+//
+// 2 5/19/15 5:03a Ksudarsanan
+// [TAG] EIP218818
+// [Category] Improvement
+// [Description] Aptio 4.x: When NVMe device is not connect then in BIOS
+// Setup should display "No Nvme device found"
+// [Files] Nvme.sd, Nvme.uni, NvmeSetup.c
+//
+// 1 6/20/14 6:27a Anandakrishnanl
+// [TAG] EIP172958
+// [Category] New Feature
+// [Description] Nvme Driver Intial Checkin
+// [Files] Nvme.cif
+// Nvme.sdl
+// Nvme.mak
+// Nvme.sd
+// Nvme.uni
+// Nvme.chm
+// NvmeSetup.c
+// NvmeBus.c
+// NvmeController.c
+// NvmeComponentName.c
+// NvmeIncludes.h
+// NvmeBus.h
+// NvmeController.h
+//
+//**********************************************************************
+// Revision History
+// ----------------
+// $Log: /Alaska/SOURCE/Modules/NVMe/Nvme.sd $
+//
+// 2 5/19/15 5:03a Ksudarsanan
+// [TAG] EIP218818
+// [Category] Improvement
+// [Description] Aptio 4.x: When NVMe device is not connect then in BIOS
+// Setup should display "No Nvme device found"
+// [Files] Nvme.sd, Nvme.uni, NvmeSetup.c
+//
+// 1 6/20/14 6:27a Anandakrishnanl
+// [TAG] EIP172958
+// [Category] New Feature
+// [Description] Nvme Driver Intial Checkin
+// [Files] Nvme.cif
+// Nvme.sdl
+// Nvme.mak
+// Nvme.sd
+// Nvme.uni
+// Nvme.chm
+// NvmeSetup.c
+// NvmeBus.c
+// NvmeController.c
+// NvmeComponentName.c
+// NvmeIncludes.h
+// NvmeBus.h
+// NvmeController.h
+//
+//*************************************************************************
+//**********************************************************************
+//<AMI_FHDR_START>
+//
+// Name: Nvme.sd
+//
+// Description: Nvme Driver Setup Page
+//
+//<AMI_FHDR_END>
+//**********************************************************************
+
+#ifdef FORM_SET_TYPEDEF
+#include "Token.h"
+#endif
+
+#ifdef SETUP_DATA_DEFINITION
+// These definitions will be converted by the build process
+// to a definitions of SETUP_DATA fields.
+ UINT8 ShowNVMeDrive[4];
+ UINT8 DeviceCount;
+#endif
+
+
+#if defined(VFRCOMPILE) && !defined(CONTROLS_ARE_DEFINED)
+ #define CONTROL_DEFINITION
+#endif
+
+#ifdef CONTROL_DEFINITION
+ #define NVMe_INFO_DISPLAY(HELP_STRING, CONTROLLER_STRING, DEVICE_STRING,INDEX)\
+ suppressif ideqval SETUP_DATA.ShowNVMeDrive[INDEX] == 0; \
+ text \
+ help = HELP_STRING, \
+ text = CONTROLLER_STRING, \
+ text = DEVICE_STRING, \
+ flags = 0, \
+ key = 0;\
+ endif;
+#endif
+
+//Select Top level menu itmem (forset) for you pages
+#ifdef ADVANCED_FORM_SET
+
+ #ifdef FORM_SET_GOTO
+ // Define forms
+
+ // Define goto commands for the forms defined in this file
+ goto NVME_CONFIG_FORM_ID,
+ prompt = STRING_TOKEN (STR_NVME_CONFIG_FORM),
+ help = STRING_TOKEN (STR_NVME_CONFIG_FORM_HELP);
+
+ #endif
+
+ #ifdef FORM_SET_FORM
+
+ #ifndef NVME_FORM_NVME_CONFIG
+ #define NVME_FORM_NVME_CONFIG
+
+ form formid = AUTO_ID(NVME_CONFIG_FORM_ID),
+ title = STRING_TOKEN (STR_NVME_CONFIG_FORM);
+
+ SUBTITLE(STRING_TOKEN(STR_NVME_SUBTITLE_STRING))
+ SEPARATOR
+
+ NVMe_INFO_DISPLAY( STRING_TOKEN(STR_NVME_HELP_STRING), STRING_TOKEN(STR_NVME0_CONTROLLER), STRING_TOKEN(STR_NVME0_NAME),0)
+ NVMe_INFO_DISPLAY( STRING_TOKEN(STR_NVME_HELP_STRING), STRING_TOKEN(STR_NVME1_CONTROLLER), STRING_TOKEN(STR_NVME1_NAME),1)
+ NVMe_INFO_DISPLAY( STRING_TOKEN(STR_NVME_HELP_STRING), STRING_TOKEN(STR_NVME2_CONTROLLER), STRING_TOKEN(STR_NVME2_NAME),2)
+ NVMe_INFO_DISPLAY( STRING_TOKEN(STR_NVME_HELP_STRING), STRING_TOKEN(STR_NVME3_CONTROLLER), STRING_TOKEN(STR_NVME3_NAME),3)
+
+ suppressif NOT ideqval SETUP_DATA.DeviceCount == 0;
+ SUBTITLE(STRING_TOKEN(STR_NO_NVME_DEVICE))
+ endif;
+
+ endform; // End of NVME_CONFIG_FORM_ID
+
+ #endif // End of NVME_FORM_NVME_CONFIG
+
+ #endif // End of FORM_SET_FORM
+
+#endif // End of ADVANCED_FORM_SET
+
+
+//**********************************************************************
+//**********************************************************************
+//** **
+//** (C)Copyright 1985-2015, American Megatrends, Inc. **
+//** **
+//** All Rights Reserved. **
+//** **
+//** 5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093 **
+//** **
+//** Phone: (770)-246-8600 **
+//** **
+//**********************************************************************
+//********************************************************************** \ No newline at end of file