~pmdj/ubuntu/trusty/qemu/2.9+applesmc+fadtv3

« back to all changes in this revision

Viewing changes to roms/skiboot/include/fsp-mdst-table.h

  • Committer: Phil Dennis-Jordan
  • Date: 2017-07-21 08:03:43 UTC
  • mfrom: (1.1.1)
  • Revision ID: phil@philjordan.eu-20170721080343-2yr2vdj7713czahv
New upstream release 2.9.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* Copyright 2013-2014 IBM Corp.
 
2
 *
 
3
 * Licensed under the Apache License, Version 2.0 (the "License");
 
4
 * you may not use this file except in compliance with the License.
 
5
 * You may obtain a copy of the License at
 
6
 *
 
7
 *      http://www.apache.org/licenses/LICENSE-2.0
 
8
 *
 
9
 * Unless required by applicable law or agreed to in writing, software
 
10
 * distributed under the License is distributed on an "AS IS" BASIS,
 
11
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
 
12
 * implied.
 
13
 * See the License for the specific language governing permissions and
 
14
 * limitations under the License.
 
15
 */
 
16
 
 
17
 
 
18
#ifndef __FSPMDST_H
 
19
#define __FSPMDST_H
 
20
 
 
21
/*
 
22
 * Dump region ids
 
23
 *
 
24
 * 0x01 - 0x7F : OPAL
 
25
 * 0x80 - 0xFF : Kernel
 
26
 *
 
27
 */
 
28
#define DUMP_REGION_OPAL_START          0x01
 
29
#define DUMP_REGION_OPAL_END            0x7F
 
30
#define DUMP_REGION_HOST_START          OPAL_DUMP_REGION_HOST_START
 
31
#define DUMP_REGION_HOST_END            OPAL_DUMP_REGION_HOST_END
 
32
 
 
33
#define DUMP_REGION_CONSOLE     0x01
 
34
#define DUMP_REGION_HBRT_LOG    0x02
 
35
 
 
36
/*
 
37
 * Sapphire Memory Dump Source Table
 
38
 *
 
39
 * Format of this table is same as Memory Dump Source Table (MDST)
 
40
 * defined in HDAT spec.
 
41
 */
 
42
struct dump_mdst_table {
 
43
        __be64  addr;
 
44
        __be32  type; /* DUMP_SECTION_* */
 
45
        __be32  size;
 
46
};
 
47
 
 
48
#endif  /* __FSPMDST_H */