+ ANSI C conversion
authorcarl <cecodere@yahoo.ca>
Sun, 17 Mar 2019 14:42:20 +0000 (22:42 +0800)
committercarl <cecodere@yahoo.ca>
Sun, 17 Mar 2019 14:46:32 +0000 (22:46 +0800)
util/int/data.h [new file with mode: 0644]
util/int/dump.h [new file with mode: 0644]
util/int/io.h [new file with mode: 0644]
util/int/m_sigtrp.h [new file with mode: 0644]

diff --git a/util/int/data.h b/util/int/data.h
new file mode 100644 (file)
index 0000000..5cbb97f
--- /dev/null
@@ -0,0 +1,30 @@
+/*  Copyright (c) 2019 ACK Project.
+ *  See the copyright notice in the ACK home directory, 
+ *  in the file "Copyright".
+ *
+ */
+#ifndef DATA_H_
+#define DATA_H_
+
+#include "global.h"
+
+
+void init_data(ptr hb);
+void newHP(ptr ap);
+void dt_stdp(register ptr addr, ptr ap);
+void dt_stn(register ptr addr, long al, size n);
+void dt_stw(register ptr addr, long al);
+void dt_stip(register ptr addr, ptr ap);
+#ifndef        NOFLOAT
+void dt_stf(register ptr addr, double f, register size n);
+#endif
+
+ptr dt_lddp(register ptr addr);
+unsigned long dt_ldu(register ptr addr, size n);
+unsigned long dt_lduw(register ptr addr);
+long dt_lds(register ptr addr, size n);
+long dt_ldsw(register ptr addr);
+void dt_mvd(ptr d2, ptr d1, size n);
+void dt_mvs(ptr d, ptr s, size n);
+
+#endif /* DATA_H_ */
diff --git a/util/int/dump.h b/util/int/dump.h
new file mode 100644 (file)
index 0000000..6c98573
--- /dev/null
@@ -0,0 +1,17 @@
+/*  Copyright (c) 2019 ACK Project.
+ *  See the copyright notice in the ACK home directory, 
+ *  in the file "Copyright".
+ *
+ *  Created on: 2019-03-16
+ *  
+ */
+#ifndef DUMP_H_
+#define DUMP_H_
+
+#ifdef LOGGING
+void std_all(long, int);
+void gdad_all(ptr, ptr);
+void hpd_all(void);
+#endif
+
+#endif /* DUMP_H_ */
diff --git a/util/int/io.h b/util/int/io.h
new file mode 100644 (file)
index 0000000..46f9bde
--- /dev/null
@@ -0,0 +1,16 @@
+/*  Copyright (c) 2019 ACK Project.
+ *  See the copyright notice in the ACK home directory, 
+ *  in the file "Copyright".
+ *
+ *  Created on: 2019-03-16
+ *  
+ */
+#ifndef IO_H_
+#define IO_H_
+
+void fatal(char *fmt, ...);
+void message(char *fmt, ...);
+void init_ofiles(int firsttime);
+void close_down(int rc);
+
+#endif /* IO_H_ */
diff --git a/util/int/m_sigtrp.h b/util/int/m_sigtrp.h
new file mode 100644 (file)
index 0000000..fa5eaa2
--- /dev/null
@@ -0,0 +1,15 @@
+/*  Copyright (c) 2019 ACK Project.
+ *  See the copyright notice in the ACK home directory, 
+ *  in the file "Copyright".
+ *
+ *  Created on: 2019-03-17
+ *  
+ */
+#ifndef M_SIGTRP_H_
+#define M_SIGTRP_H_
+
+void init_signals(void);
+int do_sigtrp(int tn, int sn);
+void trap_signal(void);
+
+#endif /* M_SIGTRP_H_ */