[HTC One M8 for Windows] HD2Owner:
here is the w8 (verizon) uefi memory map

# ============================Memory Map ======================================

# +--------------------+
# | |
# | |
# | |
# | HLOS Mem 5 | HTC revised size
# | |
# | |
# | |
# +--------------------+ 0x1060_0000
# | |
# | Modem Reserved | HTC
# | (6MB) |
# | |
# +--------------------+ 0x1000_0000
# | RPM Backup |
# +--------------------+ 0x0FF0_0000
# | |
# | NonRelocatable 0 |
# | (3MB) |
# | -RAM EFS |
# | -TZ Image |
# | |
# +--------------------+ 0x0FC0_0000
# | |
# | SMEM |
# | (2MB) |
# | |
# +--------------------+ 0x0FA0_0000
# | |
# | Subsystem |
# | Reserved 2 |
# | (5MB) |
# | -Venus |
# | |
# +--------------------+ 0x0F50_0000
# | |
# | HLOS Mem 4 |
# | (5MB) |
# | |
# +--------------------+ 0x0F00_0000
# | |
# | Subsystem |
# | Reserved 1 |
# | (20MB) |
# | -ADSP |
# | |
# +--------------------+ 0x0DC0_0000
# | |
# | HLOS Mem 3 |
# | (3MB) |
# | |
# +--------------------+ 0x0D90_0000
# | |
# | Subsystem |
# | Reserved 0 |
# | (89MB) |
# | -WConnect |
# | -Modem |
# | |
# +--------------------+ 0x0800_0000
# | |
# | TZ Apps |
# | (3MB) |
# | |
# +--------------------+ 0x07D0_0000
# | |
# | TZ Data | HTC
# | (1MB) |
# | |
# +--------------------+ 0x07C0_0000
# | |
# | TZ Log | HTC
# | (512KB) |
# | |
# +--------------------+ 0x07B8_0000
# | |
# | Driver Global | HTC
# | (512KB) |
# | |
# +--------------------+ 0x07B0_0000
# | |
# | HTC Secure DDR | HTC
# | (1MB) |
# | |
# +--------------------+ 0x07A0_0000
# | |
# | TZ Reserved | HTC
# | (1MB) |
# +--------------------+ 0x0790_0000
# | |
# | HLOS Mem 2 | HTC revised size
# | (30MB) |
# | |
# +--------------------+ 0x05B0_0000
# | |
# | Smart Logging | HTC
# | (20MB) |
# | |
# +--------------------+ 0x0470_0000 ---- UEFI Memory Pool Top
# | |
# | HLOS Mem 1 | HTC revised size
# | (58MB) |
# | |
# +--------------------+ 0x00D0_0000
# | Reserved Cached 0 |
# | (704KB) |
# +--------------------+ 0x00C5_0000
# | CPU Vectors |
# | (64KB) |
# +--------------------+ 0x00C4_0000 ---- Stack Base
# | UEFI Stack |
# | (256KB) |
# +--------------------+ 0x00C0_0000
# | Display Reserved |
# | (8MB) |
# +--------------------+ 0x0040_0000
# | Reserved |
# | Uncached 0 |
# | (472KB) |
# +--------------------+ 0x0038_A000
# | UEFI Info Block |
# | (4KB) |
# | -DBI Dump Table |
# | -Release Info Str |
# | -Info Block |
# +--------------------+ 0x0038_9000
# | TPM Control Area |
# | (12KB) |
# +--------------------+ 0x0038_6000
# | Capsule Header |
# | (4KB) |
# +--------------------+ 0x0038_5000
# | DBG2 |
# | (16KB) |
# +--------------------+ 0x0038_1000
# | FBPT Payload |
# | (4KB) |
# +--------------------+ 0x0038_0000
# | Reserved |
# | Uncached 1 |
# | (256KB) |
# +--------------------+ 0x0034_0000
# | MPPark Code |
# | (256KB) |
# +--------------------+ 0x0030_0000
# | UEFI FD |
# | (1MB) |
# +--------------------+ 0x0020_0000
# | HLOS Mem 0 |
# | (1MB) |
# +--------------------+ 0x0010_0000
# | unused |
# | give to HLOS |
# | (892KB) |
# +--------------------+ 0x0002_1000
# | DBI Dump |
# | (68KB) |
# +--------------------+ 0x0001_0000
# | Unused |
# | (64KB) |
# +--------------------+ 0x0000_0000

