aboutsummaryrefslogtreecommitdiff
path: root/APEX_1.4/NvParameterized/src/PlatformABI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'APEX_1.4/NvParameterized/src/PlatformABI.cpp')
-rw-r--r--APEX_1.4/NvParameterized/src/PlatformABI.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/APEX_1.4/NvParameterized/src/PlatformABI.cpp b/APEX_1.4/NvParameterized/src/PlatformABI.cpp
index 6062cdfe..c2d32b64 100644
--- a/APEX_1.4/NvParameterized/src/PlatformABI.cpp
+++ b/APEX_1.4/NvParameterized/src/PlatformABI.cpp
@@ -167,6 +167,21 @@ Serializer::ErrorType PlatformABI::GetPredefinedABI(const SerializePlatform &pla
return Serializer::ERROR_NONE;
}
+ NV_BOOL_ERR_CHECK_RETURN(GetPlatform("HOSARM32", knownPlatform), Serializer::ERROR_UNKNOWN);
+ if (knownPlatform == platform)
+ {
+ //Default params are ok
+ return Serializer::ERROR_NONE;
+ }
+
+ NV_BOOL_ERR_CHECK_RETURN(GetPlatform("HOSARM64", knownPlatform), Serializer::ERROR_UNKNOWN);
+ if (knownPlatform == platform)
+ {
+ params.doReuseParentPadding = true;
+ params.sizes.pointer = params.aligns.pointer = 8;
+ return Serializer::ERROR_NONE;
+ }
+
//Add new platforms here
return Serializer::ERROR_INVALID_PLATFORM_NAME;