vx32

Local 9vx git repository for patches.
git clone git://r-36.net/vx32
Log | Files | Refs

portdat.ed (755B)


      1 1i
      2 // Plan 9 VX
      3 struct vxseg;
      4 struct vxproc;
      5 
      6 .
      7 v/typedef/ s!Lock;!Lock lk;!g
      8 v/typedef/ s!QLock;!QLock lk;!g
      9 g/CCREATE/d
     10 v/typedef/ s!Ref;!Ref ref;!g
     11 v/typedef/ s/Rendez;/Rendez rendez;/g
     12 v/typedef/ s/RWlock;/RWlock lk;/g
     13 /ulong	args/s/ulong/uint32/
     14 /notify/s/i.*;/ulong	notify;/
     15 /ureg/s/void	\*/ulong	/
     16 /^	RFNAMEG/-3i
     17 // Plan 9 VX added for help with FreeBSD
     18 #undef RFNAMEG
     19 #undef RFENVG
     20 #undef RFFDG
     21 #undef RFPROC
     22 #undef RFMEM
     23 #undef RFNOWAIT
     24 #undef RFCNAMEG
     25 #undef RFCENVG
     26 #undef RFCFDG
     27 #undef RFREND
     28 #undef RFNOMNT
     29 #undef RFNOTEG
     30 
     31 .
     32 v/typedef/ s/Timer;/Timer timer;/g
     33 /Notsave;/ s/Notsave;/Notsave notsave;/
     34 ,s/PMMU;/PMMU pmmu;/g
     35 $a
     36 void	printmap(void);	// Plan 9 VX
     37 
     38 .
     39 g/typedef.*Confmem/d
     40 g/typedef.*Page/d
     41 g/typedef.*Proc/d
     42 /cachectl\[MAXMACH\]/d