MPS issue job001636

TitleToo much Unix code is dangerously copied and not shared.
Assigned userDavid Jones
DescriptionToo much Unix code is dangerously copied and not shared.

There are lots of almost the same files: prot*.c lock*.c vm*.c

Maybe others.
AnalysisHistorically many Unixes were almost the same but not quite. In the
21st century those Unixes have either died, evolved into, or been
replaced by Unixes that implement a common interface, usually some sort
of POSIX interface or an evolution thereof.

See what code can be shared across different unixes and share it.

Use the platform code ix for implementations that are shared across
more than one Unix-like operating system.

2007-03-09 DRJ:

protix.c, protsgix.c now used on Intel Darwin and FreeBSD.
protix.c now also used on Linux. protli.c removed.

2007-03-12 DRJ:

lockix.c now used on Darwin and FreeBSD. lockfr.c removed.

vmix.c now used on Darwin and FreeBSD. vmfr.c and vmxc.c removed.

2007-07-20 DRJ:

vmix.c now used on Linux. vmli.c removed.
How foundunknown
Observed in1.107.0
Created byDavid Jones
Created on2007-03-09 09:29:15
Last modified byRichard Brooksby
Last modified on2012-08-15 16:47:50
History2007-03-09 DRJ Created.
2007-03-09 DRJ protix.c protsgix.c
2007-03-12 DRJ lockix.c
2007-03-12 DRJ vmix.c
2007-07-20 DRJ vmli.c removed


Change Effect Date User Description
178937 closed 2012-08-15 16:47:50 Richard Brooksby Unifying code-identical protection implementations for Linux.
178928 open 2012-08-14 17:30:22 Richard Brooksby Adding FRI6GC (FreeBSD on amd64/x86_64) platform.
Unifying thfr.c with generalised thix.c for Posix threads.
178926 open 2012-08-14 17:10:48 Richard Brooksby Renaming thli.c to thix.c as it is now general to Posix threads.
178925 open 2012-08-14 17:05:11 Richard Brooksby Moving Linux-specific parts out of thli.c in order to unify with FreeBSD.
162974 open 2007-07-20 19:15:15 David Jones MPS: Linux: using vmix rather than vmli
161967 open 2007-03-21 14:03:40 Richard Kistruck MPS: (xcpp) Replacing protxc.c with protix.c
161918 open 2007-03-12 12:17:50 David Jones MPS: Replacing vmfr.c with vmix.c
161917 open 2007-03-12 12:16:18 David Jones MPS: Replaced vmxc.c with vmix.c
161916 open 2007-03-12 11:01:35 David Jones MPS: Replaced lockfr.c with lockix.c
161909 open 2007-03-09 14:13:53 David Jones MPS: removing protli.c
161906 open 2007-03-09 10:09:48 David Jones MPS: Using protix.c and protsgix.c on FreeBSD.