--- /dev/null
+//++\r
+//\r
+// Copyright (c) 2006 Intel Corporation. All rights reserved\r
+// This software and associated documentation (if any) is furnished\r
+// under a license and may only be used or copied in accordance\r
+// with the terms of the license. Except as permitted by such\r
+// license, no part of this software or documentation may be\r
+// reproduced, stored in a retrieval system, or transmitted in any\r
+// form or by any means without the express written consent of\r
+// Intel Corporation.\r
+//\r
+//\r
+// Module Name:\r
+//\r
+// WriteKr1.s\r
+//\r
+// Abstract:\r
+//\r
+// Contains assembly code for write Kr1.\r
+//\r
+//--\r
+\r
+ .file "WriteKr1.s"\r
+\r
+#include "IpfMacro.i"\r
+\r
+//---------------------------------------------------------------------------------\r
+//++\r
+// AsmWriteKr1\r
+//\r
+// This routine is used to Write KR1. KR1 is used to store Pei Service Table\r
+// Pointer in archeture.\r
+//\r
+// Arguments : r32 Pei Services Table Pointer\r
+//\r
+// On Entry : None.\r
+//\r
+// Return Value: None.\r
+// \r
+//--\r
+//----------------------------------------------------------------------------------\r
+PROCEDURE_ENTRY (AsmWriteKr1)\r
+ \r
+ mov ar.k1 = r32;; // Pei Services Table Pointer\r
+ br.ret.dpnt b0;;\r
+\r
+PROCEDURE_EXIT (AsmWriteKr1)\r
+
\ No newline at end of file