For quite a while I couldn't get into the CVS server to update /usr/src.
I finnaly did and /usr/src compiled ok but the kernel is giving me
a problem with some asm macros in atomic.h and they aren't trivial
macros.
I was wondering if you knew what the problem was or who could
help set me straight.
-piet
--
~*-,._.,-*~``^``~*-,._.,-*~``^``~*-,._.,-*~``^``~*-,._.,-*~``^``~*-,._.,-*~``^`
, ,
/( )`
\ \__ / |
/- _ `-/ ' Pete Delaney
(/\/ \ \ /\Network/Kernel Hacker
/ / | `\ Rocky Mountain UNIX
O O ) |
`-^--'` ' 2812 Toledo Ave.
(_.) _ )/Santa Clara Ca. 95051-4734
`.___/`/ USA
`-' /
---. __ / __ \
---|O)))==) \) /=
---'`--' `.__,' \
| |E-mail: [EMAIL PROTECTED]
\ / [EMAIL PROTECTED]
( (_ / \URL : www.piet.net
,' ,' | \ Voice : +1 (408) 243-8872
`--{__) \/ ISDN : +1 (408) 244-8290 / 244-2614
~*-,._.,-*~``^``~*-,._.,-*~``^``~*-,._.,-*~``^``~*-,._.,-*~``^``~*-,._.,-*~``^`
"Every one that is of the truth heareth my voice" - J.C.Superstar
~*-,._.,-*~``^``~*-,._.,-*~``^``~*-,._.,-*~``^``~*-,._.,-*~``^``~*-,._.,-*~``^`
/*-
* Copyright (c) 1998 Doug Rabson
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
*notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
*notice, this list of conditions and the following disclaimer in the
*documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $FreeBSD: src/sys/i386/include/atomic.h,v 1.16 2000/10/28 00:28:15 jhb Exp $
*/
#ifndef _MACHINE_ATOMIC_H_
#define _MACHINE_ATOMIC_H_
/*
* Various simple arithmetic on memory which is atomic in the presence
* of interrupts and multiple processors.
*
* atomic_set_char(P, V)(*(u_char*)(P) |= (V))
* atomic_clear_char(P, V) (*(u_char*)(P) = ~(V))
* atomic_add_char(P, V)(*(u_char*)(P) += (V))
* atomic_subtract_char(P, V) (*(u_char*)(P) -= (V))
*
* atomic_set_short(P, V) (*(u_short*)(P) |= (V))
* atomic_clear_short(P, V) (*(u_short*)(P) = ~(V))
* atomic_add_short(P, V) (*(u_short*)(P) += (V))
* atomic_subtract_short(P, V) (*(u_short*)(P) -= (V))
*
* atomic_set_int(P, V) (*(u_int*)(P) |= (V))
* atomic_clear_int(P, V) (*(u_int*)(P) = ~(V))
* atomic_add_int(P, V) (*(u_int*)(P) += (V))
* atomic_subtract_int(P, V)(*(u_int*)(P) -= (V))
* atomic_readandclear_int(P) (return *(u_int*)P; *(u_int*)P = 0;)
*
* atomic_set_long(P, V)(*(u_long*)(P) |= (V))
* atomic_clear_long(P, V) (*(u_long*)(P) = ~(V))
* atomic_add_long(P, V)(*(u_long*)(P) += (V))
* atomic_subtract_long(P, V) (*(u_long*)(P) -= (V))
*