Frank Vibrans | 69da1b6 | 2011-02-14 19:04:45 +0000 | [diff] [blame] | 1 | /* |
| 2 | * This file is part of the coreboot project. |
| 3 | * |
| 4 | * Copyright (C) 2011 Advanced Micro Devices, Inc. |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify |
| 7 | * it under the terms of the GNU General Public License as published by |
| 8 | * the Free Software Foundation; version 2 of the License. |
| 9 | * |
| 10 | * This program is distributed in the hope that it will be useful, |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | * GNU General Public License for more details. |
| 14 | * |
| 15 | * You should have received a copy of the GNU General Public License |
| 16 | * along with this program; if not, write to the Free Software |
| 17 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
| 18 | */ |
| 19 | |
| 20 | #include <console/console.h> |
| 21 | #include <string.h> |
| 22 | #include <arch/acpi.h> |
| 23 | #include <arch/ioapic.h> |
Frank Vibrans | 69da1b6 | 2011-02-14 19:04:45 +0000 | [diff] [blame] | 24 | #include <device/pci.h> |
| 25 | #include <device/pci_ids.h> |
| 26 | #include <cpu/x86/msr.h> |
Frank Vibrans | 69da1b6 | 2011-02-14 19:04:45 +0000 | [diff] [blame] | 27 | #include "agesawrapper.h" |
Marc Jones | 84e0dfc | 2011-12-12 21:12:43 -0700 | [diff] [blame^] | 28 | #include <cpu/amd/mtrr.h> |
| 29 | #include <cpu/amd/amdfam14.h> |
Frank Vibrans | 69da1b6 | 2011-02-14 19:04:45 +0000 | [diff] [blame] | 30 | |
| 31 | #define DUMP_ACPI_TABLES 0 |
Frank Vibrans | 69da1b6 | 2011-02-14 19:04:45 +0000 | [diff] [blame] | 32 | |
| 33 | #if DUMP_ACPI_TABLES == 1 |
| 34 | |
| 35 | static void dump_mem(u32 start, u32 end) |
| 36 | { |
| 37 | |
Marc Jones | 522ba28 | 2012-01-03 16:02:07 -0700 | [diff] [blame] | 38 | u32 i; |
| 39 | print_debug("dump_mem:"); |
| 40 | for (i = start; i < end; i++) { |
| 41 | if ((i & 0xf) == 0) { |
| 42 | printk(BIOS_DEBUG, "\n%08x:", i); |
| 43 | } |
| 44 | printk(BIOS_DEBUG, " %02x", (u8)*((u8 *)i)); |
| 45 | } |
| 46 | print_debug("\n"); |
Frank Vibrans | 69da1b6 | 2011-02-14 19:04:45 +0000 | [diff] [blame] | 47 | } |
| 48 | #endif |
| 49 | |
| 50 | extern const unsigned char AmlCode[]; |
Frank Vibrans | 69da1b6 | 2011-02-14 19:04:45 +0000 | [diff] [blame] | 51 | |
Marc Jones | 84e0dfc | 2011-12-12 21:12:43 -0700 | [diff] [blame^] | 52 | unsigned long acpi_fill_ssdt_generator(unsigned long current, const char *oem_table_id) |
| 53 | { |
| 54 | int lens; |
| 55 | msr_t msr; |
| 56 | char pscope[] = "\\_SB.PCI0"; |
| 57 | |
| 58 | lens = acpigen_write_scope(pscope); |
| 59 | msr = rdmsr(TOP_MEM); |
| 60 | lens += acpigen_write_name_dword("TOM1", msr.lo); |
| 61 | msr = rdmsr(TOP_MEM2); |
| 62 | /* |
| 63 | * Since XP only implements parts of ACPI 2.0, we can't use a qword |
| 64 | * here. |
| 65 | * See http://www.acpi.info/presentations/S01USMOBS169_OS%2520new.ppt |
| 66 | * slide 22ff. |
| 67 | * Shift value right by 20 bit to make it fit into 32bit, |
| 68 | * giving us 1MB granularity and a limit of almost 4Exabyte of memory. |
| 69 | */ |
| 70 | lens += acpigen_write_name_dword("TOM2", (msr.hi << 12) | msr.lo >> 20); |
| 71 | acpigen_patch_len(lens - 1); |
| 72 | return (unsigned long) (acpigen_get_current()); |
| 73 | } |
Frank Vibrans | 69da1b6 | 2011-02-14 19:04:45 +0000 | [diff] [blame] | 74 | |
| 75 | unsigned long acpi_fill_mcfg(unsigned long current) |
| 76 | { |
Marc Jones | 522ba28 | 2012-01-03 16:02:07 -0700 | [diff] [blame] | 77 | /* Just a dummy */ |
| 78 | return current; |
Frank Vibrans | 69da1b6 | 2011-02-14 19:04:45 +0000 | [diff] [blame] | 79 | } |
| 80 | |
| 81 | unsigned long acpi_fill_madt(unsigned long current) |
| 82 | { |
Marc Jones | 522ba28 | 2012-01-03 16:02:07 -0700 | [diff] [blame] | 83 | /* create all subtables for processors */ |
Marc Jones | 84e0dfc | 2011-12-12 21:12:43 -0700 | [diff] [blame^] | 84 | current = acpi_create_madt_lapics(current); |
Stefan Reinauer | 5ff7c13 | 2011-10-31 12:56:45 -0700 | [diff] [blame] | 85 | |
Marc Jones | 522ba28 | 2012-01-03 16:02:07 -0700 | [diff] [blame] | 86 | /* Write SB800 IOAPIC, only one */ |
Marc Jones | 84e0dfc | 2011-12-12 21:12:43 -0700 | [diff] [blame^] | 87 | current += acpi_create_madt_ioapic((acpi_madt_ioapic_t *) current, |
| 88 | CONFIG_MAX_CPUS, IO_APIC_ADDR, 0); |
Frank Vibrans | 69da1b6 | 2011-02-14 19:04:45 +0000 | [diff] [blame] | 89 | |
Marc Jones | 522ba28 | 2012-01-03 16:02:07 -0700 | [diff] [blame] | 90 | current += acpi_create_madt_irqoverride((acpi_madt_irqoverride_t *) |
| 91 | current, 0, 0, 2, 0); |
Marc Jones | 84e0dfc | 2011-12-12 21:12:43 -0700 | [diff] [blame^] | 92 | current += acpi_create_madt_irqoverride((acpi_madt_irqoverride_t *) |
| 93 | current, 0, 9, 9, 0xF); |
Stefan Reinauer | 5ff7c13 | 2011-10-31 12:56:45 -0700 | [diff] [blame] | 94 | |
Marc Jones | 522ba28 | 2012-01-03 16:02:07 -0700 | [diff] [blame] | 95 | /* 0: mean bus 0--->ISA */ |
| 96 | /* 0: PIC 0 */ |
| 97 | /* 2: APIC 2 */ |
| 98 | /* 5 mean: 0101 --> Edige-triggered, Active high */ |
Frank Vibrans | 69da1b6 | 2011-02-14 19:04:45 +0000 | [diff] [blame] | 99 | |
Marc Jones | 522ba28 | 2012-01-03 16:02:07 -0700 | [diff] [blame] | 100 | /* create all subtables for processors */ |
Marc Jones | 84e0dfc | 2011-12-12 21:12:43 -0700 | [diff] [blame^] | 101 | /* current = acpi_create_madt_lapic_nmis(current, 5, 1); */ |
Marc Jones | 522ba28 | 2012-01-03 16:02:07 -0700 | [diff] [blame] | 102 | /* 1: LINT1 connect to NMI */ |
Frank Vibrans | 69da1b6 | 2011-02-14 19:04:45 +0000 | [diff] [blame] | 103 | |
Marc Jones | 522ba28 | 2012-01-03 16:02:07 -0700 | [diff] [blame] | 104 | return current; |
Frank Vibrans | 69da1b6 | 2011-02-14 19:04:45 +0000 | [diff] [blame] | 105 | } |
| 106 | |
| 107 | unsigned long acpi_fill_slit(unsigned long current) |
| 108 | { |
Marc Jones | 522ba28 | 2012-01-03 16:02:07 -0700 | [diff] [blame] | 109 | // Not implemented |
| 110 | return current; |
Frank Vibrans | 69da1b6 | 2011-02-14 19:04:45 +0000 | [diff] [blame] | 111 | } |
| 112 | |
| 113 | unsigned long acpi_fill_srat(unsigned long current) |
| 114 | { |
Marc Jones | 522ba28 | 2012-01-03 16:02:07 -0700 | [diff] [blame] | 115 | /* No NUMA, no SRAT */ |
| 116 | return current; |
Frank Vibrans | 69da1b6 | 2011-02-14 19:04:45 +0000 | [diff] [blame] | 117 | } |
| 118 | |
| 119 | unsigned long write_acpi_tables(unsigned long start) |
| 120 | { |
Marc Jones | 522ba28 | 2012-01-03 16:02:07 -0700 | [diff] [blame] | 121 | unsigned long current; |
| 122 | acpi_rsdp_t *rsdp; |
| 123 | acpi_rsdt_t *rsdt; |
| 124 | acpi_hpet_t *hpet; |
| 125 | acpi_madt_t *madt; |
| 126 | acpi_srat_t *srat; |
| 127 | acpi_slit_t *slit; |
| 128 | acpi_fadt_t *fadt; |
| 129 | acpi_facs_t *facs; |
| 130 | acpi_header_t *dsdt; |
| 131 | acpi_header_t *ssdt; |
Marc Jones | 84e0dfc | 2011-12-12 21:12:43 -0700 | [diff] [blame^] | 132 | acpi_header_t *ssdt2; |
Frank Vibrans | 69da1b6 | 2011-02-14 19:04:45 +0000 | [diff] [blame] | 133 | |
Marc Jones | 522ba28 | 2012-01-03 16:02:07 -0700 | [diff] [blame] | 134 | get_bus_conf(); /* it will get sblk, pci1234, hcdn, and sbdn */ |
Frank Vibrans | 69da1b6 | 2011-02-14 19:04:45 +0000 | [diff] [blame] | 135 | |
Marc Jones | 522ba28 | 2012-01-03 16:02:07 -0700 | [diff] [blame] | 136 | /* Align ACPI tables to 16 bytes */ |
| 137 | start = (start + 0x0f) & -0x10; |
| 138 | current = start; |
Frank Vibrans | 69da1b6 | 2011-02-14 19:04:45 +0000 | [diff] [blame] | 139 | |
Marc Jones | 522ba28 | 2012-01-03 16:02:07 -0700 | [diff] [blame] | 140 | printk(BIOS_INFO, "ACPI: Writing ACPI tables at %lx...\n", start); |
Frank Vibrans | 69da1b6 | 2011-02-14 19:04:45 +0000 | [diff] [blame] | 141 | |
Marc Jones | 522ba28 | 2012-01-03 16:02:07 -0700 | [diff] [blame] | 142 | /* We need at least an RSDP and an RSDT Table */ |
| 143 | rsdp = (acpi_rsdp_t *) current; |
| 144 | current += sizeof(acpi_rsdp_t); |
| 145 | rsdt = (acpi_rsdt_t *) current; |
| 146 | current += sizeof(acpi_rsdt_t); |
Frank Vibrans | 69da1b6 | 2011-02-14 19:04:45 +0000 | [diff] [blame] | 147 | |
Marc Jones | 522ba28 | 2012-01-03 16:02:07 -0700 | [diff] [blame] | 148 | /* clear all table memory */ |
| 149 | memset((void *)start, 0, current - start); |
Frank Vibrans | 69da1b6 | 2011-02-14 19:04:45 +0000 | [diff] [blame] | 150 | |
Marc Jones | 522ba28 | 2012-01-03 16:02:07 -0700 | [diff] [blame] | 151 | acpi_write_rsdp(rsdp, rsdt, NULL); |
| 152 | acpi_write_rsdt(rsdt); |
Frank Vibrans | 69da1b6 | 2011-02-14 19:04:45 +0000 | [diff] [blame] | 153 | |
Marc Jones | 522ba28 | 2012-01-03 16:02:07 -0700 | [diff] [blame] | 154 | /* DSDT */ |
| 155 | current = ( current + 0x07) & -0x08; |
| 156 | printk(BIOS_DEBUG, "ACPI: * DSDT at %lx\n", current); |
Marc Jones | 84e0dfc | 2011-12-12 21:12:43 -0700 | [diff] [blame^] | 157 | dsdt = (acpi_header_t *)current; |
Marc Jones | 522ba28 | 2012-01-03 16:02:07 -0700 | [diff] [blame] | 158 | memcpy(dsdt, &AmlCode, sizeof(acpi_header_t)); |
| 159 | current += dsdt->length; |
| 160 | memcpy(dsdt, &AmlCode, dsdt->length); |
| 161 | printk(BIOS_DEBUG, "ACPI: * DSDT @ %p Length %x\n",dsdt,dsdt->length); |
Scott Duplichan | 20aad25 | 2011-05-20 00:06:09 +0000 | [diff] [blame] | 162 | |
Marc Jones | 522ba28 | 2012-01-03 16:02:07 -0700 | [diff] [blame] | 163 | /* FACS */ // it needs 64 bit alignment |
| 164 | current = ( current + 0x07) & -0x08; |
| 165 | printk(BIOS_DEBUG, "ACPI: * FACS at %lx\n", current); |
Marc Jones | 84e0dfc | 2011-12-12 21:12:43 -0700 | [diff] [blame^] | 166 | facs = (acpi_facs_t *) current; |
Marc Jones | 522ba28 | 2012-01-03 16:02:07 -0700 | [diff] [blame] | 167 | current += sizeof(acpi_facs_t); |
| 168 | acpi_create_facs(facs); |
Scott Duplichan | 20aad25 | 2011-05-20 00:06:09 +0000 | [diff] [blame] | 169 | |
Marc Jones | 522ba28 | 2012-01-03 16:02:07 -0700 | [diff] [blame] | 170 | /* FADT */ |
| 171 | current = ( current + 0x07) & -0x08; |
| 172 | printk(BIOS_DEBUG, "ACPI: * FADT at %lx\n", current); |
| 173 | fadt = (acpi_fadt_t *) current; |
| 174 | current += sizeof(acpi_fadt_t); |
Scott Duplichan | 20aad25 | 2011-05-20 00:06:09 +0000 | [diff] [blame] | 175 | |
Marc Jones | 522ba28 | 2012-01-03 16:02:07 -0700 | [diff] [blame] | 176 | acpi_create_fadt(fadt, facs, dsdt); |
| 177 | acpi_add_table(rsdp, fadt); |
Scott Duplichan | 20aad25 | 2011-05-20 00:06:09 +0000 | [diff] [blame] | 178 | |
Marc Jones | 522ba28 | 2012-01-03 16:02:07 -0700 | [diff] [blame] | 179 | /* |
| 180 | * We explicitly add these tables later on: |
| 181 | */ |
Marc Jones | 522ba28 | 2012-01-03 16:02:07 -0700 | [diff] [blame] | 182 | current = ( current + 0x07) & -0x08; |
| 183 | printk(BIOS_DEBUG, "ACPI: * HPET at %lx\n", current); |
| 184 | hpet = (acpi_hpet_t *) current; |
| 185 | current += sizeof(acpi_hpet_t); |
| 186 | acpi_create_hpet(hpet); |
| 187 | acpi_add_table(rsdp, hpet); |
Frank Vibrans | 69da1b6 | 2011-02-14 19:04:45 +0000 | [diff] [blame] | 188 | |
Marc Jones | 522ba28 | 2012-01-03 16:02:07 -0700 | [diff] [blame] | 189 | /* If we want to use HPET Timers Linux wants an MADT */ |
| 190 | current = ( current + 0x07) & -0x08; |
| 191 | printk(BIOS_DEBUG, "ACPI: * MADT at %lx\n",current); |
| 192 | madt = (acpi_madt_t *) current; |
| 193 | acpi_create_madt(madt); |
| 194 | current += madt->header.length; |
| 195 | acpi_add_table(rsdp, madt); |
Frank Vibrans | 69da1b6 | 2011-02-14 19:04:45 +0000 | [diff] [blame] | 196 | |
Marc Jones | 522ba28 | 2012-01-03 16:02:07 -0700 | [diff] [blame] | 197 | /* SRAT */ |
| 198 | current = ( current + 0x07) & -0x08; |
| 199 | printk(BIOS_DEBUG, "ACPI: * SRAT at %lx\n", current); |
| 200 | srat = (acpi_srat_t *) agesawrapper_getlateinitptr (PICK_SRAT); |
| 201 | if (srat != NULL) { |
Marc Jones | 84e0dfc | 2011-12-12 21:12:43 -0700 | [diff] [blame^] | 202 | memcpy((void *)current, srat, srat->header.length); |
Marc Jones | 522ba28 | 2012-01-03 16:02:07 -0700 | [diff] [blame] | 203 | srat = (acpi_srat_t *) current; |
Marc Jones | 522ba28 | 2012-01-03 16:02:07 -0700 | [diff] [blame] | 204 | current += srat->header.length; |
| 205 | acpi_add_table(rsdp, srat); |
| 206 | } |
Marc Jones | 84e0dfc | 2011-12-12 21:12:43 -0700 | [diff] [blame^] | 207 | else { |
| 208 | printk(BIOS_DEBUG, " AGESA SRAT table NULL. Skipping.\n"); |
| 209 | } |
Frank Vibrans | 69da1b6 | 2011-02-14 19:04:45 +0000 | [diff] [blame] | 210 | |
Marc Jones | 522ba28 | 2012-01-03 16:02:07 -0700 | [diff] [blame] | 211 | /* SLIT */ |
| 212 | current = ( current + 0x07) & -0x08; |
| 213 | printk(BIOS_DEBUG, "ACPI: * SLIT at %lx\n", current); |
| 214 | slit = (acpi_slit_t *) agesawrapper_getlateinitptr (PICK_SLIT); |
| 215 | if (slit != NULL) { |
Marc Jones | 84e0dfc | 2011-12-12 21:12:43 -0700 | [diff] [blame^] | 216 | memcpy((void *)current, slit, slit->header.length); |
Marc Jones | 522ba28 | 2012-01-03 16:02:07 -0700 | [diff] [blame] | 217 | slit = (acpi_slit_t *) current; |
Marc Jones | 522ba28 | 2012-01-03 16:02:07 -0700 | [diff] [blame] | 218 | current += slit->header.length; |
| 219 | acpi_add_table(rsdp, slit); |
| 220 | } |
Marc Jones | 84e0dfc | 2011-12-12 21:12:43 -0700 | [diff] [blame^] | 221 | else { |
| 222 | printk(BIOS_DEBUG, " AGESA SLIT table NULL. Skipping.\n"); |
| 223 | } |
Frank Vibrans | 69da1b6 | 2011-02-14 19:04:45 +0000 | [diff] [blame] | 224 | |
Marc Jones | 522ba28 | 2012-01-03 16:02:07 -0700 | [diff] [blame] | 225 | /* SSDT */ |
| 226 | current = ( current + 0x0f) & -0x10; |
Marc Jones | 84e0dfc | 2011-12-12 21:12:43 -0700 | [diff] [blame^] | 227 | printk(BIOS_DEBUG, "ACPI: * AGESA SSDT Pstate at %lx\n", current); |
Marc Jones | 522ba28 | 2012-01-03 16:02:07 -0700 | [diff] [blame] | 228 | ssdt = (acpi_header_t *)agesawrapper_getlateinitptr (PICK_PSTATE); |
| 229 | if (ssdt != NULL) { |
Marc Jones | 84e0dfc | 2011-12-12 21:12:43 -0700 | [diff] [blame^] | 230 | memcpy((void *)current, ssdt, ssdt->length); |
Marc Jones | 522ba28 | 2012-01-03 16:02:07 -0700 | [diff] [blame] | 231 | ssdt = (acpi_header_t *) current; |
| 232 | current += ssdt->length; |
| 233 | } |
| 234 | else { |
Marc Jones | 84e0dfc | 2011-12-12 21:12:43 -0700 | [diff] [blame^] | 235 | printk(BIOS_DEBUG, " AGESA SSDT table NULL. Skipping.\n"); |
Marc Jones | 522ba28 | 2012-01-03 16:02:07 -0700 | [diff] [blame] | 236 | } |
| 237 | acpi_add_table(rsdp,ssdt); |
Frank Vibrans | 69da1b6 | 2011-02-14 19:04:45 +0000 | [diff] [blame] | 238 | |
Marc Jones | 84e0dfc | 2011-12-12 21:12:43 -0700 | [diff] [blame^] | 239 | current = ( current + 0x0f) & -0x10; |
| 240 | printk(BIOS_DEBUG, "ACPI: * coreboot TOM SSDT2 at %lx\n", current); |
| 241 | ssdt2 = (acpi_header_t *) current; |
| 242 | acpi_create_ssdt_generator(ssdt2, ACPI_TABLE_CREATOR); |
| 243 | current += ssdt2->length; |
| 244 | acpi_add_table(rsdp,ssdt2); |
Frank Vibrans | 69da1b6 | 2011-02-14 19:04:45 +0000 | [diff] [blame] | 245 | |
Frank Vibrans | 69da1b6 | 2011-02-14 19:04:45 +0000 | [diff] [blame] | 246 | #if DUMP_ACPI_TABLES == 1 |
Marc Jones | 522ba28 | 2012-01-03 16:02:07 -0700 | [diff] [blame] | 247 | printk(BIOS_DEBUG, "rsdp\n"); |
| 248 | dump_mem(rsdp, ((void *)rsdp) + sizeof(acpi_rsdp_t)); |
Frank Vibrans | 69da1b6 | 2011-02-14 19:04:45 +0000 | [diff] [blame] | 249 | |
Marc Jones | 522ba28 | 2012-01-03 16:02:07 -0700 | [diff] [blame] | 250 | printk(BIOS_DEBUG, "rsdt\n"); |
| 251 | dump_mem(rsdt, ((void *)rsdt) + sizeof(acpi_rsdt_t)); |
Frank Vibrans | 69da1b6 | 2011-02-14 19:04:45 +0000 | [diff] [blame] | 252 | |
Marc Jones | 522ba28 | 2012-01-03 16:02:07 -0700 | [diff] [blame] | 253 | printk(BIOS_DEBUG, "madt\n"); |
| 254 | dump_mem(madt, ((void *)madt) + madt->header.length); |
Frank Vibrans | 69da1b6 | 2011-02-14 19:04:45 +0000 | [diff] [blame] | 255 | |
Marc Jones | 522ba28 | 2012-01-03 16:02:07 -0700 | [diff] [blame] | 256 | printk(BIOS_DEBUG, "srat\n"); |
| 257 | dump_mem(srat, ((void *)srat) + srat->header.length); |
Frank Vibrans | 69da1b6 | 2011-02-14 19:04:45 +0000 | [diff] [blame] | 258 | |
Marc Jones | 522ba28 | 2012-01-03 16:02:07 -0700 | [diff] [blame] | 259 | printk(BIOS_DEBUG, "slit\n"); |
| 260 | dump_mem(slit, ((void *)slit) + slit->header.length); |
Frank Vibrans | 69da1b6 | 2011-02-14 19:04:45 +0000 | [diff] [blame] | 261 | |
Marc Jones | 522ba28 | 2012-01-03 16:02:07 -0700 | [diff] [blame] | 262 | printk(BIOS_DEBUG, "ssdt\n"); |
| 263 | dump_mem(ssdt, ((void *)ssdt) + ssdt->length); |
Frank Vibrans | 69da1b6 | 2011-02-14 19:04:45 +0000 | [diff] [blame] | 264 | |
Marc Jones | 84e0dfc | 2011-12-12 21:12:43 -0700 | [diff] [blame^] | 265 | printk(BIOS_DEBUG, "ssdt2\n"); |
| 266 | dump_mem(ssdt2, ((void *)ssdt2) + ssdt2->length); |
| 267 | |
Marc Jones | 522ba28 | 2012-01-03 16:02:07 -0700 | [diff] [blame] | 268 | printk(BIOS_DEBUG, "fadt\n"); |
| 269 | dump_mem(fadt, ((void *)fadt) + fadt->header.length); |
Frank Vibrans | 69da1b6 | 2011-02-14 19:04:45 +0000 | [diff] [blame] | 270 | #endif |
| 271 | |
Marc Jones | 522ba28 | 2012-01-03 16:02:07 -0700 | [diff] [blame] | 272 | printk(BIOS_INFO, "ACPI: done.\n"); |
| 273 | return current; |
Frank Vibrans | 69da1b6 | 2011-02-14 19:04:45 +0000 | [diff] [blame] | 274 | } |