Deleted Added
full compact
sysdep.h (96755) sysdep.h (231042)
1/*******************************************************************
2 s y s d e p . h
3** Forth Inspired Command Language
4** Author: John Sadler (john_sadler@alum.mit.edu)
5** Created: 16 Oct 1997
6** Ficl system dependent types and prototypes...
7**
8** Note: Ficl also depends on the use of "assert" when

--- 32 unchanged lines hidden (view full) ---

41** DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
42** OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
43** HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
44** LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
45** OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
46** SUCH DAMAGE.
47*/
48
1/*******************************************************************
2 s y s d e p . h
3** Forth Inspired Command Language
4** Author: John Sadler (john_sadler@alum.mit.edu)
5** Created: 16 Oct 1997
6** Ficl system dependent types and prototypes...
7**
8** Note: Ficl also depends on the use of "assert" when

--- 32 unchanged lines hidden (view full) ---

41** DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
42** OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
43** HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
44** LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
45** OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
46** SUCH DAMAGE.
47*/
48
49/* $FreeBSD: head/sys/boot/ficl/i386/sysdep.h 96755 2002-05-16 21:28:32Z trhodes $ */
49/* $FreeBSD: head/sys/boot/ficl/i386/sysdep.h 231042 2012-02-05 20:00:39Z rpaulo $ */
50
51#if !defined (__SYSDEP_H__)
52#define __SYSDEP_H__
53
54#include <sys/types.h>
55
56#include <stddef.h> /* size_t, NULL */
57#include <setjmp.h>
58#include <assert.h>
59
60#if !defined IGNORE /* Macro to silence unused param warnings */
50
51#if !defined (__SYSDEP_H__)
52#define __SYSDEP_H__
53
54#include <sys/types.h>
55
56#include <stddef.h> /* size_t, NULL */
57#include <setjmp.h>
58#include <assert.h>
59
60#if !defined IGNORE /* Macro to silence unused param warnings */
61#define IGNORE(x) &x
61#define IGNORE(x) (void)x
62#endif
63
64/*
65** TRUE and FALSE for C boolean operations, and
66** portable 32 bit types for CELLs
67**
68*/
69#if !defined TRUE

--- 330 unchanged lines hidden (view full) ---

400** before timeout (optional - could also block forever)
401**
402** NOTE: this function must be implemented with lock counting
403** semantics: nested calls must behave properly.
404*/
405#if FICL_MULTITHREAD
406int ficlLockDictionary(short fLock);
407#else
62#endif
63
64/*
65** TRUE and FALSE for C boolean operations, and
66** portable 32 bit types for CELLs
67**
68*/
69#if !defined TRUE

--- 330 unchanged lines hidden (view full) ---

400** before timeout (optional - could also block forever)
401**
402** NOTE: this function must be implemented with lock counting
403** semantics: nested calls must behave properly.
404*/
405#if FICL_MULTITHREAD
406int ficlLockDictionary(short fLock);
407#else
408#define ficlLockDictionary(x) 0 /* ignore */
408#define ficlLockDictionary(x) /* ignore */
409#endif
410
411/*
412** 64 bit integer math support routines: multiply two UNS32s
413** to get a 64 bit product, & divide the product by an UNS32
414** to get an UNS32 quotient and remainder. Much easier in asm
415** on a 32 bit CPU than in C, which usually doesn't support
416** the double length result (but it should).

--- 16 unchanged lines hidden ---
409#endif
410
411/*
412** 64 bit integer math support routines: multiply two UNS32s
413** to get a 64 bit product, & divide the product by an UNS32
414** to get an UNS32 quotient and remainder. Much easier in asm
415** on a 32 bit CPU than in C, which usually doesn't support
416** the double length result (but it should).

--- 16 unchanged lines hidden ---