Fix the LOADADDR() macro.

This commit is contained in:
thorpej 2001-11-02 23:43:13 +00:00
parent efe39dc997
commit 8526824bce
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: loadfile_machdep.h,v 1.1 2001/11/02 01:27:41 thorpej Exp $ */
/* $NetBSD: loadfile_machdep.h,v 1.2 2001/11/02 23:43:13 thorpej Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@ -42,7 +42,7 @@
#define LOAD_KERNEL (LOAD_ALL & ~LOAD_TEXTA)
#define COUNT_KERNEL (COUNT_ALL & ~COUNT_TEXTA)
#define LOADADDR(a) (((u_long)(a)) + offset)
#define LOADADDR(a) (((u_long)(a)))
#define ALIGNENTRY(a) ((u_long)(a))
#define READ(f, b, c) read((f), (void *)LOADADDR(b), (c))
#define BCOPY(s, d, c) memcpy((void *)LOADADDR(d), (void *)(s), (c))