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