]> git.proxmox.com Git - mirror_edk2.git/blob - OldMdePkg/Library/PeiServicesTablePointerLibKr1/Ipf/WriteKr1.s
Fixed build break by removing missing include file. Made code compile by not assuming...
[mirror_edk2.git] / OldMdePkg / Library / PeiServicesTablePointerLibKr1 / Ipf / WriteKr1.s
1 //++
2 //
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
10 // Intel Corporation.
11 //
12 //
13 // Module Name:
14 //
15 // WriteKr1.s
16 //
17 // Abstract:
18 //
19 // Contains assembly code for write Kr1.
20 //
21 //--
22
23 .file "WriteKr1.s"
24
25 #include "IpfMacro.i"
26
27 //---------------------------------------------------------------------------------
28 //++
29 // AsmWriteKr1
30 //
31 // This routine is used to Write KR1. KR1 is used to store Pei Service Table
32 // Pointer in archeture.
33 //
34 // Arguments : r32 Pei Services Table Pointer
35 //
36 // On Entry : None.
37 //
38 // Return Value: None.
39 //
40 //--
41 //----------------------------------------------------------------------------------
42 PROCEDURE_ENTRY (AsmWriteKr1)
43
44 mov ar.k1 = r32;; // Pei Services Table Pointer
45 br.ret.dpnt b0;;
46
47 PROCEDURE_EXIT (AsmWriteKr1)
48