mirror of
https://github.com/DoctorWkt/unix-jun72.git
synced 2026-01-27 20:48:18 +00:00
added include to mkfs.c for linux
cleaned up set in assem fixed rk3->rk0 in simh.cfg
This commit is contained in:
10
tools/assem
10
tools/assem
@@ -22,12 +22,16 @@ for f in rebuilt/u?.s ; do
|
||||
if [ $COLD = 1 ] ; then
|
||||
sed -e 's/.*init by copy.*/4;4;unkni;0;fpsym;0/' \
|
||||
-e 'sX\[systm-inode\]\\/2X-191.X' \
|
||||
-e 's/mount/xmount/' \
|
||||
-e 's/cold = 0/cold = 1/' < $f > build/$b
|
||||
-e 's/^mount:/_mount:/' \
|
||||
-e 's/$mount/$_mount/' \
|
||||
-e 's/cold = 0/cold = 1/' \
|
||||
< $f > build/$b
|
||||
else
|
||||
sed -e 's/.*init by copy.*/4;4;unkni;0;fpsym;0/' \
|
||||
-e 'sX[systm-inode]\/2X-101.X' \
|
||||
-e 's/mount/xmount/' < $f > build/$b
|
||||
-e 's/^mount:/xmount:/' \
|
||||
-e 's/$mount/$xmount/' \
|
||||
< $f > build/$b
|
||||
fi
|
||||
done
|
||||
|
||||
|
||||
@@ -21,6 +21,10 @@ int debug=1;
|
||||
#include <dirent.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
#ifdef linux
|
||||
#include <stdint.h>
|
||||
#endif
|
||||
|
||||
#define RF_SIZE 1024 /* Number of blocks on RF11 */
|
||||
#define RK_SIZE 4872 /* Number of blocks on RK03 */
|
||||
#define BLKSIZE 512 /* 512 bytes per block */
|
||||
|
||||
Reference in New Issue
Block a user