[uClibc]byteswap.h for x86_64 port

Andrew Derrick Balsa andrebalsa at mailingaddress.org
Mon Apr 28 16:36:57 UTC 2003


Hi,

Attached my first attempt. I would be grateful if somebody could take a look 
and point my porbable mistakes. :-)

Also attached: draft README.
Thanks,
-- 
André Derrick Balsa (Andrew)
andrebalsa at mailingaddress.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: byteswap.h
Type: text/x-chdr
Size: 2571 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20030429/7c618467/attachment.h 
-------------- next part --------------
Port of uClibc for x86_64 (AMD64)

Andrew D. Balsa - April 2003

This port is based on the i386 code. It is being developed using the Bochs emulator (http://bochs.sf.net) version 2.0.2 and the Linux x86_64 kernel. Validation on real hardware is planned when the port is completed on the emulator.

The main document for this port can be downloaded for free from AMD?s website; it?s the AMD64 Architecture Manual, Vol.1. The second most important document is the ?Gentle Introduction to x86-64 Assembly? web page by Jan Hubicka, available on the x86-64.org website.

I have decided to proceed file by file in a directory inside lib/sysdeps/linux/x86_64; the starting point is a copy of the i386 branch.

File			Date completion		Comments

/bits/biteswap.h	28/04/03		Simplified relative to i386
/bits/endian.h		28/04/03		no changes
/bits/fcntl.h		28/04/03		no changes
/bits/fenv.h		28/04/03		apparently no changes - check
/bits/endian.h		28/04/03		-
/bits/endian.h		28/04/03		-
/bits/endian.h		28/04/03		-
/bits/endian.h		28/04/03		-
/bits/endian.h		28/04/03		-
/bits/endian.h		28/04/03		-
/bits/endian.h		28/04/03		-
/bits/endian.h		28/04/03		-
/bits/endian.h		28/04/03		-
/bits/endian.h		28/04/03		-
/bits/endian.h		28/04/03		-
/bits/endian.h		28/04/03		-
/bits/wordsize.h	28/04/03		no changes! Word size for x86-64 still 32bits


More information about the uClibc mailing list