# =============================================================================

###############################################################################
## AddEntry = 0x1 actually adds the memory region; without this line it will
## not add the entry. Parser simply updates static variables so it is possible
## to just update only the different fields between subsequent regions.
## For example:
##
## MemLabel = "SOME LABEL"
## BaseOffset = 0x08400000
## MemorySize = 0x07600000
## BuildHobOption = AddMem
## ResourceType = EFI_RESOURCE_SYSTEM_MEMORY
## ResourceAttribute = SYSTEM_MEMORY_RESOURCE_ATTR_CAPABILITIES
## MemoryType = EfiReservedMemoryType
## CacheAttributes = ARM_MEMORY_REGION_ATTRIBUTE_DEVICE
## AddEntry = 0x1
##
## BaseOffset = 0x0FC00000
## MemorySize = 0x00300000
## AddEntry = 0x1
###############################################################################

[MemoryMap]
# This parameter should be first in the MemoryMap section, otherwise a default
# number of memory regions will be allocated

MaxMemoryRegions = 50
MemMapVersion = 1

# ============================Memory Map ======================================
MemLabel = "DBI Dump"
BaseOffset = 0x00010000
MemorySize = 0x00011000
BuildHobOption = NoBuildHob
ResourceType = EFI_RESOURCE_MEMORY_MAPPED_IO
ResourceAttribute = EFI_RESOURCE_ATTRIBUTE_INITIALIZED
MemoryType = EfiConventionalMemory
CacheAttributes = ARM_MEMORY_REGION_ATTRIBUTE_DEVICE
AddEntry = 0x1

MemLabel = "HLOS Mem 0"
BaseOffset = 0x00100000
MemorySize = 0x00100000
BuildHobOption = AddMem
ResourceType = EFI_RESOURCE_SYSTEM_MEMORY
ResourceAttribute = SYSTEM_MEMORY_RESOURCE_ATTR_CAPABILITIES
MemoryType = EfiConventionalMemory
CacheAttributes = ARM_MEMORY_REGION_ATTRIBUTE_WRITE_BACK
AddEntry = 0x1

MemLabel = "UEFI FD"
BaseOffset = 0x00200000
MemorySize = 0x00100000
BuildHobOption = AddMem
ResourceType = EFI_RESOURCE_SYSTEM_MEMORY
ResourceAttribute = SYSTEM_MEMORY_RESOURCE_ATTR_CAPABILITIES
MemoryType = EfiBootServicesData
CacheAttributes = ARM_MEMORY_REGION_ATTRIBUTE_WRITE_BACK
AddEntry = 0x1

MemLabel = "MPPark Code"
BaseOffset = 0x00300000
MemorySize = 0x00040000
BuildHobOption = AddMem
ResourceType = EFI_RESOURCE_MEMORY_RESERVED
ResourceAttribute = EFI_RESOURCE_ATTRIBUTE_UNCACHEABLE
MemoryType = EfiRuntimeServicesCode
CacheAttributes = ARM_MEMORY_REGION_ATTRIBUTE_UNCACHED_UNBUFFERED
AddEntry = 0x1

MemLabel = "Reserved Uncached 1"
BaseOffset = 0x00340000
MemorySize = 0x00040000
BuildHobOption = AddMem
ResourceType = EFI_RESOURCE_SYSTEM_MEMORY
ResourceAttribute = SYSTEM_MEMORY_RESOURCE_ATTR_CAPABILITIES
MemoryType = EfiBootServicesData
CacheAttributes = ARM_MEMORY_REGION_ATTRIBUTE_UNCACHED_UNBUFFERED
AddEntry = 0x1

