]> git.lizzy.rs Git - plan9front.git/commit
kernel: clean up Mach structure
authorcinap_lenrek <cinap_lenrek@felloff.net>
Sun, 25 Apr 2021 15:41:34 +0000 (17:41 +0200)
committercinap_lenrek <cinap_lenrek@felloff.net>
Sun, 25 Apr 2021 15:41:34 +0000 (17:41 +0200)
commitc0d4498ab8a4e564156f49e5b6633a6335b91fc4
treeb35786376285707481ad2c9b5a7fcd636b6a2a3b
parent9f54c2831717bc656df6e5a2fde2bf7be8e29fef
kernel: clean up Mach structure

Remove unused fields and factor common fields into a
new PMach struct in port/portdat.h.

The fields machno, splpc and proc are not moved to
PMach as they are part of the known offsets from
assembly (l.s).
13 files changed:
sys/src/9/bcm/dat.h
sys/src/9/bcm64/dat.h
sys/src/9/cycv/dat.h
sys/src/9/kw/dat.h
sys/src/9/mtx/dat.h
sys/src/9/omap/dat.h
sys/src/9/pc/dat.h
sys/src/9/pc64/dat.h
sys/src/9/port/portdat.h
sys/src/9/ppc/dat.h
sys/src/9/sgi/dat.h
sys/src/9/teg2/dat.h
sys/src/9/zynq/dat.h