;------------------------------------------------------------------------------\r
;\r
-; Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>\r
+; Copyright (c) 2006 - 2022, Intel Corporation. All rights reserved.<BR>\r
; SPDX-License-Identifier: BSD-2-Clause-Patent\r
;\r
; Module Name:\r
sub eax, 4 ; eax <- One slot below transition code on the stack\r
push rcx ; push Cs to stack\r
push r10 ; push address of tansition code on stack\r
- DB 0x48 ; prefix to composite "retq" with next "retf"\r
- retf ; Use far return to load CS register from stack\r
+ retfq\r
\r
; Start of transition code\r
.0:\r