--- /sys/src/9/loongson64/dat.h +++ /sys/src/9/loongson64/dat.h @@ -29,7 +29,7 @@ typedef uvlong Tval; #define BOOT_MAGIC (0x160<<16) || magic == ((0x160<<16)|3) /* - * machine dependent definitions used by ../port/dat.h + * machine dependent definitions used by ../port64/dat.h */ struct Lock @@ -130,7 +130,7 @@ struct Notsave ulong nonempty; }; -#include "../port/portdat.h" +#include "../port64/portdat.h" /* First FIVE members' offsets known by l.s */ struct Mach --- /sys/src/9/loongson64/faultmips.c +++ /sys/src/9/loongson64/faultmips.c @@ -1,10 +1,10 @@ #include "u.h" -#include "../port/lib.h" +#include "../port64/lib.h" #include "mem.h" #include "dat.h" #include "fns.h" #include "ureg.h" -#include "../port/error.h" +#include "../port64/error.h" #include "io.h" enum { --- /sys/src/9/loongson64/fns.h +++ /sys/src/9/loongson64/fns.h @@ -1,4 +1,4 @@ -#include "../port/portfns.h" +#include "../port64/portfns.h" void arginit(void); int busprobe(ulong); --- /sys/src/9/loongson64/main.c +++ /sys/src/9/loongson64/main.c @@ -1,5 +1,5 @@ #include "u.h" -#include "../port/lib.h" +#include "../port64/lib.h" #include "mem.h" #include "dat.h" #include "fns.h" @@ -743,7 +743,7 @@ reboot(void *entry, void *code, ulong size) } /* - * stub for ../port/devpnp.c + * stub for ../port64/devpnp.c */ int isaconfig(char *class, int ctlrno, ISAConf *isa) --- /sys/src/9/loongson64/mkfile +++ /sys/src/9/loongson64/mkfile @@ -16,7 +16,7 @@ BY2PG=16384 MAXBY2PG=16384 REBOOTADDR=0xffffffff80003000 -DEVS=`{rc ../port/mkdevlist $CONF} +DEVS=`{rc ../port64/mkdevlist $CONF} PORT=\ alarm.$O\ @@ -87,8 +87,8 @@ install:V: $p$CONF echo <../boot/bootmkfile -<../port/portmkfile -<|../port/mkbootrules $CONF +<../port64/portmkfile +<|../port64/mkbootrules $CONF l.$O: $objtype.s @@ -103,13 +103,13 @@ init.h: init9.s initcode.c $objtype.s /sys/src/libc/9syscall/sys.h mkfile l.$O: $objtype.s main.$O: errstr.h init.h #reboot.h -devether.$O: ../port/netif.h etherif.h +devether.$O: ../port64/netif.h etherif.h clock.$O faultmips.$O mmu.$O trap.$O tmp.$O: /$objtype/include/ureg.h %.clean:V: rm -f $stem.c [9bz]$stem [9bz]$stem.gz boot$stem.* *.list -# override ../port/portmkfile +# override ../port64/portmkfile # create /boot/boot boot$CONF.out: $CONF print.$O $BOOTDIR/boot.c $BOOTLIB $BOOTDIR/mkboot $CONF > boot$CONF.c --- /sys/src/9/loongson64/mmu.c +++ /sys/src/9/loongson64/mmu.c @@ -1,5 +1,5 @@ #include "u.h" -#include "../port/lib.h" +#include "../port64/lib.h" #include "mem.h" #include "dat.h" #include "fns.h" --- /sys/src/9/loongson64/tmp.c +++ /sys/src/9/loongson64/tmp.c @@ -1,14 +1,14 @@ #include "u.h" -#include "../port/lib.h" +#include "../port64/lib.h" #include "mem.h" #include "dat.h" #include "fns.h" #include "io.h" -#include "../port/error.h" +#include "../port64/error.h" #include "ureg.h" // archxxx.c -#include "../port/netif.h" +#include "../port64/netif.h" #include "etherif.h" int --- /sys/src/9/loongson64/trap.c +++ /sys/src/9/loongson64/trap.c @@ -1,12 +1,12 @@ #include "u.h" -#include "../port/lib.h" +#include "../port64/lib.h" #include "mem.h" #include "dat.h" #include "fns.h" #include "ureg.h" #include "io.h" #include -#include "../port/error.h" +#include "../port64/error.h" #define setstatus(v) /* experiment: delete this to enable recursive traps */ @@ -845,7 +845,7 @@ noted(Ureg *kur, Ureg **urp, ulong arg0) } } -#include "../port/systab.h" +#include "../port64/systab.h" static Ref goodsyscall; static Ref totalsyscall; --- /sys/src/9/loongson64/uarti8250.c +++ /sys/src/9/loongson64/uarti8250.c @@ -3,7 +3,7 @@ */ #include "u.h" -#include "../port/lib.h" +#include "../port64/lib.h" #include "mem.h" #include "dat.h" #include "fns.h"