filename | test/include/ar.h |
changeset | 185:6755a04c447f |
author | nkeynes |
date | Wed Sep 19 08:42:18 2012 +1000 (11 years ago) |
permissions | -rw-r--r-- |
last change | Invalidate render buffers when vram32 region is written from DMA / store queue. Patch from Guinux, thanks! |
file | annotate | diff | log | raw |
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +00001.2 +++ b/test/include/ar.h Wed Sep 19 08:42:18 2012 +10001.3 @@ -0,0 +1,69 @@1.4 +/* $NetBSD: ar.h,v 1.4 1994/10/26 00:55:43 cgd Exp $ */1.5 +1.6 +/*-1.7 + * Copyright (c) 1991, 19931.8 + * The Regents of the University of California. All rights reserved.1.9 + * (c) UNIX System Laboratories, Inc.1.10 + * All or some portions of this file are derived from material licensed1.11 + * to the University of California by American Telephone and Telegraph1.12 + * Co. or Unix System Laboratories, Inc. and are reproduced herein with1.13 + * the permission of UNIX System Laboratories, Inc.1.14 + *1.15 + * This code is derived from software contributed to Berkeley by1.16 + * Hugh Smith at The University of Guelph.1.17 + *1.18 + * Redistribution and use in source and binary forms, with or without1.19 + * modification, are permitted provided that the following conditions1.20 + * are met:1.21 + * 1. Redistributions of source code must retain the above copyright1.22 + * notice, this list of conditions and the following disclaimer.1.23 + * 2. Redistributions in binary form must reproduce the above copyright1.24 + * notice, this list of conditions and the following disclaimer in the1.25 + * documentation and/or other materials provided with the distribution.1.26 + * 3. All advertising materials mentioning features or use of this software1.27 + * must display the following acknowledgement:1.28 + * This product includes software developed by the University of1.29 + * California, Berkeley and its contributors.1.30 + * 4. Neither the name of the University nor the names of its contributors1.31 + * may be used to endorse or promote products derived from this software1.32 + * without specific prior written permission.1.33 + *1.34 + * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND1.35 + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE1.36 + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE1.37 + * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE1.38 + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL1.39 + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS1.40 + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)1.41 + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT1.42 + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY1.43 + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF1.44 + * SUCH DAMAGE.1.45 + *1.46 + * @(#)ar.h 8.2 (Berkeley) 1/21/941.47 + */1.48 +1.49 +#ifndef _AR_H_1.50 +#define _AR_H_1.51 +1.52 +/* Pre-4BSD archives had these magic numbers in them. */1.53 +#define OARMAG1 01775551.54 +#define OARMAG2 01775451.55 +1.56 +#define ARMAG "!<arch>\n" /* ar "magic number" */1.57 +#define SARMAG 8 /* strlen(ARMAG); */1.58 +1.59 +#define AR_EFMT1 "#1/" /* extended format #1 */1.60 +1.61 +struct ar_hdr {1.62 + char ar_name[16]; /* name */1.63 + char ar_date[12]; /* modification time */1.64 + char ar_uid[6]; /* user id */1.65 + char ar_gid[6]; /* group id */1.66 + char ar_mode[8]; /* octal file permissions */1.67 + char ar_size[10]; /* size in bytes */1.68 +#define ARFMAG "`\n"1.69 + char ar_fmag[2]; /* consistency check */1.70 +};1.71 +1.72 +#endif /* !_AR_H_ */
.