xref: /netbsd-src/lib/libc/arch/arm/string/bzero.S (revision ce099b40997c43048fb78bd578195f81d2456523)
1*ce099b40Smartin/*	$NetBSD: bzero.S,v 1.4 2008/04/28 20:22:55 martin Exp $	*/
25aefcfdcSbjh21
35aefcfdcSbjh21/*-
45aefcfdcSbjh21 * Copyright (c) 1997 The NetBSD Foundation, Inc.
55aefcfdcSbjh21 * All rights reserved.
65aefcfdcSbjh21 *
75aefcfdcSbjh21 * This code is derived from software contributed to The NetBSD Foundation
85aefcfdcSbjh21 * by Neil A. Carson and Mark Brinicombe
95aefcfdcSbjh21 *
105aefcfdcSbjh21 * Redistribution and use in source and binary forms, with or without
115aefcfdcSbjh21 * modification, are permitted provided that the following conditions
125aefcfdcSbjh21 * are met:
135aefcfdcSbjh21 * 1. Redistributions of source code must retain the above copyright
145aefcfdcSbjh21 *    notice, this list of conditions and the following disclaimer.
155aefcfdcSbjh21 * 2. Redistributions in binary form must reproduce the above copyright
165aefcfdcSbjh21 *    notice, this list of conditions and the following disclaimer in the
175aefcfdcSbjh21 *    documentation and/or other materials provided with the distribution.
185aefcfdcSbjh21 *
195aefcfdcSbjh21 * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
205aefcfdcSbjh21 * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
215aefcfdcSbjh21 * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
225aefcfdcSbjh21 * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
235aefcfdcSbjh21 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
245aefcfdcSbjh21 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
255aefcfdcSbjh21 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
265aefcfdcSbjh21 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
275aefcfdcSbjh21 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
285aefcfdcSbjh21 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
295aefcfdcSbjh21 * POSSIBILITY OF SUCH DAMAGE.
305aefcfdcSbjh21 */
315aefcfdcSbjh21
325aefcfdcSbjh21#include <machine/asm.h>
335aefcfdcSbjh21
34789335a4Sscw#define _BZERO
35789335a4Sscw#include "memset.S"
36