Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Sync with HEAD.

  • Loading branch information...
commit 7818ec919a1fcaab3f7fb9cf66fd4a8dede3f6d8 1 parent 4bb8468
rjs authored

Showing 21 changed files with 733 additions and 0 deletions. Show diff stats Hide diff stats

  1. +386 0 sys/arch/arm/arm/cpu_in_cksum.S
  2. +151 0 sys/arch/arm/arm32/kobj_machdep.c
  3. +5 0 sys/arch/arm/conf/std.arm
  4. +57 0 sys/arch/arm/include/kcore.h
  5. +12 0 sys/arch/hpc/stand/dspgen/tmpl.evc4/application.ARMV4Debug
  6. +12 0 sys/arch/hpc/stand/dspgen/tmpl.evc4/application.ARMV4Release
  7. +12 0 sys/arch/hpc/stand/dspgen/tmpl.evc4/application.SH3Debug
  8. +12 0 sys/arch/hpc/stand/dspgen/tmpl.evc4/application.SH3Release
  9. +12 0 sys/arch/hpc/stand/dspgen/tmpl.evc4/application.SH4Debug
  10. +12 0 sys/arch/hpc/stand/dspgen/tmpl.evc4/application.SH4Release
  11. +3 0  sys/arch/hpc/stand/dspgen/tmpl.evc4/config.defadd
  12. +10 0 sys/arch/hpc/stand/dspgen/tmpl.evc4/config.defprop
  13. +3 0  sys/arch/hpc/stand/dspgen/tmpl.evc4/header
  14. +5 0 sys/arch/hpc/stand/dspgen/tmpl.evc4/project
  15. +6 0 sys/arch/hpc/stand/dspgen/tmpl.evc4/static_library.ARMV4Debug
  16. +6 0 sys/arch/hpc/stand/dspgen/tmpl.evc4/static_library.ARMV4Release
  17. +6 0 sys/arch/hpc/stand/dspgen/tmpl.evc4/static_library.SH3Debug
  18. +6 0 sys/arch/hpc/stand/dspgen/tmpl.evc4/static_library.SH3Release
  19. +7 0 sys/arch/hpc/stand/dspgen/tmpl.evc4/static_library.SH4Debug
  20. +6 0 sys/arch/hpc/stand/dspgen/tmpl.evc4/static_library.SH4Release
  21. +4 0 sys/arch/shark/conf/GENERIC.local
