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