Path: blob/master/arch/powerpc/platforms/iseries/ipl_parms.h
10820 views
/*1* Copyright (C) 2001 Mike Corrigan IBM Corporation2*3* This program is free software; you can redistribute it and/or modify4* it under the terms of the GNU General Public License as published by5* the Free Software Foundation; either version 2 of the License, or6* (at your option) any later version.7*8* This program is distributed in the hope that it will be useful,9* but WITHOUT ANY WARRANTY; without even the implied warranty of10* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the11* GNU General Public License for more details.12*13* You should have received a copy of the GNU General Public License14* along with this program; if not, write to the Free Software15* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA16*/17#ifndef _ISERIES_IPL_PARMS_H18#define _ISERIES_IPL_PARMS_H1920/*21* This struct maps the IPL Parameters DMA'd from the SP.22*23* Warning:24* This data must map in exactly 64 bytes and match the architecture for25* the IPL parms26*/2728#include <asm/types.h>2930struct ItIplParmsReal {31u8 xFormat; // Defines format of IplParms x00-x0032u8 xRsvd01:6; // Reserved x01-x0133u8 xAlternateSearch:1; // Alternate search indicator ...34u8 xUaSupplied:1; // UA Supplied on programmed IPL...35u8 xLsUaFormat; // Format byte for UA x02-x0236u8 xRsvd02; // Reserved x03-x0337u32 xLsUa; // LS UA x04-x0738u32 xUnusedLsLid; // First OS LID to load x08-x0B39u16 xLsBusNumber; // LS Bus Number x0C-x0D40u8 xLsCardAdr; // LS Card Address x0E-x0E41u8 xLsBoardAdr; // LS Board Address x0F-x0F42u32 xRsvd03; // Reserved x10-x1343u8 xSpcnPresent:1; // SPCN present x14-x1444u8 xCpmPresent:1; // CPM present ...45u8 xRsvd04:6; // Reserved ...46u8 xRsvd05:4; // Reserved x15-x1547u8 xKeyLock:4; // Keylock setting ...48u8 xRsvd06:6; // Reserved x16-x1649u8 xIplMode:2; // Ipl mode (A|B|C|D) ...50u8 xHwIplType; // Fast v slow v slow EC HW IPL x17-x1751u16 xCpmEnabledIpl:1; // CPM in effect when IPL initiatedx18-x1952u16 xPowerOnResetIpl:1; // Indicate POR condition ...53u16 xMainStorePreserved:1; // Main Storage is preserved ...54u16 xRsvd07:13; // Reserved ...55u16 xIplSource:16; // Ipl source x1A-x1B56u8 xIplReason:8; // Reason for this IPL x1C-x1C57u8 xRsvd08; // Reserved x1D-x1D58u16 xRsvd09; // Reserved x1E-x1F59u16 xSysBoxType; // System Box Type x20-x2160u16 xSysProcType; // System Processor Type x22-x2361u32 xRsvd10; // Reserved x24-x2762u64 xRsvd11; // Reserved x28-x2F63u64 xRsvd12; // Reserved x30-x3764u64 xRsvd13; // Reserved x38-x3F65};6667#endif /* _ISERIES_IPL_PARMS_H */686970