Deleted Added
full compact
sal.h (84122) sal.h (85656)
1/*-
2 * Copyright (c) 2001 Doug Rabson
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 9 unchanged lines hidden (view full) ---

18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
1/*-
2 * Copyright (c) 2001 Doug Rabson
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 9 unchanged lines hidden (view full) ---

18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
26 * $FreeBSD: head/sys/ia64/include/sal.h 84122 2001-09-29 11:01:24Z dfr $
26 * $FreeBSD: head/sys/ia64/include/sal.h 85656 2001-10-29 02:16:02Z marcel $
27 */
28
29#ifndef _MACHINE_SAL_H_
30#define _MACHINE_SAL_H_
31
32struct sal_system_table {
33 char sal_signature[4];
34 u_int32_t sal_length;

--- 73 unchanged lines hidden (view full) ---

108#define SAL_REGISTER_PHYSICAL_ADDR 0x01000006
109#define SAL_CACHE_FLUSH 0x01000008
110#define SAL_CACHE_INIT 0x01000009
111#define SAL_PCI_CONFIG_READ 0x01000010
112#define SAL_PCI_CONFIG_WRITE 0x01000011
113#define SAL_FREQ_BASE 0x01000012
114#define SAL_UPDATE_PAL 0x01000020
115
27 */
28
29#ifndef _MACHINE_SAL_H_
30#define _MACHINE_SAL_H_
31
32struct sal_system_table {
33 char sal_signature[4];
34 u_int32_t sal_length;

--- 73 unchanged lines hidden (view full) ---

108#define SAL_REGISTER_PHYSICAL_ADDR 0x01000006
109#define SAL_CACHE_FLUSH 0x01000008
110#define SAL_CACHE_INIT 0x01000009
111#define SAL_PCI_CONFIG_READ 0x01000010
112#define SAL_PCI_CONFIG_WRITE 0x01000011
113#define SAL_FREQ_BASE 0x01000012
114#define SAL_UPDATE_PAL 0x01000020
115
116/* SAL_SET_VECTORS event handler types */
117#define SAL_OS_MCA 0
118#define SAL_OS_INIT 1
119#define SAL_OS_BOOT_RENDEZ 2
120
116struct ia64_sal_result {
117 int64_t sal_status;
118 u_int64_t sal_result[3];
119};
120
121typedef struct ia64_sal_result sal_entry_t
122 (u_int64_t, u_int64_t, u_int64_t, u_int64_t,
123 u_int64_t, u_int64_t, u_int64_t, u_int64_t);
124
125extern void ia64_sal_init(struct sal_system_table *saltab);
126extern sal_entry_t *ia64_sal_entry;
127
128#endif /* _MACHINE_SAL_H_ */
121struct ia64_sal_result {
122 int64_t sal_status;
123 u_int64_t sal_result[3];
124};
125
126typedef struct ia64_sal_result sal_entry_t
127 (u_int64_t, u_int64_t, u_int64_t, u_int64_t,
128 u_int64_t, u_int64_t, u_int64_t, u_int64_t);
129
130extern void ia64_sal_init(struct sal_system_table *saltab);
131extern sal_entry_t *ia64_sal_entry;
132
133#endif /* _MACHINE_SAL_H_ */