On Wed, Oct 18, 2000 at 02:05:38AM -0400, Roland McGrath wrote:
> > I've looked through gnumach's machine dependent headers trying to see
> > where they could be replaces by equivalet oskit headers to eliminate 
> > redundancy. So now I've eliminated most of the redundancy and removed the 
> > unneeded headers from my local copy of gnumach (oskit-mach) rather.
> 
> Please be specific about which files you are hacking on.  I have avoided
> unnecessary diddling of the user-visible headers, to keep the gnumach-devel
> package compatible between gnumach and oskit-mach.  The user-visible
> headers are in include/ and i386/include/.  I believe there are files in
> those directories that are in fact not used outside the kernel, and it
> would be good to get rid of these so the user-visible Mach headers are a
> minimal set providing just the actual kernel interfaces proper.  

Ok, I've attached a listing of the old sate and the new state of
[gnumach]/i386/.

> 
> > Also a lot of oskit headers are simply taken from mach and are
> > identical except a few subtle cases. For example oskit/x86/base_gdt.h
> > defines USER_CS to be 0x43 and i386/i386/ldt.h defines it to be 0x17. 
> 
> The low three bits of those values are flag bits to the hardware.
> 

So which set of flags has advantage over the other?

Igor
gnumach.old/i386/:
CVS/
Files
Makefrag
Subdirs
i386/
i386at/
include/
intel/

gnumach.old/i386/CVS:
Entries
Repository
Root
Tag

gnumach.old/i386/i386:
CVS/
ast.h
ast_check.c
ast_types.h
cpu_number.h
cswitch.S
eflags.h
fpe_linkage.c
fpu.c
fpu.h
gdt.c
gdt.h
hardclock.c
i386asm.sym
idt-gen.h
idt.c
idt_inittab.S
io_emulate.c
io_emulate.h
io_port.h
iopb.c
iopb.h
ipl.h
ldt.c
ldt.h
lock.h
locore.S
mach_i386.srv
mach_param.h
machine_routines.h
machspl.h
mp_desc.c
mp_desc.h
pcb.c
phys.c
pic.c
pio.h
pit.c
pmap.h
sched_param.h
spl.S
spl.h
thread.h
time_stamp.h
trap.c
trap.h
user_ldt.c
user_ldt.h
vm_param.h
vm_tuning.h
zalloc.h

gnumach.old/i386/i386/CVS:
Entries
Repository
Root
Tag

gnumach.old/i386/i386at:
CVS/
idt.h
int_init.c
interrupt.S
pic_isa.c

gnumach.old/i386/i386at/CVS:
Entries
Repository
Root
Tag

gnumach.old/i386/include:
CVS/
Makefile.in
mach/

gnumach.old/i386/include/CVS:
Entries
Repository
Root
Tag

gnumach.old/i386/include/mach:
CVS/
i386/
machine/
proc_ops.h
sa/
setjmp.h

gnumach.old/i386/include/mach/CVS:
Entries
Repository
Root
Tag

gnumach.old/i386/include/mach/i386:
CVS/
asm.h
bios.h
boolean.h
code16.h
cthreads.h
debug_reg.h
disk.h
dpmi.h
eflags.h
exception.h
exec/
far_ptr.h
fp_reg.h
ioccom.h
kern_return.h
mach_i386.defs
mach_i386_types.h
machine_types.defs*
multiboot.h
paging.h
pio.h
pmode.h
proc_reg.h
rpc.h
seg.h
syscall_sw.h
thread_status.h
time_stamp.h
trap.h
tss.h
vcpi.h
vm_param.h
vm_types.h

gnumach.old/i386/include/mach/i386/CVS:
Entries
Repository
Root
Tag

gnumach.old/i386/include/mach/i386/exec:
CVS/
elf.h

gnumach.old/i386/include/mach/i386/exec/CVS:
Entries
Repository
Root
Tag

gnumach.old/i386/include/mach/machine:
CVS/
asm.h
bios.h
boolean.h
code16.h
cthreads.h
debug_reg.h
disk.h
dpmi.h
eflags.h
exception.h
exec/
far_ptr.h
fp_reg.h
ioccom.h
kern_return.h
mach_i386.defs
mach_i386_types.h
machine_types.defs*
multiboot.h
paging.h
pio.h
pmode.h
proc_reg.h
rpc.h
seg.h
syscall_sw.h
thread_status.h
time_stamp.h
trap.h
tss.h
vcpi.h
vm_param.h
vm_types.h

gnumach.old/i386/include/mach/machine/CVS:
Entries
Repository
Root
Tag

gnumach.old/i386/include/mach/machine/exec:
CVS/
elf.h

