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