386 sys/arch/arm/arm/cpu_in_cksum.S
... ... @@ -0,0 +1,386 @@
  1 +/* $NetBSD: cpu_in_cksum.S,v 1.2.12.2 2008/02/28 21:58:52 rjs Exp $ */
  2 +
  3 +/*
  4 + * Copyright 2003 Wasabi Systems, Inc.
  5 + * All rights reserved.
  6 + *
  7 + * Written by Steve C. Woodford for Wasabi Systems, Inc.
  8 + *
  9 + * Redistribution and use in source and binary forms, with or without
  10 + * modification, are permitted provided that the following conditions
  11 + * are met:
  12 + * 1. Redistributions of source code must retain the above copyright
  13 + * notice, this list of conditions and the following disclaimer.
  14 + * 2. Redistributions in binary form must reproduce the above copyright
  15 + * notice, this list of conditions and the following disclaimer in the
  16 + * documentation and/or other materials provided with the distribution.
  17 + * 3. All advertising materials mentioning features or use of this software
  18 + * must display the following acknowledgement:
  19 + * This product includes software developed for the NetBSD Project by
  20 + * Wasabi Systems, Inc.
  21 + * 4. The name of Wasabi Systems, Inc. may not be used to endorse
  22 + * or promote products derived from this software without specific prior
  23 + * written permission.
  24 + *
  25 + * THIS SOFTWARE IS PROVIDED BY WASABI SYSTEMS, INC. ``AS IS'' AND
  26 + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
  27 + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  28 + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL WASABI SYSTEMS, INC
  29 + * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
  30 + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
  31 + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
  32 + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
  33 + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  34 + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  35 + * POSSIBILITY OF SUCH DAMAGE.
  36 + */
  37 +
  38 +/*
  39 + * Hand-optimised in_cksum() and in4_cksum() implementations for ARM/Xscale
  40 + */
  41 +
  42 +#include <machine/asm.h>
  43 +RCSID("$NetBSD: cpu_in_cksum.S,v 1.2.12.2 2008/02/28 21:58:52 rjs Exp $")
  44 +
  45 +#include "assym.h"
  46 +
  47 +/*
  48 + * int cpu_in_cksum(struct mbuf *m, int len, int off, uint32_t initial_sum)
  49 + *
  50 + * Entry:
  51 + * r0 m
  52 + * r1 len
  53 + * r2 off
  54 + * r3 initial_sum
  55 + *
  56 + * Function wide register usage
  57 + * r8 accumulated sum
  58 + * r9 remaining length to parse
  59 + * ip pointer to next mbuf
  60 + */
  61 +/* LINTSTUB: Func: int cpu_in_cksum(struct mbuf *, int, int, uint32_t) */
  62 +ENTRY(cpu_in_cksum)
  63 + stmfd sp!, {r4-r11,lr}
  64 +
  65 + mov r8, r3 /* Accumulate sum in r8 */
  66 + mov r9, r1 /* save len in r9 */
  67 + mov ip, r0 /* set ip to the current mbuf */
  68 +
  69 +.Lin_cksum_skip_loop:
  70 + ldr r1, [ip, #(M_LEN)]
  71 + ldr r0, [ip, #(M_DATA)]
  72 + ldr ip, [ip, #(M_NEXT)]
  73 +.Lin_cksum_skip_entry:
  74 + subs r2, r2, r1 /* offset = offset - mbuf length */
  75 + blt .Lin_cksum_skip_done /* if offset has gone negative start with this mbuf */
  76 + cmp ip, #0x00
  77 + bne .Lin_cksum_skip_loop
  78 + b .Lin_cksum_whoops
  79 +
  80 +.Lin_cksum_skip_done:
  81 + add r0, r2, r0 /* data += offset (offset is < 0) */
  82 + add r0, r0, r1 /* data += length of mbuf */
  83 + /* data == start of data to cksum */
  84 + rsb r1, r2, #0x00 /* length = remainder of mbuf to read */
  85 + mov r10, #0x00
  86 + b .Lin_cksum_entry
  87 +
  88 +.Lin_cksum_loop:
  89 + ldr r1, [ip, #(M_LEN)]
  90 + ldr r0, [ip, #(M_DATA)]
  91 + ldr ip, [ip, #(M_NEXT)]
  92 +.Lin_cksum_entry:
  93 + cmp r9, r1
  94 + movlt r1, r9
  95 + sub r9, r9, r1
  96 + eor r11, r10, r0
  97 + add r10, r10, r1
  98 + adds r2, r1, #0x00
  99 + blne _ASM_LABEL(L_cksumdata)
  100 + tst r11, #0x01
  101 + movne r2, r2, ror #8
  102 + adds r8, r8, r2
  103 + adc r8, r8, #0x00
  104 + cmp ip, #00
  105 + bne .Lin_cksum_loop
  106 +
  107 + mov r1, #0xff
  108 + orr r1, r1, #0xff00
  109 + and r0, r8, r1
  110 + add r0, r0, r8, lsr #16
  111 + add r0, r0, r0, lsr #16
  112 + and r0, r0, r1
  113 + eor r0, r0, r1
  114 + ldmfd sp!, {r4-r11, pc}
  115 +
  116 +.Lin_cksum_whoops:
  117 + adr r0, .Lin_cksum_whoops_str
  118 + bl _C_LABEL(panic)
  119 +.Lin_cksum_whoops_str:
  120 + .asciz "in_cksum: out of mbufs\n"
  121 + .align 5
  122 +
  123 +
  124 +/*
  125 + * The main in*_cksum() workhorse...
  126 + *
  127 + * Entry parameters:
  128 + * r0 Pointer to buffer
  129 + * r1 Buffer length
  130 + * lr Return address
  131 + *
  132 + * Returns:
  133 + * r2 Accumulated 32-bit sum
  134 + *
  135 + * Clobbers:
  136 + * r0-r7
  137 + */
  138 +/* LINTSTUB: Ignore */
  139 +ASENTRY_NP(L_cksumdata)
  140 +#ifdef __PROG26
  141 + str lr, [sp, #-4]! /* for SVC26 mode */
  142 +#endif
  143 +#ifdef __XSCALE__
  144 + pld [r0] /* Pre-fetch the start of the buffer */
  145 +#endif
  146 + mov r2, #0
  147 +
  148 + /* We first have to word-align the buffer. */
  149 + ands r7, r0, #0x03
  150 + beq .Lcksumdata_wordaligned
  151 + rsb r7, r7, #0x04
  152 + cmp r1, r7 /* Enough bytes left to make it? */
  153 + blt .Lcksumdata_endgame
  154 + cmp r7, #0x02
  155 + ldrb r4, [r0], #0x01 /* Fetch 1st byte */
  156 + ldrgeb r5, [r0], #0x01 /* Fetch 2nd byte */
  157 + movlt r5, #0x00
  158 + ldrgtb r6, [r0], #0x01 /* Fetch 3rd byte */
  159 + movle r6, #0x00
  160 + /* Combine the three bytes depending on endianness and alignment */
  161 +#ifdef __ARMEB__
  162 + orreq r2, r5, r4, lsl #8
  163 + orreq r2, r2, r6, lsl #24
  164 + orrne r2, r4, r5, lsl #8
  165 + orrne r2, r2, r6, lsl #16
  166 +#else
  167 + orreq r2, r4, r5, lsl #8
  168 + orreq r2, r2, r6, lsl #16
  169 + orrne r2, r5, r4, lsl #8
  170 + orrne r2, r2, r6, lsl #24
  171 +#endif
  172 + subs r1, r1, r7 /* Update length */
  173 +#ifdef __PROG26
  174 + ldreq pc, [sp], #4 /* All done? */
  175 +#else
  176 + moveq pc, lr /* All done? */
  177 +#endif
  178 +
  179 + /* Buffer is now word aligned */
  180 +.Lcksumdata_wordaligned:
  181 +#ifdef __XSCALE__
  182 + cmp r1, #0x04 /* Less than 4 bytes left? */
  183 + blt .Lcksumdata_endgame /* Yup */
  184 +
  185 + /* Now quad-align, if necessary */
  186 + ands r7, r0, #0x04
  187 + ldrne r7, [r0], #0x04
  188 + subne r1, r1, #0x04
  189 + subs r1, r1, #0x40
  190 + blt .Lcksumdata_bigloop_end /* Note: C flag clear if branch taken */
  191 +
  192 + /*
  193 + * Buffer is now quad aligned. Sum 64 bytes at a time.
  194 + * Note: First ldrd is hoisted above the loop, together with
  195 + * setting r6 to zero to avoid stalling for results in the
  196 + * loop. (r7 is live, from above).
  197 + */
  198 + ldrd r4, [r0], #0x08
  199 + mov r6, #0x00
  200 +.Lcksumdata_bigloop:
  201 + pld [r0, #0x18]
  202 + adds r2, r2, r6
  203 + adcs r2, r2, r7
  204 + ldrd r6, [r0], #0x08
  205 + adcs r2, r2, r4
  206 + adcs r2, r2, r5
  207 + ldrd r4, [r0], #0x08
  208 + adcs r2, r2, r6
  209 + adcs r2, r2, r7
  210 + ldrd r6, [r0], #0x08
  211 + adcs r2, r2, r4
  212 + adcs r2, r2, r5
  213 + ldrd r4, [r0], #0x08
  214 + adcs r2, r2, r6
  215 + adcs r2, r2, r7
  216 + pld [r0, #0x18]
  217 + ldrd r6, [r0], #0x08
  218 + adcs r2, r2, r4
  219 + adcs r2, r2, r5
  220 + ldrd r4, [r0], #0x08
  221 + adcs r2, r2, r6
  222 + adcs r2, r2, r7
  223 + ldrd r6, [r0], #0x08
  224 + adcs r2, r2, r4
  225 + adcs r2, r2, r5
  226 + adc r2, r2, #0x00
  227 + subs r1, r1, #0x40
  228 + ldrged r4, [r0], #0x08
  229 + bge .Lcksumdata_bigloop
  230 +
  231 + adds r2, r2, r6 /* r6/r7 still need summing */
  232 +.Lcksumdata_bigloop_end:
  233 + adcs r2, r2, r7
  234 + adc r2, r2, #0x00
  235 +
  236 +#else /* !__XSCALE__ */
  237 +
  238 + subs r1, r1, #0x40
  239 + blt .Lcksumdata_bigloop_end
  240 +
  241 +.Lcksumdata_bigloop:
  242 + ldmia r0!, {r3, r4, r5, r6}
  243 + adds r2, r2, r3
  244 + adcs r2, r2, r4
  245 + adcs r2, r2, r5
  246 + ldmia r0!, {r3, r4, r5, r7}
  247 + adcs r2, r2, r6
  248 + adcs r2, r2, r3
  249 + adcs r2, r2, r4
  250 + adcs r2, r2, r5
  251 + ldmia r0!, {r3, r4, r5, r6}
  252 + adcs r2, r2, r7
  253 + adcs r2, r2, r3
  254 + adcs r2, r2, r4
  255 + adcs r2, r2, r5
  256 + ldmia r0!, {r3, r4, r5, r7}
  257 + adcs r2, r2, r6
  258 + adcs r2, r2, r3
  259 + adcs r2, r2, r4
  260 + adcs r2, r2, r5
  261 + adcs r2, r2, r7
  262 + adc r2, r2, #0x00
  263 + subs r1, r1, #0x40
  264 + bge .Lcksumdata_bigloop
  265 +.Lcksumdata_bigloop_end:
  266 +#endif
  267 +
  268 + adds r1, r1, #0x40
  269 +#ifdef __PROG26
  270 + ldreq pc, [sp], #4
  271 +#else
  272 + moveq pc, lr
  273 +#endif
  274 + cmp r1, #0x20
  275 +
  276 +#ifdef __XSCALE__
  277 + ldrged r4, [r0], #0x08 /* Avoid stalling pld and result */
  278 + blt .Lcksumdata_less_than_32
  279 + pld [r0, #0x18]
  280 + ldrd r6, [r0], #0x08
  281 + adds r2, r2, r4
  282 + adcs r2, r2, r5
  283 + ldrd r4, [r0], #0x08
  284 + adcs r2, r2, r6
  285 + adcs r2, r2, r7
  286 + ldrd r6, [r0], #0x08
  287 + adcs r2, r2, r4
  288 + adcs r2, r2, r5
  289 + adcs r2, r2, r6 /* XXX: Unavoidable result stall */
  290 + adcs r2, r2, r7
  291 +#else
  292 + blt .Lcksumdata_less_than_32
  293 + ldmia r0!, {r3, r4, r5, r6}
  294 + adds r2, r2, r3
  295 + adcs r2, r2, r4
  296 + adcs r2, r2, r5
  297 + ldmia r0!, {r3, r4, r5, r7}
  298 + adcs r2, r2, r6
  299 + adcs r2, r2, r3
  300 + adcs r2, r2, r4
  301 + adcs r2, r2, r5
  302 + adcs r2, r2, r7
  303 +#endif
  304 + adc r2, r2, #0x00
  305 + subs r1, r1, #0x20
  306 +#ifdef __PROG26
  307 + ldreq pc, [sp], #4
  308 +#else
  309 + moveq pc, lr
  310 +#endif
  311 +
  312 +.Lcksumdata_less_than_32:
  313 + /* There are less than 32 bytes left */
  314 + and r3, r1, #0x18
  315 + rsb r4, r3, #0x18
  316 + sub r1, r1, r3
  317 + adds r4, r4, r4, lsr #1 /* Side effect: Clear carry flag */
  318 + addne pc, pc, r4
  319 +
  320 +/*
  321 + * Note: We use ldm here, even on Xscale, since the combined issue/result
  322 + * latencies for ldm and ldrd are the same. Using ldm avoids needless #ifdefs.
  323 + */
  324 + /* At least 24 bytes remaining... */
  325 + ldmia r0!, {r4, r5}
  326 + nop
  327 + adcs r2, r2, r4
  328 + adcs r2, r2, r5
  329 +
  330 + /* At least 16 bytes remaining... */
  331 + ldmia r0!, {r4, r5}
  332 + adcs r2, r2, r4
  333 + adcs r2, r2, r5
  334 +
  335 + /* At least 8 bytes remaining... */
  336 + ldmia r0!, {r4, r5}
  337 + adcs r2, r2, r4
  338 + adcs r2, r2, r5
  339 +
  340 + /* Less than 8 bytes remaining... */
  341 + adc r2, r2, #0x00
  342 + subs r1, r1, #0x04
  343 + blt .Lcksumdata_lessthan4
  344 +
  345 + ldr r4, [r0], #0x04
  346 + sub r1, r1, #0x04
  347 + adds r2, r2, r4
  348 + adc r2, r2, #0x00
  349 +
  350 + /* Deal with < 4 bytes remaining */
  351 +.Lcksumdata_lessthan4:
  352 + adds r1, r1, #0x04
  353 +#ifdef __PROG26
  354 + ldreq pc, [sp], #4
  355 +#else
  356 + moveq pc, lr
  357 +#endif
  358 +
  359 + /* Deal with 1 to 3 remaining bytes, possibly misaligned */
  360 +.Lcksumdata_endgame:
  361 + ldrb r3, [r0] /* Fetch first byte */
  362 + cmp r1, #0x02
  363 + ldrgeb r4, [r0, #0x01] /* Fetch 2nd and 3rd as necessary */
  364 + movlt r4, #0x00
  365 + ldrgtb r5, [r0, #0x02]
  366 + movle r5, #0x00
  367 + /* Combine the three bytes depending on endianness and alignment */
  368 + tst r0, #0x01
  369 +#ifdef __ARMEB__
  370 + orreq r3, r4, r3, lsl #8
  371 + orreq r3, r3, r5, lsl #24
  372 + orrne r3, r3, r4, lsl #8
  373 + orrne r3, r3, r5, lsl #16
  374 +#else
  375 + orreq r3, r3, r4, lsl #8
  376 + orreq r3, r3, r5, lsl #16
  377 + orrne r3, r4, r3, lsl #8
  378 + orrne r3, r3, r5, lsl #24
  379 +#endif
  380 + adds r2, r2, r3
  381 + adc r2, r2, #0x00
  382 +#ifdef __PROG26
  383 + ldr pc, [sp], #4
  384 +#else
  385 + mov pc, lr
  386 +#endif
151 sys/arch/arm/arm32/kobj_machdep.c
... ... @@ -0,0 +1,151 @@
  1 +/* $NetBSD: kobj_machdep.c,v 1.1.18.2 2008/02/28 21:58:52 rjs Exp $ */
  2 +
  3 +/*-
  4 + * Copyright (c) 2008 The NetBSD Foundation, Inc.
  5 + * All rights reserved.
  6 + *
  7 + * Redistribution and use in source and binary forms, with or without
  8 + * modification, are permitted provided that the following conditions
  9 + * are met:
  10 + * 1. Redistributions of source code must retain the above copyright
  11 + * notice, this list of conditions and the following disclaimer.
  12 + * 2. Redistributions in binary form must reproduce the above copyright
  13 + * notice, this list of conditions and the following disclaimer in the
  14 + * documentation and/or other materials provided with the distribution.
  15 + * 3. All advertising materials mentioning features or use of this software
  16 + * must display the following acknowledgement:
  17 + * This product includes software developed by the NetBSD
  18 + * Foundation, Inc. and its contributors.
  19 + * 4. Neither the name of The NetBSD Foundation nor the names of its
  20 + * contributors may be used to endorse or promote products derived
  21 + * from this software without specific prior written permission.
  22 + *
  23 + * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
  24 + * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
  25 + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  26 + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
  27 + * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
  28 + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
  29 + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
  30 + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
  31 + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  32 + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  33 + * POSSIBILITY OF SUCH DAMAGE.
  34 + */
  35 +
  36 +/*-
  37 + * Copyright 1996-1998 John D. Polstra.
  38 + * All rights reserved.
  39 + *
  40 + * Redistribution and use in source and binary forms, with or without
  41 + * modification, are permitted provided that the following conditions
  42 + * are met:
  43 + * 1. Redistributions of source code must retain the above copyright
  44 + * notice, this list of conditions and the following disclaimer.
  45 + * 2. Redistributions in binary form must reproduce the above copyright
  46 + * notice, this list of conditions and the following disclaimer in the
  47 + * documentation and/or other materials provided with the distribution.
  48 + *
  49 + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
  50 + * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
  51 + * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
  52 + * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
  53 + * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
  54 + * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  55 + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  56 + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  57 + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
  58 + * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  59 + */
  60 +
  61 +#include <sys/cdefs.h>
  62 +__KERNEL_RCSID(0, "$NetBSD: kobj_machdep.c,v 1.1.18.2 2008/02/28 21:58:52 rjs Exp $");
  63 +
  64 +#define ELFSIZE ARCH_ELFSIZE
  65 +
  66 +#include <sys/param.h>
  67 +#include <sys/systm.h>
  68 +#include <sys/kobj.h>
  69 +#include <sys/exec.h>
  70 +#include <sys/exec_elf.h>
  71 +
  72 +#include <arm/cpufunc.h>
  73 +
  74 +int
  75 +kobj_reloc(kobj_t ko, uintptr_t relocbase, const void *data,
  76 + bool isrela, bool local)
  77 +{
  78 + Elf_Addr *where;
  79 + Elf_Addr addr;
  80 + Elf_Addr addend;
  81 + Elf_Word rtype, symidx;
  82 + const Elf_Rel *rel;
  83 + const Elf_Rela *rela;
  84 +
  85 + if (isrela) {
  86 + rela = (const Elf_Rela *)data;
  87 + where = (Elf_Addr *) (relocbase + rela->r_offset);
  88 + addend = rela->r_addend;
  89 + rtype = ELF_R_TYPE(rela->r_info);
  90 + symidx = ELF_R_SYM(rela->r_info);
  91 + } else {
  92 + rel = (const Elf_Rel *)data;
  93 + where = (Elf_Addr *) (relocbase + rel->r_offset);
  94 + addend = *where;
  95 + rtype = ELF_R_TYPE(rel->r_info);
  96 + symidx = ELF_R_SYM(rel->r_info);
  97 + }
  98 +
  99 + switch (rtype) {
  100 + case R_ARM_NONE: /* none */
  101 + break;
  102 +
  103 + case R_ARM_ABS32:
  104 + addr = kobj_sym_lookup(ko, symidx);
  105 + if (addr == 0)
  106 + return -1;
  107 + if (*where != addr)
  108 + *where = addr;
  109 +
  110 + break;
  111 +
  112 + case R_ARM_COPY: /* none */
  113 + /*
  114 + * There shouldn't be copy relocations in kernel
  115 + * objects.
  116 + */
  117 + printf("kobj_reloc: unexpected R_COPY relocation\n");
  118 + return -1;
  119 +
  120 + case R_ARM_JUMP_SLOT:
  121 + addr = kobj_sym_lookup(ko, symidx);
  122 + if (addr) {
  123 + *where = addr;
  124 + return 0;
  125 + }
  126 + return -1;
  127 +
  128 + case R_ARM_RELATIVE: /* A + B */
  129 + addr = relocbase + addend;
  130 + if (*where != addr)
  131 + *where = addr;
  132 + break;
  133 +
  134 + default:
  135 + printf("kobj_reloc: unexpected relocation type %d\n", rtype);
  136 + return -1;
  137 + }
  138 + return 0;
  139 +}
  140 +
  141 +int
  142 +kobj_machdep(kobj_t ko, void *base, size_t size, bool load)
  143 +{
  144 +
  145 + if (load) {
  146 + cpu_idcache_wbinv_all();
  147 + cpu_tlb_flushID();
  148 + }
  149 +
  150 + return 0;
  151 +}
5 sys/arch/arm/conf/std.arm
... ... @@ -0,0 +1,5 @@
  1 +# $NetBSD: std.arm,v 1.1.14.2 2008/02/28 21:58:52 rjs Exp $
  2 +#
  3 +# standard NetBSD/arm options
  4 +
  5 +options CPU_IN_CKSUM
57 sys/arch/arm/include/kcore.h
... ... @@ -0,0 +1,57 @@
  1 +/* $NetBSD: kcore.h,v 1.1.18.2 2008/02/28 21:58:52 rjs Exp $ */
  2 +
  3 +/*
  4 + * Copyright (c) 1996 Carnegie-Mellon University.
  5 + * All rights reserved.
  6 + *
  7 + * Author: Chris G. Demetriou
  8 + *
  9 + * Permission to use, copy, modify and distribute this software and
  10 + * its documentation is hereby granted, provided that both the copyright
  11 + * notice and this permission notice appear in all copies of the
  12 + * software, derivative works or modified versions, and any portions
  13 + * thereof, and that both notices appear in supporting documentation.
  14 + *
  15 + * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
  16 + * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND
  17 + * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
  18 + *
  19 + * Carnegie Mellon requests users of this software to return to
  20 + *
  21 + * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
  22 + * School of Computer Science
  23 + * Carnegie Mellon University
  24 + * Pittsburgh PA 15213-3890
  25 + *
  26 + * any improvements or extensions that they make and grant Carnegie the
  27 + * rights to redistribute these changes.
  28 + */
  29 +
  30 +/*
  31 + * Modified for NetBSD/i386 by Jason R. Thorpe, Numerical Aerospace
  32 + * Simulation Facility, NASA Ames Research Center.
  33 + */
  34 +
  35 +#ifndef _ARM_KCORE_H_
  36 +#define _ARM_KCORE_H_
  37 +
  38 +typedef struct cpu_kcore_hdr {
  39 + uint32_t version; /* structure version */
  40 + uint32_t flags; /* flags */
  41 +#define KCORE_ARM_APX 0x0001 /* L1 tables are in APX
  42 + format */
  43 + uint32_t PAKernelL1Table; /* PA of kernel L1 table */
  44 + uint32_t PAUserL1Table; /* PA of userland L1 table */
  45 + uint16_t UserL1TableSize; /* size of User L1 table */
  46 + uint32_t nmemsegs; /* Number of RAM segments */
  47 + uint32_t omemsegs; /* offset to memsegs */
  48 +
  49 + /*
  50 + * future versions will add fields here.
  51 + */
  52 +#if 0
  53 + phys_ram_seg_t memsegs[]; /* RAM segments */
  54 +#endif
  55 +} cpu_kcore_hdr_t;
  56 +
  57 +#endif /* _ARM_KCORE_H_ */
12 sys/arch/hpc/stand/dspgen/tmpl.evc4/application.ARMV4Debug
... ... @@ -0,0 +1,12 @@
  1 +RSC=rc.exe
  2 +# ADD BASE RSC /l 0x409 /d UNDER_CE=300 /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /r
  3 +# ADD RSC /l 0x409 /d UNDER_CE=300 /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /r
  4 +CPP=clarm.exe
  5 +# ADD BASE CPP /nologo /W3 /GX- /Zi /Od %%% INCDIRS %%% /D "DEBUG" /D "ARM" /D "_ARM_" /D UNDER_CE=300 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /M$(CECrtMTDebug) /c
  6 +# ADD CPP /nologo /W3 /GX- /Zi /Od %%% INCDIRS %%% /D "DEBUG" /D "ARM" /D "_ARM_" /D UNDER_CE=300 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" %%% CPPDEFS %%% /M$(CECrtMTDebug) /c
  7 +MTL=midl.exe
  8 +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
  9 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
  10 +LINK32=link.exe
  11 +# ADD BASE LINK32 commctrl.lib coredll.lib %%% LIBRARIES %%% /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:windowsce,3.00 /align:"4096" /MACHINE:ARM
  12 +# ADD LINK32 commctrl.lib coredll.lib %%% LIBRARIES %%% /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:windowsce,3.00 /align:"4096" /MACHINE:ARM
12 sys/arch/hpc/stand/dspgen/tmpl.evc4/application.ARMV4Release
... ... @@ -0,0 +1,12 @@
  1 +RSC=rc.exe
  2 +# ADD BASE RSC /l 0x409 /d UNDER_CE=300 /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /r
  3 +# ADD RSC /l 0x409 /d UNDER_CE=300 /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /r
  4 +CPP=clarm.exe
  5 +# ADD BASE CPP /nologo /W3 /GX- %%% INCDIRS %%% /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "ARM" /D "_ARM_" /D UNDER_CE=300 /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /Oxs /M$(CECrtMT) /c
  6 +# ADD CPP /nologo /W3 /GX- %%% INCDIRS %%% /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "ARM" /D "_ARM_" /D UNDER_CE=300 /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /Oxs %%% CPPDEFS %%% /M$(CECrtMT) /c
  7 +MTL=midl.exe
  8 +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
  9 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
  10 +LINK32=link.exe
  11 +# ADD BASE LINK32 commctrl.lib coredll.lib %%% LIBRARIES %%% /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:windowsce,3.00 /align:"4096" /MACHINE:ARM
  12 +# ADD LINK32 commctrl.lib coredll.lib %%% LIBRARIES %%% /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:windowsce,3.00 /align:"4096" /MACHINE:ARM
12 sys/arch/hpc/stand/dspgen/tmpl.evc4/application.SH3Debug
... ... @@ -0,0 +1,12 @@
  1 +RSC=rc.exe
  2 +# ADD BASE RSC /l 0x409 /d UNDER_CE=300 /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "SHx" /d "SH3" /d "_SH3_" /r
  3 +# ADD RSC /l 0x409 /d UNDER_CE=300 /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "SHx" /d "SH3" /d "_SH3_" /r
  4 +CPP=shcl.exe
  5 +# ADD BASE CPP /nologo /W3 /GX- /Zi /Od %%% INCDIRS %%% /D "DEBUG" /D "SHx" /D "SH3" /D "_SH3_" /D UNDER_CE=300 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /M$(CECrtMTDebug) /c
  6 +# ADD CPP /nologo /W3 /GX- /Zi /Od %%% INCDIRS %%% /D "DEBUG" /D "SHx" /D "SH3" /D "_SH3_" /D UNDER_CE=300 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" %%% CPPDEFS %%% /M$(CECrtMTDebug) /c
  7 +MTL=midl.exe
  8 +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
  9 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
  10 +LINK32=link.exe
  11 +# ADD BASE LINK32 commctrl.lib coredll.lib %%% LIBRARIES %%% /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:windowsce,3.00 /MACHINE:SH3
  12 +# ADD LINK32 commctrl.lib coredll.lib %%% LIBRARIES %%% /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:windowsce,3.00 /MACHINE:SH3
12 sys/arch/hpc/stand/dspgen/tmpl.evc4/application.SH3Release
... ... @@ -0,0 +1,12 @@
  1 +RSC=rc.exe
  2 +# ADD BASE RSC /l 0x409 /d UNDER_CE=300 /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "SHx" /d "SH3" /d "_SH3_" /r
  3 +# ADD RSC /l 0x409 /d UNDER_CE=300 /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "SHx" /d "SH3" /d "_SH3_" /r
  4 +CPP=shcl.exe
  5 +# ADD BASE CPP /nologo /W3 /GX- %%% INCDIRS %%% /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH3" /D "_SH3_" /D UNDER_CE=300 /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /Oxs /M$(CECrtMT) /c
  6 +# ADD CPP /nologo /W3 /GX- %%% INCDIRS %%% /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH3" /D "_SH3_" /D UNDER_CE=300 /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /Oxs %%% CPPDEFS %%% /M$(CECrtMT) /c
  7 +MTL=midl.exe
  8 +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
  9 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
  10 +LINK32=link.exe
  11 +# ADD BASE LINK32 commctrl.lib coredll.lib %%% LIBRARIES %%% /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:windowsce,3.00 /MACHINE:SH3
  12 +# ADD LINK32 commctrl.lib coredll.lib %%% LIBRARIES %%% /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:windowsce,3.00 /MACHINE:SH3
12 sys/arch/hpc/stand/dspgen/tmpl.evc4/application.SH4Debug
... ... @@ -0,0 +1,12 @@
  1 +RSC=rc.exe
  2 +# ADD BASE RSC /l 0x409 /d UNDER_CE=300 /d _WIN32_WCE=$(CEVersion) /d "DEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "SHx" /d "SH4" /d "_SH4_" /r
  3 +# ADD RSC /l 0x409 /d UNDER_CE=300 /d _WIN32_WCE=$(CEVersion) /d "DEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "SHx" /d "SH4" /d "_SH4_" /r
  4 +CPP=shcl.exe
  5 +# ADD BASE CPP /nologo /W3 /GX- /Zi /Od %%% INCDIRS %%% /D "DEBUG" /D "SHx" /D "SH4" /D "_SH4_" /D UNDER_CE=300 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /Qsh4 /M$(CECrtMTDebug) /c
  6 +# ADD CPP /nologo /W3 /GX- /Zi /Od %%% INCDIRS %%% /D "DEBUG" /D "SHx" /D "SH4" /D "_SH4_" /D UNDER_CE=300 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /Qsh4 %%% CPPDEFS %%% /M$(CECrtMTDebug) /c
  7 +MTL=midl.exe
  8 +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
  9 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
  10 +LINK32=link.exe
  11 +# ADD BASE LINK32 commctrl.lib coredll.lib %%% LIBRARIES %%% /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:windowsce,3.00 /MACHINE:SH4
  12 +# ADD LINK32 commctrl.lib coredll.lib %%% LIBRARIES %%% /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:windowsce,3.00 /MACHINE:SH4
12 sys/arch/hpc/stand/dspgen/tmpl.evc4/application.SH4Release
... ... @@ -0,0 +1,12 @@
  1 +RSC=rc.exe
  2 +# ADD BASE RSC /l 0x409 /d UNDER_CE=300 /d _WIN32_WCE=$(CEVersion) /d "NDEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "SHx" /d "SH4" /d "_SH4_" /r
  3 +# ADD RSC /l 0x409 /d UNDER_CE=300 /d _WIN32_WCE=$(CEVersion) /d "NDEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "SHx" /d "SH4" /d "_SH4_" /r
  4 +CPP=shcl.exe
  5 +# ADD BASE CPP /nologo /W3 /GX- %%% INCDIRS %%% /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH4" /D "_SH4_" /D UNDER_CE=300 /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /Qsh4 /Oxs /M$(CECrtMT) /c
  6 +# ADD CPP /nologo /W3 /GX- %%% INCDIRS %%% /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH4" /D "_SH4_" /D UNDER_CE=300 /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /Qsh4 /Oxs %%% CPPDEFS %%% /M$(CECrtMT) /c
  7 +MTL=midl.exe
  8 +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
  9 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
  10 +LINK32=link.exe
  11 +# ADD BASE LINK32 commctrl.lib coredll.lib %%% LIBRARIES %%% /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:windowsce,3.00 /MACHINE:SH4
  12 +# ADD LINK32 commctrl.lib coredll.lib %%% LIBRARIES %%% /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:windowsce,3.00 /MACHINE:SH4
3  sys/arch/hpc/stand/dspgen/tmpl.evc4/config.defadd
... ... @@ -0,0 +1,3 @@
  1 +BSC32=bscmake.exe
  2 +# ADD BASE BSC32 /nologo
  3 +# ADD BSC32 /nologo
10 sys/arch/hpc/stand/dspgen/tmpl.evc4/config.defprop
... ... @@ -0,0 +1,10 @@
  1 +# PROP BASE Use_MFC 0
  2 +# PROP BASE Use_Debug_Libraries 1
  3 +# PROP BASE CPU_ID "{}"
  4 +# PROP BASE Platform_ID "{}"
  5 +# PROP BASE Target_Dir ""
  6 +# PROP Use_MFC 0
  7 +# PROP Use_Debug_Libraries 1
  8 +# PROP CPU_ID "{}"
  9 +# PROP Platform_ID "{}"
  10 +# PROP Target_Dir ""
3  sys/arch/hpc/stand/dspgen/tmpl.evc4/header
... ... @@ -0,0 +1,3 @@
  1 +# Microsoft Developer Studio Project File - Name="%%% NAME %%%" - Package Owner=<4>
  2 +# Microsoft eMbedded Visual Tools Generated Build File, Format Version 6.02
  3 +# ** DO NOT EDIT **
5 sys/arch/hpc/stand/dspgen/tmpl.evc4/project
... ... @@ -0,0 +1,5 @@
  1 +# Begin Project
  2 +# PROP AllowPerConfigDependencies 0
  3 +# PROP Scc_ProjName ""
  4 +# PROP Scc_LocalPath ""
  5 +# PROP ATL_Project 2
6 sys/arch/hpc/stand/dspgen/tmpl.evc4/static_library.ARMV4Debug
... ... @@ -0,0 +1,6 @@
  1 +CPP=clarm.exe
  2 +# ADD BASE CPP /nologo /W3 /GX- /Zi /Od %%% INCDIRS %%% /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "ARM" /D "_ARM_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /M$(CECrtMTDebug) /c
  3 +# ADD CPP /nologo /W3 /GX- /Zi /Od %%% INCDIRS %%% /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "ARM" /D "_ARM_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX %%% CPPDEFS %%% /M$(CECrtMTDebug) /c
  4 +LIB32=link.exe -lib
  5 +# ADD BASE LIB32 /nologo
  6 +# ADD LIB32 /nologo
6 sys/arch/hpc/stand/dspgen/tmpl.evc4/static_library.ARMV4Release
... ... @@ -0,0 +1,6 @@
  1 +CPP=clarm.exe
  2 +# ADD BASE CPP /nologo /W3 /GX- %%% INCDIRS %%% /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "NDEBUG" /D "ARM" /D "_ARM_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /Oxs /M$(CECrtMT) /c
  3 +# ADD CPP /nologo /W3 /GX- %%% INCDIRS %%% /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "NDEBUG" /D "ARM" /D "_ARM_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /Oxs %%% CPPDEFS %%% /M$(CECrtMT) /c
  4 +LIB32=link.exe -lib
  5 +# ADD BASE LIB32 /nologo
  6 +# ADD LIB32 /nologo
6 sys/arch/hpc/stand/dspgen/tmpl.evc4/static_library.SH3Debug
... ... @@ -0,0 +1,6 @@
  1 +CPP=shcl.exe
  2 +# ADD BASE CPP /nologo /W3 /GX- /Zi /Od %%% INCDIRS %%% /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH3" /D "_SH3_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /M$(CECrtMTDebug) /c
  3 +# ADD CPP /nologo /W3 /GX- /Zi /Od /D "DEBUG" %%% INCDIRS %%% /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH3" /D "_SH3_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX %%% CPPDEFS %%% /M$(CECrtMTDebug) /c
  4 +LIB32=link.exe -lib
  5 +# ADD BASE LIB32 /nologo
  6 +# ADD LIB32 /nologo
6 sys/arch/hpc/stand/dspgen/tmpl.evc4/static_library.SH3Release
... ... @@ -0,0 +1,6 @@
  1 +CPP=shcl.exe
  2 +# ADD BASE CPP /nologo /W3 /GX- %%% INCDIRS %%% /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH3" /D "_SH3_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /Oxs /M$(CECrtMT) /c
  3 +# ADD CPP /nologo /W3 /GX- /D _WIN32_WCE=$(CEVersion) %%% INCDIRS %%% /D "$(CePlatform)" /D "SHx" /D "SH3" /D "_SH3_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /Oxs %%% CPPDEFS %%% /M$(CECrtMT) /c
  4 +LIB32=link.exe -lib
  5 +# ADD BASE LIB32 /nologo
  6 +# ADD LIB32 /nologo
7 sys/arch/hpc/stand/dspgen/tmpl.evc4/static_library.SH4Debug
... ... @@ -0,0 +1,7 @@
  1 +CPP=shcl.exe
  2 +# ADD BASE CPP /nologo /W3 /GX- /Zi /Od %%% INCDIRS %%% /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH4" /D "_SH4_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /Qsh4 /M$(CECrtMTDebug) /c
  3 +# ADD CPP /nologo /W3 /GX- /Zi /Od /D "DEBUG" %%% INCDIRS %%% /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH4" /D "_SH4_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /Qsh4 %%% CPPDEFS %%% /M$(CECrtMTDebug) /c
  4 +LIB32=link.exe -lib
  5 +# ADD BASE LIB32 /nologo
  6 +# ADD LIB32 /nologo
  7 +
6 sys/arch/hpc/stand/dspgen/tmpl.evc4/static_library.SH4Release
... ... @@ -0,0 +1,6 @@
  1 +CPP=shcl.exe
  2 +# ADD BASE CPP /nologo /W3 /GX- %%% INCDIRS %%% /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH4" /D "_SH4_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /Qsh4 /Oxs /M$(CECrtMT) /c
  3 +# ADD CPP /nologo /W3 /GX- /D _WIN32_WCE=$(CEVersion) %%% INCDIRS %%% /D "$(CePlatform)" /D "SHx" /D "SH4" /D "_SH4_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /Qsh4 /Oxs %%% CPPDEFS %%% /M$(CECrtMT) /c
  4 +LIB32=link.exe -lib
  5 +# ADD BASE LIB32 /nologo
  6 +# ADD LIB32 /nologo
4 sys/arch/shark/conf/GENERIC.local
... ... @@ -0,0 +1,4 @@
  1 +# $NetBSD: GENERIC.local,v 1.1.12.2 2008/02/28 21:58:53 rjs Exp $
  2 +#
  3 +# GENERIC.local -- local additions to the GENERIC configuration
  4 +#

0 comments on commit 7818ec9

Please sign in to comment.
Something went wrong with that request. Please try again.