ia64/linux-2.6.18-xen.hg

view include/asm-m68k/adb_iop.h @ 452:c7ed6fe5dca0

kexec: dont initialise regions in reserve_memory()

There is no need to initialise efi_memmap_res and boot_param_res in
reserve_memory() for the initial xen domain as it is done in
machine_kexec_setup_resources() using values from the kexec hypercall.

Signed-off-by: Simon Horman <horms@verge.net.au>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Feb 28 10:55:18 2008 +0000 (2008-02-28)
parents 831230e53067
children
line source
1 /*
2 * ADB through the IOP
3 * Written by Joshua M. Thompson
4 */
6 /* IOP number and channel number for ADB */
8 #define ADB_IOP IOP_NUM_ISM
9 #define ADB_CHAN 2
11 /* From the A/UX headers...maybe important, maybe not */
13 #define ADB_IOP_LISTEN 0x01
14 #define ADB_IOP_TALK 0x02
15 #define ADB_IOP_EXISTS 0x04
16 #define ADB_IOP_FLUSH 0x08
17 #define ADB_IOP_RESET 0x10
18 #define ADB_IOP_INT 0x20
19 #define ADB_IOP_POLL 0x40
20 #define ADB_IOP_UNINT 0x80
22 #define AIF_RESET 0x00
23 #define AIF_FLUSH 0x01
24 #define AIF_LISTEN 0x08
25 #define AIF_TALK 0x0C
27 /* Flag bits in struct adb_iopmsg */
29 #define ADB_IOP_EXPLICIT 0x80 /* nonzero if explicit command */
30 #define ADB_IOP_AUTOPOLL 0x40 /* auto/SRQ polling enabled */
31 #define ADB_IOP_SRQ 0x04 /* SRQ detected */
32 #define ADB_IOP_TIMEOUT 0x02 /* nonzero if timeout */
34 #ifndef __ASSEMBLY__
36 struct adb_iopmsg {
37 __u8 flags; /* ADB flags */
38 __u8 count; /* no. of data bytes */
39 __u8 cmd; /* ADB command */
40 __u8 data[8]; /* ADB data */
41 __u8 spare[21]; /* spare */
42 };
44 #endif /* __ASSEMBLY__ */