MemLabel = "FBPT Payload"
BaseOffset = 0x00380000
MemorySize = 0x00001000
BuildHobOption = AddMem
ResourceType = EFI_RESOURCE_SYSTEM_MEMORY
ResourceAttribute = SYSTEM_MEMORY_RESOURCE_ATTR_CAPABILITIES
MemoryType = EfiRuntimeServicesData
CacheAttributes = ARM_MEMORY_REGION_ATTRIBUTE_UNCACHED_UNBUFFERED
AddEntry = 0x1

MemLabel = "DBG2"
BaseOffset = 0x00381000
MemorySize = 0x00004000
BuildHobOption = AddMem
ResourceType = EFI_RESOURCE_SYSTEM_MEMORY
ResourceAttribute = SYSTEM_MEMORY_RESOURCE_ATTR_CAPABILITIES
MemoryType = EfiLoaderData
CacheAttributes = ARM_MEMORY_REGION_ATTRIBUTE_UNCACHED_UNBUFFERED
AddEntry = 0x1

MemLabel = "Capsule Header"
BaseOffset = 0x00385000
MemorySize = 0x00001000
BuildHobOption = AddMem
ResourceType = EFI_RESOURCE_SYSTEM_MEMORY
ResourceAttribute = SYSTEM_MEMORY_RESOURCE_ATTR_CAPABILITIES
MemoryType = EfiRuntimeServicesData
CacheAttributes = ARM_MEMORY_REGION_ATTRIBUTE_UNCACHED_UNBUFFERED
AddEntry = 0x1

MemLabel = "TPM Control Area"
BaseOffset = 0x00386000
MemorySize = 0x00003000
BuildHobOption = AddMem
ResourceType = EFI_RESOURCE_SYSTEM_MEMORY
ResourceAttribute = SYSTEM_MEMORY_RESOURCE_ATTR_CAPABILITIES
MemoryType = EfiRuntimeServicesData
CacheAttributes = ARM_MEMORY_REGION_ATTRIBUTE_UNCACHED_UNBUFFERED
AddEntry = 0x1

MemLabel = "UEFI Info Block"
BaseOffset = 0x00389000
MemorySize = 0x00001000
BuildHobOption = AddMem
ResourceType = EFI_RESOURCE_SYSTEM_MEMORY
ResourceAttribute = SYSTEM_MEMORY_RESOURCE_ATTR_CAPABILITIES
MemoryType = EfiRuntimeServicesData
CacheAttributes = ARM_MEMORY_REGION_ATTRIBUTE_UNCACHED_UNBUFFERED
AddEntry = 0x1

MemLabel = "Reserved Uncached 0"
BaseOffset = 0x0038A000
MemorySize = 0x00076000
BuildHobOption = AddMem
ResourceType = EFI_RESOURCE_SYSTEM_MEMORY
ResourceAttribute = SYSTEM_MEMORY_RESOURCE_ATTR_CAPABILITIES
MemoryType = EfiBootServicesData
CacheAttributes = ARM_MEMORY_REGION_ATTRIBUTE_UNCACHED_UNBUFFERED
AddEntry = 0x1

MemLabel = "Display Reserved"
BaseOffset = 0x00400000
MemorySize = 0x00800000
BuildHobOption = AddMem
ResourceType = EFI_RESOURCE_MEMORY_RESERVED
ResourceAttribute = EFI_RESOURCE_ATTRIBUTE_WRITE_THROUGH_CACHEABLE
MemoryType = EfiMaxMemoryType
CacheAttributes = ARM_MEMORY_REGION_ATTRIBUTE_WRITE_THROUGH
AddEntry = 0x1

