3 // Copyright (c) 2006 Intel Corporation. All rights reserved
4 // This software and associated documentation (if any) is furnished
5 // under a license and may only be used or copied in accordance
6 // with the terms of the license. Except as permitted by such
7 // license, no part of this software or documentation may be
8 // reproduced, stored in a retrieval system, or transmitted in any
9 // form or by any means without the express written consent of
19 // Contains assembly code for read Kr1.
27 //---------------------------------------------------------------------------------
31 // This routine is used to get KR1. KR1 is used to store Pei Service Table
32 // Pointer in archeture.
38 // Return Value: Pei Services Table.
41 //----------------------------------------------------------------------------------
42 PROCEDURE_ENTRY (AsmReadKr1)
44 mov r8 = ar.k1;; // Pei Services Table Pointer
47 PROCEDURE_EXIT (AsmReadKr1)