Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
Paul Mackerras | 0cb7b2a | 2005-10-29 22:07:56 +1000 | [diff] [blame] | 2 | * Maple (970 eval board) setup code |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3 | * |
| 4 | * (c) Copyright 2004 Benjamin Herrenschmidt (benh@kernel.crashing.org), |
| 5 | * IBM Corp. |
| 6 | * |
| 7 | * This program is free software; you can redistribute it and/or |
| 8 | * modify it under the terms of the GNU General Public License |
| 9 | * as published by the Free Software Foundation; either version |
| 10 | * 2 of the License, or (at your option) any later version. |
| 11 | * |
| 12 | */ |
| 13 | |
Benjamin Herrenschmidt | 980a651 | 2006-07-03 17:22:05 +1000 | [diff] [blame] | 14 | #undef DEBUG |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 15 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 16 | #include <linux/init.h> |
| 17 | #include <linux/errno.h> |
| 18 | #include <linux/sched.h> |
| 19 | #include <linux/kernel.h> |
| 20 | #include <linux/mm.h> |
| 21 | #include <linux/stddef.h> |
| 22 | #include <linux/unistd.h> |
| 23 | #include <linux/ptrace.h> |
| 24 | #include <linux/slab.h> |
| 25 | #include <linux/user.h> |
| 26 | #include <linux/a.out.h> |
| 27 | #include <linux/tty.h> |
| 28 | #include <linux/string.h> |
| 29 | #include <linux/delay.h> |
| 30 | #include <linux/ioport.h> |
| 31 | #include <linux/major.h> |
| 32 | #include <linux/initrd.h> |
| 33 | #include <linux/vt_kern.h> |
| 34 | #include <linux/console.h> |
| 35 | #include <linux/ide.h> |
| 36 | #include <linux/pci.h> |
| 37 | #include <linux/adb.h> |
| 38 | #include <linux/cuda.h> |
| 39 | #include <linux/pmu.h> |
| 40 | #include <linux/irq.h> |
| 41 | #include <linux/seq_file.h> |
| 42 | #include <linux/root_dev.h> |
| 43 | #include <linux/serial.h> |
| 44 | #include <linux/smp.h> |
| 45 | |
| 46 | #include <asm/processor.h> |
| 47 | #include <asm/sections.h> |
| 48 | #include <asm/prom.h> |
| 49 | #include <asm/system.h> |
| 50 | #include <asm/pgtable.h> |
| 51 | #include <asm/bitops.h> |
| 52 | #include <asm/io.h> |
Michael Ellerman | 3d1229d | 2005-11-14 23:35:00 +1100 | [diff] [blame] | 53 | #include <asm/kexec.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 54 | #include <asm/pci-bridge.h> |
| 55 | #include <asm/iommu.h> |
| 56 | #include <asm/machdep.h> |
| 57 | #include <asm/dma.h> |
| 58 | #include <asm/cputable.h> |
| 59 | #include <asm/time.h> |
| 60 | #include <asm/of_device.h> |
| 61 | #include <asm/lmb.h> |
Stephen Rothwell | bbeb3f4 | 2005-09-27 13:51:59 +1000 | [diff] [blame] | 62 | #include <asm/mpic.h> |
Paul Mackerras | 40ef8cb | 2005-10-10 22:50:37 +1000 | [diff] [blame] | 63 | #include <asm/udbg.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 64 | |
Paul Mackerras | 0cb7b2a | 2005-10-29 22:07:56 +1000 | [diff] [blame] | 65 | #include "maple.h" |
| 66 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 67 | #ifdef DEBUG |
| 68 | #define DBG(fmt...) udbg_printf(fmt) |
| 69 | #else |
| 70 | #define DBG(fmt...) |
| 71 | #endif |
| 72 | |
Benjamin Herrenschmidt | 4c882b0 | 2006-01-14 16:35:35 +1100 | [diff] [blame] | 73 | static unsigned long maple_find_nvram_base(void) |
| 74 | { |
| 75 | struct device_node *rtcs; |
| 76 | unsigned long result = 0; |
| 77 | |
| 78 | /* find NVRAM device */ |
| 79 | rtcs = of_find_compatible_node(NULL, "nvram", "AMD8111"); |
| 80 | if (rtcs) { |
| 81 | struct resource r; |
| 82 | if (of_address_to_resource(rtcs, 0, &r)) { |
| 83 | printk(KERN_EMERG "Maple: Unable to translate NVRAM" |
| 84 | " address\n"); |
| 85 | goto bail; |
| 86 | } |
| 87 | if (!(r.flags & IORESOURCE_IO)) { |
| 88 | printk(KERN_EMERG "Maple: NVRAM address isn't PIO!\n"); |
| 89 | goto bail; |
| 90 | } |
| 91 | result = r.start; |
| 92 | } else |
| 93 | printk(KERN_EMERG "Maple: Unable to find NVRAM\n"); |
| 94 | bail: |
| 95 | of_node_put(rtcs); |
| 96 | return result; |
| 97 | } |
| 98 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 99 | static void maple_restart(char *cmd) |
| 100 | { |
David Gibson | d7152fe | 2005-06-23 17:14:39 +1000 | [diff] [blame] | 101 | unsigned int maple_nvram_base; |
Jeremy Kerr | eeb2b72 | 2006-07-12 15:40:17 +1000 | [diff] [blame^] | 102 | const unsigned int *maple_nvram_offset, *maple_nvram_command; |
Benjamin Herrenschmidt | 4c882b0 | 2006-01-14 16:35:35 +1100 | [diff] [blame] | 103 | struct device_node *sp; |
David Gibson | d7152fe | 2005-06-23 17:14:39 +1000 | [diff] [blame] | 104 | |
Benjamin Herrenschmidt | 4c882b0 | 2006-01-14 16:35:35 +1100 | [diff] [blame] | 105 | maple_nvram_base = maple_find_nvram_base(); |
| 106 | if (maple_nvram_base == 0) |
| 107 | goto fail; |
David Gibson | d7152fe | 2005-06-23 17:14:39 +1000 | [diff] [blame] | 108 | |
| 109 | /* find service processor device */ |
Benjamin Herrenschmidt | 4c882b0 | 2006-01-14 16:35:35 +1100 | [diff] [blame] | 110 | sp = of_find_node_by_name(NULL, "service-processor"); |
| 111 | if (!sp) { |
David Gibson | d7152fe | 2005-06-23 17:14:39 +1000 | [diff] [blame] | 112 | printk(KERN_EMERG "Maple: Unable to find Service Processor\n"); |
Benjamin Herrenschmidt | 4c882b0 | 2006-01-14 16:35:35 +1100 | [diff] [blame] | 113 | goto fail; |
David Gibson | d7152fe | 2005-06-23 17:14:39 +1000 | [diff] [blame] | 114 | } |
Jeremy Kerr | eeb2b72 | 2006-07-12 15:40:17 +1000 | [diff] [blame^] | 115 | maple_nvram_offset = get_property(sp, "restart-addr", NULL); |
| 116 | maple_nvram_command = get_property(sp, "restart-value", NULL); |
Benjamin Herrenschmidt | 4c882b0 | 2006-01-14 16:35:35 +1100 | [diff] [blame] | 117 | of_node_put(sp); |
David Gibson | d7152fe | 2005-06-23 17:14:39 +1000 | [diff] [blame] | 118 | |
| 119 | /* send command */ |
Jeremy Kerr | eeb2b72 | 2006-07-12 15:40:17 +1000 | [diff] [blame^] | 120 | outb_p(*maple_nvram_command, maple_nvram_base + *maple_nvram_offset); |
David Gibson | d7152fe | 2005-06-23 17:14:39 +1000 | [diff] [blame] | 121 | for (;;) ; |
Benjamin Herrenschmidt | 4c882b0 | 2006-01-14 16:35:35 +1100 | [diff] [blame] | 122 | fail: |
| 123 | printk(KERN_EMERG "Maple: Manual Restart Required\n"); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 124 | } |
| 125 | |
| 126 | static void maple_power_off(void) |
| 127 | { |
David Gibson | d7152fe | 2005-06-23 17:14:39 +1000 | [diff] [blame] | 128 | unsigned int maple_nvram_base; |
Jeremy Kerr | eeb2b72 | 2006-07-12 15:40:17 +1000 | [diff] [blame^] | 129 | const unsigned int *maple_nvram_offset, *maple_nvram_command; |
Benjamin Herrenschmidt | 4c882b0 | 2006-01-14 16:35:35 +1100 | [diff] [blame] | 130 | struct device_node *sp; |
David Gibson | d7152fe | 2005-06-23 17:14:39 +1000 | [diff] [blame] | 131 | |
Benjamin Herrenschmidt | 4c882b0 | 2006-01-14 16:35:35 +1100 | [diff] [blame] | 132 | maple_nvram_base = maple_find_nvram_base(); |
| 133 | if (maple_nvram_base == 0) |
| 134 | goto fail; |
David Gibson | d7152fe | 2005-06-23 17:14:39 +1000 | [diff] [blame] | 135 | |
| 136 | /* find service processor device */ |
Benjamin Herrenschmidt | 4c882b0 | 2006-01-14 16:35:35 +1100 | [diff] [blame] | 137 | sp = of_find_node_by_name(NULL, "service-processor"); |
| 138 | if (!sp) { |
David Gibson | d7152fe | 2005-06-23 17:14:39 +1000 | [diff] [blame] | 139 | printk(KERN_EMERG "Maple: Unable to find Service Processor\n"); |
Benjamin Herrenschmidt | 4c882b0 | 2006-01-14 16:35:35 +1100 | [diff] [blame] | 140 | goto fail; |
David Gibson | d7152fe | 2005-06-23 17:14:39 +1000 | [diff] [blame] | 141 | } |
Jeremy Kerr | eeb2b72 | 2006-07-12 15:40:17 +1000 | [diff] [blame^] | 142 | maple_nvram_offset = get_property(sp, "power-off-addr", NULL); |
| 143 | maple_nvram_command = get_property(sp, "power-off-value", NULL); |
Benjamin Herrenschmidt | 4c882b0 | 2006-01-14 16:35:35 +1100 | [diff] [blame] | 144 | of_node_put(sp); |
David Gibson | d7152fe | 2005-06-23 17:14:39 +1000 | [diff] [blame] | 145 | |
| 146 | /* send command */ |
Jeremy Kerr | eeb2b72 | 2006-07-12 15:40:17 +1000 | [diff] [blame^] | 147 | outb_p(*maple_nvram_command, maple_nvram_base + *maple_nvram_offset); |
David Gibson | d7152fe | 2005-06-23 17:14:39 +1000 | [diff] [blame] | 148 | for (;;) ; |
Benjamin Herrenschmidt | 4c882b0 | 2006-01-14 16:35:35 +1100 | [diff] [blame] | 149 | fail: |
| 150 | printk(KERN_EMERG "Maple: Manual Power-Down Required\n"); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 151 | } |
| 152 | |
| 153 | static void maple_halt(void) |
| 154 | { |
David Gibson | d7152fe | 2005-06-23 17:14:39 +1000 | [diff] [blame] | 155 | maple_power_off(); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 156 | } |
| 157 | |
| 158 | #ifdef CONFIG_SMP |
| 159 | struct smp_ops_t maple_smp_ops = { |
| 160 | .probe = smp_mpic_probe, |
| 161 | .message_pass = smp_mpic_message_pass, |
| 162 | .kick_cpu = smp_generic_kick_cpu, |
| 163 | .setup_cpu = smp_mpic_setup_cpu, |
| 164 | .give_timebase = smp_generic_give_timebase, |
| 165 | .take_timebase = smp_generic_take_timebase, |
| 166 | }; |
| 167 | #endif /* CONFIG_SMP */ |
| 168 | |
| 169 | void __init maple_setup_arch(void) |
| 170 | { |
| 171 | /* init to some ~sane value until calibrate_delay() runs */ |
| 172 | loops_per_jiffy = 50000000; |
| 173 | |
| 174 | /* Setup SMP callback */ |
| 175 | #ifdef CONFIG_SMP |
| 176 | smp_ops = &maple_smp_ops; |
| 177 | #endif |
| 178 | /* Lookup PCI hosts */ |
| 179 | maple_pci_init(); |
| 180 | |
| 181 | #ifdef CONFIG_DUMMY_CONSOLE |
| 182 | conswitchp = &dummy_con; |
| 183 | #endif |
Michael Ellerman | 62d60e9 | 2005-07-07 17:56:30 -0700 | [diff] [blame] | 184 | |
Olof Johansson | 4baaf0c | 2006-04-12 15:23:22 -0500 | [diff] [blame] | 185 | printk(KERN_DEBUG "Using native/NAP idle loop\n"); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 186 | } |
| 187 | |
| 188 | /* |
| 189 | * Early initialization. |
| 190 | */ |
| 191 | static void __init maple_init_early(void) |
| 192 | { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 193 | DBG(" -> maple_init_early\n"); |
| 194 | |
Benjamin Herrenschmidt | 1beb6a7 | 2005-12-14 13:10:10 +1100 | [diff] [blame] | 195 | iommu_init_early_dart(); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 196 | |
| 197 | DBG(" <- maple_init_early\n"); |
| 198 | } |
| 199 | |
Benjamin Herrenschmidt | 0ebfff1 | 2006-07-03 21:36:01 +1000 | [diff] [blame] | 200 | /* |
| 201 | * This is almost identical to pSeries and CHRP. We need to make that |
| 202 | * code generic at one point, with appropriate bits in the device-tree to |
| 203 | * identify the presence of an HT APIC |
| 204 | */ |
| 205 | static void __init maple_init_IRQ(void) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 206 | { |
Benjamin Herrenschmidt | 0ebfff1 | 2006-07-03 21:36:01 +1000 | [diff] [blame] | 207 | struct device_node *root, *np, *mpic_node = NULL; |
Jeremy Kerr | eeb2b72 | 2006-07-12 15:40:17 +1000 | [diff] [blame^] | 208 | const unsigned int *opprop; |
Benjamin Herrenschmidt | 0ebfff1 | 2006-07-03 21:36:01 +1000 | [diff] [blame] | 209 | unsigned long openpic_addr = 0; |
| 210 | int naddr, n, i, opplen, has_isus = 0; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 211 | struct mpic *mpic; |
Benjamin Herrenschmidt | 0ebfff1 | 2006-07-03 21:36:01 +1000 | [diff] [blame] | 212 | unsigned int flags = MPIC_PRIMARY; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 213 | |
Benjamin Herrenschmidt | 0ebfff1 | 2006-07-03 21:36:01 +1000 | [diff] [blame] | 214 | /* Locate MPIC in the device-tree. Note that there is a bug |
| 215 | * in Maple device-tree where the type of the controller is |
| 216 | * open-pic and not interrupt-controller |
| 217 | */ |
| 218 | for_each_node_by_type(np, "open-pic") { |
| 219 | mpic_node = np; |
| 220 | break; |
| 221 | } |
| 222 | if (mpic_node == NULL) { |
| 223 | printk(KERN_ERR |
| 224 | "Failed to locate the MPIC interrupt controller\n"); |
| 225 | return; |
| 226 | } |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 227 | |
Benjamin Herrenschmidt | 0ebfff1 | 2006-07-03 21:36:01 +1000 | [diff] [blame] | 228 | /* Find address list in /platform-open-pic */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 229 | root = of_find_node_by_path("/"); |
Benjamin Herrenschmidt | 0ebfff1 | 2006-07-03 21:36:01 +1000 | [diff] [blame] | 230 | naddr = prom_n_addr_cells(root); |
Jeremy Kerr | eeb2b72 | 2006-07-12 15:40:17 +1000 | [diff] [blame^] | 231 | opprop = get_property(root, "platform-open-pic", &opplen); |
Benjamin Herrenschmidt | 0ebfff1 | 2006-07-03 21:36:01 +1000 | [diff] [blame] | 232 | if (opprop != 0) { |
| 233 | openpic_addr = of_read_number(opprop, naddr); |
| 234 | has_isus = (opplen > naddr); |
| 235 | printk(KERN_DEBUG "OpenPIC addr: %lx, has ISUs: %d\n", |
| 236 | openpic_addr, has_isus); |
| 237 | } |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 238 | of_node_put(root); |
| 239 | |
Benjamin Herrenschmidt | 0ebfff1 | 2006-07-03 21:36:01 +1000 | [diff] [blame] | 240 | BUG_ON(openpic_addr == 0); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 241 | |
Benjamin Herrenschmidt | 0ebfff1 | 2006-07-03 21:36:01 +1000 | [diff] [blame] | 242 | /* Check for a big endian MPIC */ |
| 243 | if (get_property(np, "big-endian", NULL) != NULL) |
| 244 | flags |= MPIC_BIG_ENDIAN; |
| 245 | |
| 246 | /* XXX Maple specific bits */ |
| 247 | flags |= MPIC_BROKEN_U3 | MPIC_WANTS_RESET; |
| 248 | |
| 249 | /* Setup the openpic driver. More device-tree junks, we hard code no |
| 250 | * ISUs for now. I'll have to revisit some stuffs with the folks doing |
| 251 | * the firmware for those |
| 252 | */ |
| 253 | mpic = mpic_alloc(mpic_node, openpic_addr, flags, |
| 254 | /*has_isus ? 16 :*/ 0, 0, " MPIC "); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 255 | BUG_ON(mpic == NULL); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 256 | |
Benjamin Herrenschmidt | 0ebfff1 | 2006-07-03 21:36:01 +1000 | [diff] [blame] | 257 | /* Add ISUs */ |
| 258 | opplen /= sizeof(u32); |
| 259 | for (n = 0, i = naddr; i < opplen; i += naddr, n++) { |
| 260 | unsigned long isuaddr = of_read_number(opprop + i, naddr); |
| 261 | mpic_assign_isu(mpic, n, isuaddr); |
| 262 | } |
| 263 | |
| 264 | /* All ISUs are setup, complete initialization */ |
| 265 | mpic_init(mpic); |
| 266 | ppc_md.get_irq = mpic_get_irq; |
| 267 | of_node_put(mpic_node); |
| 268 | of_node_put(root); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 269 | } |
| 270 | |
| 271 | static void __init maple_progress(char *s, unsigned short hex) |
| 272 | { |
| 273 | printk("*** %04x : %s\n", hex, s ? s : ""); |
| 274 | } |
| 275 | |
| 276 | |
| 277 | /* |
| 278 | * Called very early, MMU is off, device-tree isn't unflattened |
| 279 | */ |
Benjamin Herrenschmidt | e822250 | 2006-03-28 23:15:54 +1100 | [diff] [blame] | 280 | static int __init maple_probe(void) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 281 | { |
Benjamin Herrenschmidt | e822250 | 2006-03-28 23:15:54 +1100 | [diff] [blame] | 282 | unsigned long root = of_get_flat_dt_root(); |
Benjamin Herrenschmidt | 980a651 | 2006-07-03 17:22:05 +1000 | [diff] [blame] | 283 | |
| 284 | if (!of_flat_dt_is_compatible(root, "Momentum,Maple") && |
| 285 | !of_flat_dt_is_compatible(root, "Momentum,Apache")) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 286 | return 0; |
| 287 | /* |
| 288 | * On U3, the DART (iommu) must be allocated now since it |
| 289 | * has an impact on htab_initialize (due to the large page it |
| 290 | * occupies having to be broken up so the DART itself is not |
| 291 | * part of the cacheable linar mapping |
| 292 | */ |
Benjamin Herrenschmidt | 1beb6a7 | 2005-12-14 13:10:10 +1100 | [diff] [blame] | 293 | alloc_dart_table(); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 294 | |
Michael Ellerman | 7d0daae | 2006-06-23 18:16:38 +1000 | [diff] [blame] | 295 | hpte_init_native(); |
| 296 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 297 | return 1; |
| 298 | } |
| 299 | |
Benjamin Herrenschmidt | e822250 | 2006-03-28 23:15:54 +1100 | [diff] [blame] | 300 | define_machine(maple_md) { |
| 301 | .name = "Maple", |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 302 | .probe = maple_probe, |
| 303 | .setup_arch = maple_setup_arch, |
| 304 | .init_early = maple_init_early, |
| 305 | .init_IRQ = maple_init_IRQ, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 306 | .pcibios_fixup = maple_pcibios_fixup, |
| 307 | .pci_get_legacy_ide_irq = maple_pci_get_legacy_ide_irq, |
| 308 | .restart = maple_restart, |
| 309 | .power_off = maple_power_off, |
| 310 | .halt = maple_halt, |
| 311 | .get_boot_time = maple_get_boot_time, |
| 312 | .set_rtc_time = maple_set_rtc_time, |
| 313 | .get_rtc_time = maple_get_rtc_time, |
Arnd Bergmann | 10f7e7c | 2005-06-23 09:43:07 +1000 | [diff] [blame] | 314 | .calibrate_decr = generic_calibrate_decr, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 315 | .progress = maple_progress, |
Paul Mackerras | a0652fc | 2006-03-27 15:03:03 +1100 | [diff] [blame] | 316 | .power_save = power4_idle, |
Michael Ellerman | 3d1229d | 2005-11-14 23:35:00 +1100 | [diff] [blame] | 317 | #ifdef CONFIG_KEXEC |
| 318 | .machine_kexec = default_machine_kexec, |
| 319 | .machine_kexec_prepare = default_machine_kexec_prepare, |
Michael Ellerman | cc53291 | 2005-12-04 18:39:43 +1100 | [diff] [blame] | 320 | .machine_crash_shutdown = default_machine_crash_shutdown, |
Michael Ellerman | 3d1229d | 2005-11-14 23:35:00 +1100 | [diff] [blame] | 321 | #endif |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 322 | }; |