MemLabel = "UEFI Stack"
BaseOffset = 0x00C00000
MemorySize = 0x00040000
BuildHobOption = AddMem
ResourceType = EFI_RESOURCE_SYSTEM_MEMORY
ResourceAttribute = SYSTEM_MEMORY_RESOURCE_ATTR_CAPABILITIES
MemoryType = EfiBootServicesData
CacheAttributes = ARM_MEMORY_REGION_ATTRIBUTE_WRITE_BACK
AddEntry = 0x1

MemLabel = "CPU Vectors"
BaseOffset = 0x00C40000
MemorySize = 0x00010000
BuildHobOption = AddMem
ResourceType = EFI_RESOURCE_SYSTEM_MEMORY
ResourceAttribute = SYSTEM_MEMORY_RESOURCE_ATTR_CAPABILITIES
MemoryType = EfiBootServicesData
CacheAttributes = ARM_MEMORY_REGION_ATTRIBUTE_WRITE_BACK
AddEntry = 0x1

MemLabel = "Reserved Cached 0"
BaseOffset = 0x00C50000
MemorySize = 0x000B0000
BuildHobOption = AddMem
ResourceType = EFI_RESOURCE_SYSTEM_MEMORY
ResourceAttribute = SYSTEM_MEMORY_RESOURCE_ATTR_CAPABILITIES
MemoryType = EfiBootServicesData
CacheAttributes = ARM_MEMORY_REGION_ATTRIBUTE_WRITE_BACK
AddEntry = 0x1

MemLabel = "HLOS Mem 1"
BaseOffset = 0x00D00000
MemorySize = 0x03A00000
BuildHobOption = AddMem
ResourceType = EFI_RESOURCE_SYSTEM_MEMORY
ResourceAttribute = SYSTEM_MEMORY_RESOURCE_ATTR_CAPABILITIES
MemoryType = EfiBootServicesData
CacheAttributes = ARM_MEMORY_REGION_ATTRIBUTE_WRITE_BACK
AddEntry = 0x1

# HTC_CSP_START
MemLabel = "Smart Logging"
BaseOffset = 0x04700000
MemorySize = 0x01400000
BuildHobOption = AddMem
ResourceType = EFI_RESOURCE_SYSTEM_MEMORY
ResourceAttribute = SYSTEM_MEMORY_RESOURCE_ATTR_CAPABILITIES
MemoryType = EfiConventionalMemory
CacheAttributes = ARM_MEMORY_REGION_ATTRIBUTE_WRITE_BACK
AddEntry = 0x1
# HTC_CSP_END

MemLabel = "HLOS Mem 2"
# HTC_CSP_START
#BaseOffset = 0x04000000
#MemorySize = 0x03D00000
BaseOffset = 0x05B0000
MemorySize = 0x01E00000
# HTC_CSP_END
BuildHobOption = AddMem
ResourceType = EFI_RESOURCE_SYSTEM_MEMORY
ResourceAttribute = SYSTEM_MEMORY_RESOURCE_ATTR_CAPABILITIES
MemoryType = EfiConventionalMemory
CacheAttributes = ARM_MEMORY_REGION_ATTRIBUTE_WRITE_BACK
AddEntry = 0x1

# HTC_CSP_START
MemLabel = "TZ Reserved"
BaseOffset = 0x07900000
MemorySize = 0x00100000
BuildHobOption = AddMemForNonDebugOrNonCrashMode
ResourceType = EFI_RESOURCE_SYSTEM_MEMORY
ResourceAttribute = SYSTEM_MEMORY_RESOURCE_ATTR_CAPABILITIES
MemoryType = EfiReservedMemoryType
CacheAttributes = ARM_MEMORY_REGION_ATTRIBUTE_UNCACHED_UNBUFFERED
AddEntry = 0x1

MemLabel = "HTC Secure DDR"
BaseOffset = 0x07A00000
MemorySize = 0x00100000
BuildHobOption = NoBuildHob
ResourceType = EFI_RESOURCE_MEMORY_RESERVED
ResourceAttribute = EFI_RESOURCE_ATTRIBUTE_UNCACHEABLE
MemoryType = EfiMaxMemoryType
CacheAttributes = ARM_MEMORY_REGION_ATTRIBUTE_UNCACHED_UNBUFFERED
AddEntry = 0x1

