;* Family of Customer Reference Boards. *;\r
;* *;\r
;* *;\r
-;* Copyright (c) 1999 - 2014, Intel Corporation. All rights reserved *;\r
+;* Copyright (c) 1999 - 2017, Intel Corporation. All rights reserved *;\r
;\r
; This program and the accompanying materials are licensed and made available under\r
; the terms and conditions of the BSD License that accompanies this distribution.\r
{\r
Store(DTS1,Local0)\r
}\r
- Return(Add(2732,Multiply(Local0,10)))\r
+ If (LEqual(And(Local0, 0x80), 0)) {\r
+ Return(Add(2732,Multiply(Local0,10)))\r
+ } else {\r
+ Add(Subtract(255, Local0), 1, Local0)\r
+ Return(Subtract(2732,Multiply(Local0,10)))\r
+ }\r
//\r
// Else return a static value if both EC and DTS are unavailable.\r
//\r