gnumach.old/i386/include/mach/machine/exec/CVS:
Entries
Repository
Root
Tag

gnumach.old/i386/include/mach/sa:
CVS/
stdarg.h
sys/

gnumach.old/i386/include/mach/sa/CVS:
Entries
Repository
Root
Tag

gnumach.old/i386/include/mach/sa/sys:
CVS/
varargs.h

gnumach.old/i386/include/mach/sa/sys/CVS:
Entries
Repository
Root
Tag

gnumach.old/i386/intel:
CVS/
pmap.c
pmap.h
read_fault.c

gnumach.old/i386/intel/CVS:
Entries
Repository
Root
Tag

----------------------------

gnumach.new/i386/:
CVS/
Files
Makefrag
Subdirs
i386/
i386at/
include/
intel/

gnumach.new/i386/CVS:
Entries
Repository
Root

gnumach.new/i386/i386:
CVS/
ast.h
ast_check.c
ast_types.h
cpu_number.h
cswitch.S
eflags.h
fpu.c
fpu.h
gdt.c
gdt.h
hardclock.c
i386asm.sym
idt.c
idt_inittab.S
io_emulate.c
io_emulate.h
io_port.h
iopb.c
iopb.h
ipl.h
ldt.c
ldt.h
lock.h
locore.S
mach_i386.srv
mach_param.h
machine_routines.h
math-emu/
mp_desc.c
mp_desc.h
pcb.c
phys.c
pic.c
pio.h
pit.c
pmap.h
sched_param.h
spl.S
spl.h
tags
thread.h
time_stamp.h
trap.c
trap.h
user_ldt.c
user_ldt.h
vm_param.h
vm_tuning.h
zalloc.h

gnumach.new/i386/i386/CVS:
Entries
Repository
Root

gnumach.new/i386/i386/math-emu:
CVS/
Makefile
README
control_w.h
div_Xsig.S
div_Xsig.o
div_small.S
div_small.o
errors.c
errors.o
exception.h
fpu_arith.c
fpu_arith.o
fpu_asm.h
fpu_aux.c
fpu_aux.o
fpu_emu.h
fpu_entry.c
fpu_entry.i
fpu_entry.o
fpu_entry.s
fpu_etc.c
fpu_etc.o
fpu_proto.h
fpu_system.h
fpu_tags.c
fpu_tags.o
fpu_trig.c
fpu_trig.o
get_address.c
get_address.o
load_store.c
load_store.o
math.o
mul_Xsig.S
mul_Xsig.o
poly.h
poly_2xm1.c
poly_2xm1.o
poly_atan.c
poly_atan.o
poly_l2.c
poly_l2.o
poly_sin.c
poly_sin.o
poly_tan.c
poly_tan.o
polynom_Xsig.S
polynom_Xsig.o
reg_add_sub.c
reg_add_sub.o
reg_compare.c
reg_compare.o
reg_constant.c
reg_constant.h
reg_constant.o
reg_convert.c
reg_convert.o
reg_divide.c
reg_divide.o
reg_ld_str.c
reg_ld_str.o
reg_mul.c
reg_mul.o
reg_norm.S
reg_norm.o
reg_round.S
reg_round.o
reg_u_add.S
reg_u_add.o
reg_u_div.S
reg_u_div.o
reg_u_mul.S
reg_u_mul.o
reg_u_sub.S
reg_u_sub.o
round_Xsig.S
round_Xsig.o
shr_Xsig.S
shr_Xsig.o
status_w.h
tags
version.h
wm_shrx.S
wm_shrx.o
wm_sqrt.S
wm_sqrt.o

gnumach.new/i386/i386/math-emu/CVS:
Entries
Repository
Root

gnumach.new/i386/i386at:
CVS/
int_init.c
interrupt.S
pic_isa.c

gnumach.new/i386/i386at/CVS:
Entries
Repository
Root

gnumach.new/i386/include:
CVS/
Makefile.in
mach/

gnumach.new/i386/include/CVS:
Entries
Repository
Root

gnumach.new/i386/include/mach:
CVS/
i386/
machine@

gnumach.new/i386/include/mach/CVS:
Entries
Repository
Root

gnumach.new/i386/include/mach/i386:
CVS/
boolean.h
cthreads.h
exception.h
kern_return.h
mach_i386.defs
mach_i386_types.h
machine_types.defs
rpc.h
syscall_sw.h
thread_status.h
vm_param.h
vm_types.h

gnumach.new/i386/include/mach/i386/CVS:
Entries
Repository
Root

gnumach.new/i386/intel:
CVS/
pmap.c
pmap.h
read_fault.c

gnumach.new/i386/intel/CVS:
Entries
Repository
Root

Reply via email to