MemLabel = "Driver Global"
BaseOffset = 0x07B00000
MemorySize = 0x00080000
BuildHobOption = AddMemForNonDebugOrNonCrashMode
ResourceType = EFI_RESOURCE_SYSTEM_MEMORY
ResourceAttribute = SYSTEM_MEMORY_RESOURCE_ATTR_CAPABILITIES
MemoryType = EfiReservedMemoryType
CacheAttributes = ARM_MEMORY_REGION_ATTRIBUTE_WRITE_BACK
AddEntry = 0x1

MemLabel = "TZ Log"
BaseOffset = 0x07B80000
MemorySize = 0x00080000
BuildHobOption = NoBuildHob
ResourceType = EFI_RESOURCE_MEMORY_RESERVED
ResourceAttribute = EFI_RESOURCE_ATTRIBUTE_UNCACHEABLE
MemoryType = EfiMaxMemoryType
CacheAttributes = ARM_MEMORY_REGION_ATTRIBUTE_UNCACHED_UNBUFFERED
AddEntry = 0x1

MemLabel = "TZ Data"
BaseOffset = 0x07C00000
MemorySize = 0x00100000
BuildHobOption = NoBuildHob
ResourceType = EFI_RESOURCE_MEMORY_RESERVED
ResourceAttribute = EFI_RESOURCE_ATTRIBUTE_UNCACHEABLE
MemoryType = EfiMaxMemoryType
CacheAttributes = ARM_MEMORY_REGION_ATTRIBUTE_UNCACHED_UNBUFFERED
AddEntry = 0x1
# HTC_CSP_END

MemLabel = "TZ Apps"
BaseOffset = 0x07D00000
MemorySize = 0x00300000
BuildHobOption = AddMem
ResourceType = EFI_RESOURCE_SYSTEM_MEMORY
ResourceAttribute = SYSTEM_MEMORY_RESOURCE_ATTR_CAPABILITIES
MemoryType = EfiReservedMemoryType
CacheAttributes = ARM_MEMORY_REGION_ATTRIBUTE_DEVICE
AddEntry = 0x1

MemLabel = "Subsystem Reserved 0"
BaseOffset = 0x08000000
MemorySize = 0x05900000
BuildHobOption = AddMem
ResourceType = EFI_RESOURCE_SYSTEM_MEMORY
ResourceAttribute = SYSTEM_MEMORY_RESOURCE_ATTR_CAPABILITIES
MemoryType = EfiReservedMemoryType
CacheAttributes = ARM_MEMORY_REGION_ATTRIBUTE_DEVICE
AddEntry = 0x1

MemLabel = "HLOS Mem 3"
BaseOffset = 0x0D900000
MemorySize = 0x00300000
BuildHobOption = AddMem
ResourceType = EFI_RESOURCE_SYSTEM_MEMORY
ResourceAttribute = SYSTEM_MEMORY_RESOURCE_ATTR_CAPABILITIES
MemoryType = EfiConventionalMemory
CacheAttributes = ARM_MEMORY_REGION_ATTRIBUTE_WRITE_BACK
AddEntry = 0x1

MemLabel = "Subsystem Reserved 1"
BaseOffset = 0x0DC00000
MemorySize = 0x01400000
BuildHobOption = AddMem
ResourceType = EFI_RESOURCE_SYSTEM_MEMORY
ResourceAttribute = SYSTEM_MEMORY_RESOURCE_ATTR_CAPABILITIES
MemoryType = EfiReservedMemoryType
CacheAttributes = ARM_MEMORY_REGION_ATTRIBUTE_DEVICE
AddEntry = 0x1

MemLabel = "HLOS Mem 4"
BaseOffset = 0x0F000000
MemorySize = 0x00500000
BuildHobOption = AddMem
ResourceType = EFI_RESOURCE_SYSTEM_MEMORY
ResourceAttribute = SYSTEM_MEMORY_RESOURCE_ATTR_CAPABILITIES
MemoryType = EfiConventionalMemory
CacheAttributes = ARM_MEMORY_REGION_ATTRIBUTE_WRITE_BACK
AddEntry = 0x1

