···11#ifndef __ALPHA_LCA__H__22#define __ALPHA_LCA__H__3344-#include <asm/system.h>54#include <asm/compiler.h>55+#include <asm/mce.h>6677/*88 * Low Cost Alpha (LCA) definitions (these apply to 21066 and 21068,
+1
arch/alpha/include/asm/core_mcpcia.h
···7788#include <linux/types.h>99#include <asm/compiler.h>1010+#include <asm/mce.h>10111112/*1213 * MCPCIA is the internal name for a core logic chipset which provides
-1
arch/alpha/include/asm/core_t2.h
···77#include <linux/types.h>88#include <linux/spinlock.h>99#include <asm/compiler.h>1010-#include <asm/system.h>11101211/*1312 * T2 is the internal name for the core logic chipset which provides
+1
arch/alpha/include/asm/elf.h
···22#define __ASM_ALPHA_ELF_H3344#include <asm/auxvec.h>55+#include <asm/special_insns.h>5667/* Special values for the st_other field in the symbol table. */78
···11+#ifndef __ALPHA_MCE_H22+#define __ALPHA_MCE_H33+44+/*55+ * This is the logout header that should be common to all platforms66+ * (assuming they are running OSF/1 PALcode, I guess).77+ */88+struct el_common {99+ unsigned int size; /* size in bytes of logout area */1010+ unsigned int sbz1 : 30; /* should be zero */1111+ unsigned int err2 : 1; /* second error */1212+ unsigned int retry : 1; /* retry flag */1313+ unsigned int proc_offset; /* processor-specific offset */1414+ unsigned int sys_offset; /* system-specific offset */1515+ unsigned int code; /* machine check code */1616+ unsigned int frame_rev; /* frame revision */1717+};1818+1919+/* Machine Check Frame for uncorrectable errors (Large format)2020+ * --- This is used to log uncorrectable errors such as2121+ * double bit ECC errors.2222+ * --- These errors are detected by both processor and systems.2323+ */2424+struct el_common_EV5_uncorrectable_mcheck {2525+ unsigned long shadow[8]; /* Shadow reg. 8-14, 25 */2626+ unsigned long paltemp[24]; /* PAL TEMP REGS. */2727+ unsigned long exc_addr; /* Address of excepting instruction*/2828+ unsigned long exc_sum; /* Summary of arithmetic traps. */2929+ unsigned long exc_mask; /* Exception mask (from exc_sum). */3030+ unsigned long pal_base; /* Base address for PALcode. */3131+ unsigned long isr; /* Interrupt Status Reg. */3232+ unsigned long icsr; /* CURRENT SETUP OF EV5 IBOX */3333+ unsigned long ic_perr_stat; /* I-CACHE Reg. <11> set Data parity3434+ <12> set TAG parity*/3535+ unsigned long dc_perr_stat; /* D-CACHE error Reg. Bits set to 1:3636+ <2> Data error in bank 03737+ <3> Data error in bank 13838+ <4> Tag error in bank 03939+ <5> Tag error in bank 1 */4040+ unsigned long va; /* Effective VA of fault or miss. */4141+ unsigned long mm_stat; /* Holds the reason for D-stream 4242+ fault or D-cache parity errors */4343+ unsigned long sc_addr; /* Address that was being accessed4444+ when EV5 detected Secondary cache4545+ failure. */4646+ unsigned long sc_stat; /* Helps determine if the error was4747+ TAG/Data parity(Secondary Cache)*/4848+ unsigned long bc_tag_addr; /* Contents of EV5 BC_TAG_ADDR */4949+ unsigned long ei_addr; /* Physical address of any transfer5050+ that is logged in EV5 EI_STAT */5151+ unsigned long fill_syndrome; /* For correcting ECC errors. */5252+ unsigned long ei_stat; /* Helps identify reason of any 5353+ processor uncorrectable error5454+ at its external interface. */5555+ unsigned long ld_lock; /* Contents of EV5 LD_LOCK register*/5656+};5757+5858+struct el_common_EV6_mcheck {5959+ unsigned int FrameSize; /* Bytes, including this field */6060+ unsigned int FrameFlags; /* <31> = Retry, <30> = Second Error */6161+ unsigned int CpuOffset; /* Offset to CPU-specific info */6262+ unsigned int SystemOffset; /* Offset to system-specific info */6363+ unsigned int MCHK_Code;6464+ unsigned int MCHK_Frame_Rev;6565+ unsigned long I_STAT; /* EV6 Internal Processor Registers */6666+ unsigned long DC_STAT; /* (See the 21264 Spec) */6767+ unsigned long C_ADDR;6868+ unsigned long DC1_SYNDROME;6969+ unsigned long DC0_SYNDROME;7070+ unsigned long C_STAT;7171+ unsigned long C_STS;7272+ unsigned long MM_STAT;7373+ unsigned long EXC_ADDR;7474+ unsigned long IER_CM;7575+ unsigned long ISUM;7676+ unsigned long RESERVED0;7777+ unsigned long PAL_BASE;7878+ unsigned long I_CTL;7979+ unsigned long PCTX;8080+};8181+8282+8383+#endif /* __ALPHA_MCE_H */
···3344#define COMMAND_LINE_SIZE 2565566+/*77+ * We leave one page for the initial stack page, and one page for88+ * the initial process structure. Also, the console eats 3 MB for99+ * the initial bootloader (one of which we can reclaim later).1010+ */1111+#define BOOT_PCB 0x200000001212+#define BOOT_ADDR 0x200000001313+/* Remove when official MILO sources have ELF support: */1414+#define BOOT_SIZE (16*1024)1515+1616+#ifdef CONFIG_ALPHA_LEGACY_START_ADDRESS1717+#define KERNEL_START_PHYS 0x300000 /* Old bootloaders hardcoded this. */1818+#else1919+#define KERNEL_START_PHYS 0x1000000 /* required: Wildfire/Titan/Marvel */2020+#endif2121+2222+#define KERNEL_START (PAGE_OFFSET+KERNEL_START_PHYS)2323+#define SWAPPER_PGD KERNEL_START2424+#define INIT_STACK (PAGE_OFFSET+KERNEL_START_PHYS+0x02000)2525+#define EMPTY_PGT (PAGE_OFFSET+KERNEL_START_PHYS+0x04000)2626+#define EMPTY_PGE (PAGE_OFFSET+KERNEL_START_PHYS+0x08000)2727+#define ZERO_PGE (PAGE_OFFSET+KERNEL_START_PHYS+0x0A000)2828+2929+#define START_ADDR (PAGE_OFFSET+KERNEL_START_PHYS+0x10000)3030+3131+/*3232+ * This is setup by the secondary bootstrap loader. Because3333+ * the zero page is zeroed out as soon as the vm system is3434+ * initialized, we need to copy things out into a more permanent3535+ * place.3636+ */3737+#define PARAM ZERO_PGE3838+#define COMMAND_LINE ((char*)(PARAM + 0x0000))3939+#define INITRD_START (*(unsigned long *) (PARAM+0x100))4040+#define INITRD_SIZE (*(unsigned long *) (PARAM+0x108))4141+642#endif