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