MemLabel = "Subsystem Reserved 2"
BaseOffset = 0x0F500000
MemorySize = 0x00500000
BuildHobOption = AddMem
ResourceType = EFI_RESOURCE_SYSTEM_MEMORY
ResourceAttribute = SYSTEM_MEMORY_RESOURCE_ATTR_CAPABILITIES
MemoryType = EfiReservedMemoryType
CacheAttributes = ARM_MEMORY_REGION_ATTRIBUTE_DEVICE
AddEntry = 0x1

MemLabel = "SMEM"
BaseOffset = 0x0FA00000
MemorySize = 0x00200000
BuildHobOption = NoBuildHob
ResourceType = EFI_RESOURCE_MEMORY_RESERVED
ResourceAttribute = EFI_RESOURCE_ATTRIBUTE_UNCACHEABLE
MemoryType = EfiMaxMemoryType
CacheAttributes = ARM_MEMORY_REGION_ATTRIBUTE_UNCACHED_UNBUFFERED
AddEntry = 0x1

MemLabel = "NonRelocatable 0"
BaseOffset = 0x0FC00000
MemorySize = 0x00300000
BuildHobOption = AddMem
ResourceType = EFI_RESOURCE_SYSTEM_MEMORY
ResourceAttribute = SYSTEM_MEMORY_RESOURCE_ATTR_CAPABILITIES
MemoryType = EfiReservedMemoryType
CacheAttributes = ARM_MEMORY_REGION_ATTRIBUTE_DEVICE
AddEntry = 0x1

# HTC_CSP_START
MemLabel = "Modem Reserved"
BaseOffset = 0x10000000
MemorySize = 0x00600000
BuildHobOption = AddMemForNonDebugOrNonCrashMode
ResourceType = EFI_RESOURCE_SYSTEM_MEMORY
ResourceAttribute = SYSTEM_MEMORY_RESOURCE_ATTR_CAPABILITIES
MemoryType = EfiReservedMemoryType
CacheAttributes = ARM_MEMORY_REGION_ATTRIBUTE_UNCACHED_UNBUFFERED
AddEntry = 0x1
# HTC_CSP_END

MemLabel = "HLOS Mem 5"
# HTC_CSP_START
#BaseOffset = 0x0FF00000
BaseOffset = 0x10600000
# HTC_CSP_END
MemorySize = 0xFFFFFFFF
BuildHobOption = AddMem
ResourceType = EFI_RESOURCE_SYSTEM_MEMORY
ResourceAttribute = SYSTEM_MEMORY_RESOURCE_ATTR_CAPABILITIES
MemoryType = EfiConventionalMemory
CacheAttributes = ARM_MEMORY_REGION_ATTRIBUTE_WRITE_BACK
AddEntry = 0x1

###################### Other Memory Regions ##########################
#ImemBootBase - cache only
MemLabel = "IMEM Boot Base"
BaseOffset = 0xFE800000
MemorySize = 0x00040000
BuildHobOption = NoBuildHob
ResourceType = EFI_RESOURCE_SYSTEM_MEMORY
ResourceAttribute = EFI_RESOURCE_ATTRIBUTE_INITIALIZED
MemoryType = EfiConventionalMemory
CacheAttributes = ARM_MEMORY_REGION_ATTRIBUTE_DEVICE
AddEntry = 0x1

#Imem Cookie Base - Hob Only
MemLabel = "IMEM Cookie Base"
BaseOffset = 0xFC42B000
MemorySize = 0x00001000
BuildHobOption = HobOnlyNoCacheSetting
ResourceType = EFI_RESOURCE_MEMORY_MAPPED_IO
ResourceAttribute = EFI_RESOURCE_ATTRIBUTE_INITIALIZED
MemoryType = EfiConventionalMemory
CacheAttributes = ARM_MEMORY_REGION_ATTRIBUTE_DEVICE
AddEntry = 0x1

