aboutsummaryrefslogtreecommitdiff
path: root/hw/acpi/aml-build-stub.c
blob: 8d8ad1a314976368c2748e015ca9252eca021f5c (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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
/*
 * ACPI aml builder stubs for platforms that don't support ACPI.
 *
 * Copyright (c) 2006 Fabrice Bellard
 * Copyright (c) 2016 Red Hat, Inc.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License along
 * with this program; if not, see <http://www.gnu.org/licenses/>.
 */

#include "qemu/osdep.h"
#include "hw/acpi/acpi.h"
#include "hw/acpi/aml-build.h"

void aml_append(Aml *parent_ctx, Aml *child)
{
}

Aml *aml_resource_template(void)
{
    return NULL;
}

Aml *aml_device(const char *name_format, ...)
{
    return NULL;
}

Aml *aml_eisaid(const char *str)
{
    return NULL;
}

Aml *aml_name_decl(const char *name, Aml *val)
{
    return NULL;
}

Aml *aml_io(AmlIODecode dec, uint16_t min_base, uint16_t max_base,
            uint8_t aln, uint8_t len)
{
    return NULL;
}

Aml *aml_irq_no_flags(uint8_t irq)
{
    return NULL;
}

Aml *aml_interrupt(AmlConsumerAndProducer con_and_pro,
                   AmlLevelAndEdge level_and_edge,
                   AmlActiveHighAndLow high_and_low, AmlShared shared,
                   uint32_t *irq_list, uint8_t irq_count)
{
    return NULL;
}

Aml *aml_memory32_fixed(uint32_t addr, uint32_t size,
                        AmlReadAndWrite read_and_write)
{
    return NULL;
}

Aml *aml_int(const uint64_t val)
{
    return NULL;
}

Aml *aml_package(uint8_t num_elements)
{
    return NULL;
}

Aml *aml_dma(AmlDmaType typ, AmlDmaBusMaster bm, AmlTransferSize sz,
             uint8_t channel)
{
    return NULL;
}

Aml *aml_buffer(int buffer_size, uint8_t *byte_list)
{
    return NULL;
}