]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - MdeModulePkg/Universal/Network/UefiPxeBcDxe/Ebc/PxeArch.c
1. Add comments in INF file to describe limitation.
[mirror_edk2.git] / MdeModulePkg / Universal / Network / UefiPxeBcDxe / Ebc / PxeArch.c
... / ...
CommitLineData
1/** @file\r
2 Defines PXE Arch type.\r
3 \r
4Copyright (c) 2007, Intel Corporation.<BR>\r
5All rights reserved. This program and the accompanying materials\r
6are licensed and made available under the terms and conditions of the BSD License\r
7which accompanies this distribution. The full text of the license may be found at\r
8http://opensource.org/licenses/bsd-license.php\r
9\r
10THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
12\r
13**/\r
14\r
15\r
16#include "PxeArch.h"\r
17\r
18UINT16 mSysArch = 0;\r
19/**\r
20 Get the system architecture type.\r
21\r
22 @return system architecture type.\r
23\r
24**/\r
25UINT16\r
26GetSysArch (\r
27 VOID\r
28 )\r
29{\r
30 if (mSysArch == 0) {\r
31 //\r
32 // This is first call\r
33 // Assign to invalid value\r
34 //\r
35 mSysArch = 0xFFFF;\r
36\r
37 //\r
38 // We do not know what is EBC architecture.\r
39 // Maybe we can try to locate DebugSupport protocol to get ISA.\r
40 // TBD now.\r
41 //\r
42 }\r
43\r
44 return mSysArch;\r
45}\r