#Imem Cookie Base - Hob Only - For V2
MemLabel = "IMEM Cookie Base 2"
BaseOffset = 0xFE805000
MemorySize = 0x00001000
BuildHobOption = HobOnlyNoCacheSetting
ResourceType = EFI_RESOURCE_MEMORY_MAPPED_IO
ResourceAttribute = EFI_RESOURCE_ATTRIBUTE_INITIALIZED
MemoryType = EfiConventionalMemory
CacheAttributes = ARM_MEMORY_REGION_ATTRIBUTE_DEVICE
AddEntry = 0x1

#RPM CODE_DATARAM Dump - carveout only
MemLabel = "RPM CODE_DATARAM Dump"
BaseOffset = 0xFC100000
MemorySize = 0x00100000
BuildHobOption = CacheSettingCarveOutOnly
ResourceType = EFI_RESOURCE_MEMORY_MAPPED_IO
ResourceAttribute = EFI_RESOURCE_ATTRIBUTE_INITIALIZED
MemoryType = EfiConventionalMemory
CacheAttributes = ARM_MEMORY_REGION_ATTRIBUTE_DEVICE
AddEntry = 0x1

######################## Register Regions ############################
MemLabel = "SOC REGISTER REG 1"
BaseOffset = 0xF9000000
MemorySize = 0x02000000
BuildHobOption = AddPeripheral
ResourceType = EFI_RESOURCE_MEMORY_MAPPED_IO
ResourceAttribute = EFI_RESOURCE_ATTRIBUTE_UNCACHEABLE
MemoryType = EfiMemoryMappedIO
CacheAttributes = ARM_MEMORY_REGION_ATTRIBUTE_DEVICE
AddEntry = 0x1

MemLabel = "SOC REGISTER REG 2"
BaseOffset = 0xFC400000
MemorySize = 0x00002000
BuildHobOption = AddPeripheral
ResourceType = EFI_RESOURCE_MEMORY_MAPPED_IO
ResourceAttribute = EFI_RESOURCE_ATTRIBUTE_UNCACHEABLE
MemoryType = EfiMemoryMappedIO
CacheAttributes = ARM_MEMORY_REGION_ATTRIBUTE_DEVICE
AddEntry = 0x1

MemLabel = "SOC REGISTER REG 3"
BaseOffset = 0xFC428000
MemorySize = 0x00008000
BuildHobOption = AddPeripheral
ResourceType = EFI_RESOURCE_MEMORY_MAPPED_IO
ResourceAttribute = EFI_RESOURCE_ATTRIBUTE_UNCACHEABLE
MemoryType = EfiMemoryMappedIO
CacheAttributes = ARM_MEMORY_REGION_ATTRIBUTE_DEVICE
AddEntry = 0x1

MemLabel = "SOC REGISTER REG 4"
BaseOffset = 0xFC4AB000
MemorySize = 0x00001000
BuildHobOption = AddPeripheral
ResourceType = EFI_RESOURCE_MEMORY_MAPPED_IO
ResourceAttribute = EFI_RESOURCE_ATTRIBUTE_UNCACHEABLE
MemoryType = EfiMemoryMappedIO
CacheAttributes = ARM_MEMORY_REGION_ATTRIBUTE_DEVICE
AddEntry = 0x1

MemLabel = "SOC REGISTER REG 5"
BaseOffset = 0xFC4C0000
MemorySize = 0x00040000
BuildHobOption = AddPeripheral
ResourceType = EFI_RESOURCE_MEMORY_MAPPED_IO
ResourceAttribute = EFI_RESOURCE_ATTRIBUTE_UNCACHEABLE
MemoryType = EfiMemoryMappedIO
CacheAttributes = ARM_MEMORY_REGION_ATTRIBUTE_DEVICE
AddEntry = 0x1

