summaryrefslogtreecommitdiffstats
path: root/src/usr/hwpf/hwp/core_activate/proc_prep_master_winkle/proc_sbe_trigger_winkle.H
blob: dc6161377a230cca9cad2931d147521dd1d8f4a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/* IBM_PROLOG_BEGIN_TAG                                                   */
/* This is an automatically generated prolog.                             */
/*                                                                        */
/* $Source: src/usr/hwpf/hwp/core_activate/proc_prep_master_winkle/proc_sbe_trigger_winkle.H $ */
/*                                                                        */
/* IBM CONFIDENTIAL                                                       */
/*                                                                        */
/* COPYRIGHT International Business Machines Corp. 2012,2014              */
/*                                                                        */
/* p1                                                                     */
/*                                                                        */
/* Object Code Only (OCO) source materials                                */
/* Licensed Internal Code Source Materials                                */
/* IBM HostBoot Licensed Internal Code                                    */
/*                                                                        */
/* The source code for this program is not published or otherwise         */
/* divested of its trade secrets, irrespective of what has been           */
/* deposited with the U.S. Copyright Office.                              */
/*                                                                        */
/* Origin: 30                                                             */
/*                                                                        */
/* IBM_PROLOG_END_TAG                                                     */
// $Id: proc_sbe_trigger_winkle.H,v 1.8 2013/10/18 17:23:48 jeshua Exp $

/// Substep numbers for the proc_sbe_trigger_winkle procedure

#ifndef __PROC_SBE_TRIGGER_WINKLE_H
#define __PROC_SBE_TRIGGER_WINKLE_H

#include "fapi_sbe_common.H"
#include "sbe_vital.H"

//NOTE: The following values must stay constant as HB looks for them
CONST_UINT8_T(SUBSTEP_PROC_ENTRY,                   ULL(0x0));
CONST_UINT8_T(SUBSTEP_SBE_READY,                    ULL(0x1));
CONST_UINT8_T(SUBSTEP_DEADMAN_START,                ULL(0x2));
CONST_UINT8_T(SUBSTEP_DEADMAN_WAITING_FOR_WINKLE,   ULL(0x3));
CONST_UINT8_T(SUBSTEP_DEADMAN_WAITING_FOR_WAKEUP,   ULL(0x4));
CONST_UINT8_T(SUBSTEP_DEADMAN_WAITING_FOR_HOSTBOOT, ULL(0x5));
CONST_UINT8_T(SUBSTEP_HOSTBOOT_ALIVE_AGAIN,         ULL(0x6));

#ifdef __ASSEMBLER__
// The location in the proc_sbe_trigger_winkle_control
// containing the mask of threads to start
//WARNING: if thread_start_vector_start is changed from 16,
//then the code needs to be updated to shift it to bit 16
.set THREAD_START_VECTOR_START, 16
.set THREAD_START_VECTOR_LENGTH, 8
#endif

#endif  // __PROC_SBE_TRIGGER_WINKLE_H
OpenPOWER on IntegriCloud