]> git.proxmox.com Git - mirror_edk2.git/blame - QuarkSocPkg/QuarkNorthCluster/Library/QNCAccessLib/BaseAccess.c
QuarkSocPkg: Add new package for Quark SoC X1000
[mirror_edk2.git] / QuarkSocPkg / QuarkNorthCluster / Library / QNCAccessLib / BaseAccess.c
CommitLineData
9b6bbcdb
MK
1/** @file\r
2Base Lib function for QNC internal network access.\r
3\r
4Copyright (c) 2013-2015 Intel Corporation.\r
5\r
6This program and the accompanying materials\r
7are licensed and made available under the terms and conditions of the BSD License\r
8which accompanies this distribution. The full text of the license may be found at\r
9http://opensource.org/licenses/bsd-license.php\r
10\r
11THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
12WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
13\r
14**/\r
15\r
16//\r
17// The package level header files this module uses\r
18//\r
19#include <Uefi.h>\r
20\r
21/**\r
22 Gets the base address of PCI Express for Quark North Cluster.\r
23\r
24 @return The base address of PCI Express for Quark North Cluster.\r
25\r
26**/\r
27UINTN\r
28EFIAPI\r
29QncGetPciExpressBaseAddress (\r
30 VOID\r
31 )\r
32{\r
33 return (UINTN) PcdGet64(PcdPciExpressBaseAddress);\r
34}\r