MemLabel = "SOC REGISTER REG 6"
BaseOffset = 0xFD400000
MemorySize = 0x00D00000
BuildHobOption = AddPeripheral
ResourceType = EFI_RESOURCE_MEMORY_MAPPED_IO
ResourceAttribute = EFI_RESOURCE_ATTRIBUTE_UNCACHEABLE
MemoryType = EfiMemoryMappedIO
CacheAttributes = ARM_MEMORY_REGION_ATTRIBUTE_DEVICE
AddEntry = 0x1

MemLabel = "SOC REGISTER REG 7"
BaseOffset = 0xFC4B8000
MemorySize = 0x00008000
BuildHobOption = AddPeripheral
ResourceType = EFI_RESOURCE_MEMORY_MAPPED_IO
ResourceAttribute = EFI_RESOURCE_ATTRIBUTE_UNCACHEABLE
MemoryType = EfiMemoryMappedIO
CacheAttributes = ARM_MEMORY_REGION_ATTRIBUTE_DEVICE
AddEntry = 0x1

MemLabel = "SOC REGISTER REG 8"
BaseOffset = 0xFC4A9000
MemorySize = 0x00001000
BuildHobOption = AddPeripheral
ResourceType = EFI_RESOURCE_MEMORY_MAPPED_IO
ResourceAttribute = EFI_RESOURCE_ATTRIBUTE_UNCACHEABLE
MemoryType = EfiMemoryMappedIO
CacheAttributes = ARM_MEMORY_REGION_ATTRIBUTE_DEVICE
AddEntry = 0x1

# NOTE: EarlyInitCache section is required to initialize cache early,
# This should be at end of MemoryMap section
EarlyInitCache = 1

# ============================Configuration Paramenters =======================

[ConfigParameters]
# Update count if more than default 30 entries #
ConfigParameterCount = 30

## UEFI CORE ##
PlatConfigFileName = "uefiplatWPBlue.cfg"
OsTypeString = "WP"
SerialPortBufferSize = 0x8000
SOC_HW_VERSION_RegAddr = 0xFD4A8000

## Turn on/off display while charging: 0=DISPLAY ON, 1=DISPLAY OFF ###
ChargingDispControl = 0

## Shared IMEM (Cookies, Offsets)
SharedIMEMBaseAddr = 0xFC42B000
MassStorageCookieAddr = 0xFC42B000
MassStorageCookieOffset = 0x0
MemoryCaptureModeOffset = 0xC
AbnormalResetOccurredOffset = 0x20
# HTC_CSP_START, #21487(Dybert_Wang), Add
WarmResetMagicOffset = 0xC4
# HTC_CSP_END

## MPPark ##
NumCpus = 4

## USB ##
USBHS1_Config = 0x1
UsbFnIoRevNum = 0x00010001

## Buttons / KeyPad ##
PwrBtnShutdownFlag = 0x0

## SDCC ##
Sdc1GpioConfigOn = 0x1E92
Sdc2GpioConfigOn = 0x1E92
Sdc1GpioConfigOff = 0xA00
Sdc2GpioConfigOff = 0xA00
## SDCC DDR Mode 0:Disabled, Non-zero: Enabled ##
SdccDDRModeEnable = 0x1
## SDHC Mode 0:Legacy Mode, Non-zero: SDHC Mode ##
EnableSDHCSwitch = 0x1

## RPMB Half Sector Granularity (for one RPMB transfer) ##
RpmbHalfSectorGranularity = 2

## TSENS ##
TsensHighTemp = 85
TsensLowTemp = 70
TsensWaitTimeus = 500000

## Reset ##
PSHoldOffset = 0xB000
PSHoldSHFT = 0x0

## Offline Crash Dump ##
OCDReservedMemorySize = 0x00200000

[HWVersionConfig.0x00000200]
## UEFI CORE ##
MassStorageCookieAddr = 0xFE805000
SharedIMEMBaseAddr = 0xFE805000

## NOTE: Do not remove last newline, required by parser ##