Hi! I've started porting gnumach to amd64, slowly, and I don't promise I'll get anything ready soon, or ever.
I'm first going to fix compilation warnings on ia32 so that it's easier to spot the 64-bit problems on amd64, and any regressions in ia32 introduced when fixing 64-bit problems. I've already got gnumach building with the amd64 toolchain (I'll be cleaning up those patches and sending them later on), but there's still 64-bit issues to be fixed that would show up at run-time. Once this first (easy, mostly revealed by the compiler) stage is finished, the ia32 specific code needs to be ported or code added to handle the amd64 stuff (setup long mode, context switching, etc). Regarding this patch series, I've moved one of the dev files to the src tree, but not the other one (irq.c), I could do that as well for that one, but it might be easier to do a mass move and be done with it. I could prepare and push such change if acked. Guillem Jover (10): Use explicit type int when defining register variables Match functions types with the ones from ‘struct tty’ members Move linux/dev/include/asm-i386/segment.h to src directory Use selector definitions from Mach for Linux code Interrupt handlers do not return any value Missing * in indirect lcall Mark macro arguments as used Use `unsigned char *' for byte buffers Add missing function prototypes Add missing casts i386/i386/pcb.c | 1 + i386/i386at/com.c | 12 +- i386/i386at/kd_mouse.c | 4 +- i386/i386at/lpr.c | 10 +- i386/intel/pmap.c | 7 +- i386/intel/pmap.h | 6 + linux/dev/arch/i386/kernel/irq.c | 14 +- linux/dev/include/asm-i386/segment.h | 375 ---------------------------------- linux/src/arch/i386/kernel/bios32.c | 20 +- linux/src/drivers/net/apricot.c | 16 +- linux/src/drivers/scsi/aha1542.c | 8 +- linux/src/include/asm-i386/segment.h | 109 +++++++---- vm/vm_resident.c | 4 +- 13 files changed, 127 insertions(+), 459 deletions(-) delete mode 100644 linux/dev/include/asm-i386/segment.h regards, guillem
