3
// Copyright (c) 1996-99 Intel Corp.
6
// INTEL CORPORATION PROPRIETARY INFORMATION
8
// This software is supplied under the terms of a license
9
// agreement or nondisclosure agreement with Intel Corpo-
10
// ration and may not be copied or disclosed except in
11
// accordance with the terms of that agreement.
21
// This module contains generic macros for an IA64 assembly writer.
30
#define PROCEDURE_ENTRY(name) .##text; \
31
.##type name, @function; \
36
#define PROCEDURE_EXIT(name) .##endp name
38
// Note: use of NESTED_SETUP requires number of locals (l) >= 3
40
#define NESTED_SETUP(i,l,o,r) \
41
alloc loc1=ar##.##pfs,i,l,o,r ;\
44
#define NESTED_RETURN \
46
mov ar##.##pfs=loc1 ;;\
47
br##.##ret##.##dpnt b0;;
50
// defines needed in palproc.s
52
#define PAL_MC_CLEAR_LOG 0x0015
53
#define PAL_MC_DRAIN 0x0016
54
#define PAL_MC_EXPECTED 0x0017
55
#define PAL_MC_DYNAMIC_STATE 0x0018
56
#define PAL_MC_ERROR_INFO 0x0019
57
#define PAL_MC_RESUME 0x001a
58
#define PAL_MC_REGISTER_MEM 0x001b