summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2002-11-27 07:06:43 +0000
committerscottl <scottl@FreeBSD.org>2002-11-27 07:06:43 +0000
commit2dd6370347f838d5eb219b556302052e038a494a (patch)
tree4cd01c56e22b8c2885b175a7fb79b6d24fae3701 /sys
parentfcbaf77e93a6186214ff9a2dad72735f44c6599e (diff)
downloadFreeBSD-src-2dd6370347f838d5eb219b556302052e038a494a.zip
FreeBSD-src-2dd6370347f838d5eb219b556302052e038a494a.tar.gz
Minor updates to the aicasm:
aicasm_gram.y: Use a direct move from allzeros to emulate a mvi of 0. aicasm_insformat.h: sync $Id$ aicasm_symbol.c: Minor header change. Approved by: re (blanket)
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/aic7xxx/aicasm/aicasm_gram.y6
-rw-r--r--sys/dev/aic7xxx/aicasm/aicasm_insformat.h2
-rw-r--r--sys/dev/aic7xxx/aicasm/aicasm_symbol.c2
3 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/aic7xxx/aicasm/aicasm_gram.y b/sys/dev/aic7xxx/aicasm/aicasm_gram.y
index d6a304e..fb3aa14 100644
--- a/sys/dev/aic7xxx/aicasm/aicasm_gram.y
+++ b/sys/dev/aic7xxx/aicasm/aicasm_gram.y
@@ -38,7 +38,7 @@
* IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGES.
*
- * $Id: //depot/aic7xxx/aic7xxx/aicasm/aicasm_gram.y#25 $
+ * $Id: //depot/aic7xxx/aic7xxx/aicasm/aicasm_gram.y#26 $
*
* $FreeBSD$
*/
@@ -1249,8 +1249,8 @@ code:
* that can't know the immediate's value and
* otherwise compensate, still work.
*/
- make_expression(&immed, 0xff);
- format_1_instr(AIC_OP_AND, &$2, &immed, &allzeros, $5);
+ make_expression(&immed, 1);
+ format_1_instr(AIC_OP_BMOV, &$2, &immed, &allzeros, $5);
} else {
format_1_instr(AIC_OP_OR, &$2, &$4, &allzeros, $5);
}
diff --git a/sys/dev/aic7xxx/aicasm/aicasm_insformat.h b/sys/dev/aic7xxx/aicasm/aicasm_insformat.h
index 1a5c097..3e80f07 100644
--- a/sys/dev/aic7xxx/aicasm/aicasm_insformat.h
+++ b/sys/dev/aic7xxx/aicasm/aicasm_insformat.h
@@ -37,7 +37,7 @@
* IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGES.
*
- * $Id: //depot/aic7xxx/aic7xxx/aicasm/aicasm_insformat.h#10 $
+ * $Id: //depot/aic7xxx/aic7xxx/aicasm/aicasm_insformat.h#11 $
*
* $FreeBSD$
*/
diff --git a/sys/dev/aic7xxx/aicasm/aicasm_symbol.c b/sys/dev/aic7xxx/aicasm/aicasm_symbol.c
index e823f3e..2e766b8 100644
--- a/sys/dev/aic7xxx/aicasm/aicasm_symbol.c
+++ b/sys/dev/aic7xxx/aicasm/aicasm_symbol.c
@@ -49,7 +49,7 @@
#else
#include <db.h>
#endif
-#include <sys/fcntl.h>
+#include <fcntl.h>
#include <inttypes.h>
#include <regex.h>
#include <stdio.h>
OpenPOWER on IntegriCloud