dragonfly.git
17 years agoCorrect path.
Sascha Wildner [Sat, 12 Aug 2006 05:30:17 +0000 (05:30 +0000)]
Correct path.

17 years agoUse pcidevs.h
Sascha Wildner [Sat, 12 Aug 2006 05:19:46 +0000 (05:19 +0000)]
Use pcidevs.h

17 years agoUse pcidevs.h
Sascha Wildner [Sat, 12 Aug 2006 05:18:31 +0000 (05:18 +0000)]
Use pcidevs.h

17 years agoUse pcidevs.h's definition of the BCM5714 id.
Sascha Wildner [Sat, 12 Aug 2006 05:17:03 +0000 (05:17 +0000)]
Use pcidevs.h's definition of the BCM5714 id.

17 years agoregenerate
Sascha Wildner [Sat, 12 Aug 2006 05:14:45 +0000 (05:14 +0000)]
regenerate

17 years agoAdd ids for Broadcom's BCM5714 and Comtrol RocketPort boards.
Sascha Wildner [Sat, 12 Aug 2006 05:12:51 +0000 (05:12 +0000)]
Add ids for Broadcom's BCM5714 and Comtrol RocketPort boards.

Taken-from: NetBSD

While I'm here, order the Broadcom devices numerically.

17 years agoSilence LINT warning.
Sascha Wildner [Sat, 12 Aug 2006 05:06:48 +0000 (05:06 +0000)]
Silence LINT warning.

17 years agoVNode sequencing and locking - part 3/4.
Matthew Dillon [Sat, 12 Aug 2006 00:26:22 +0000 (00:26 +0000)]
VNode sequencing and locking - part 3/4.

VNode aliasing is handled by the namecache (aka nullfs), so there is no
longer a need to have VOP_LOCK, VOP_UNLOCK, or VOP_ISSLOCKED as 'VOP'
functions.  Both NFS and DEADFS have been using standard locking functions
for some time and are no longer special cases.  Replace all uses with
native calls to vn_lock, vn_unlock, and vn_islocked.

We can't have these as VOP functions anyhow because of the introduction of
the new SYSLINK transport layer, since vnode locks are primarily used to
protect the local vnode structure itself.

17 years agoVNode sequencing and locking - part 2/4.
Matthew Dillon [Fri, 11 Aug 2006 01:55:02 +0000 (01:55 +0000)]
VNode sequencing and locking - part 2/4.

Control access to v_usecount and v_holdcnt with the vnode's lock's spinlock.
Use the spinlock to interlock the VRECLAIMED and VINACTIVE flags during
1->0 and 0->1 transitions.  N->N+1 transitions do not need to obtain the
spinlock and simply use a locked bus cycle increment.  Vnode operations
are still not MP safe but this gets further along that road.

The lockmgr can no longer fail when obtaining an exclusive lock, remove
the error code return from vx_lock() and vx_get().  Add special lockmgr
support routines to atomically acquire and release an exclusive lock
when the caller is already holding the spinlock.

The removal of vnodes from the vnode free list is now defered.  Removal
only occurs when allocvnode() encounters a vnode on the list which should
not be on it.  This improves critical code paths for vget(), vput() and
vrele() by removing unnecessary manipulation of the freelist.

Fix a lockmgr bug where wakeup() was being called with a spinlock held.
Instead, defer the wakeup until after the spinlock is released.

17 years agoVNode sequencing and locking - part 1/4.
Matthew Dillon [Wed, 9 Aug 2006 22:47:36 +0000 (22:47 +0000)]
VNode sequencing and locking - part 1/4.

Separate vref() for the case where the ref count is already non-zero (which
is nearly all uses of vref()), vs the case where it might be zero.  Clean
up the code in preparation for putting it under a spinlock.

17 years agoChecking commit emails.
Peter Avalos [Wed, 9 Aug 2006 20:51:05 +0000 (20:51 +0000)]
Checking commit emails.

17 years agoProtect the pfshead[] hash table with a token.
Matthew Dillon [Tue, 8 Aug 2006 21:36:28 +0000 (21:36 +0000)]
Protect the pfshead[] hash table with a token.

17 years ago-WARNS6 cleanup
Peter Avalos [Tue, 8 Aug 2006 17:08:49 +0000 (17:08 +0000)]
-WARNS6 cleanup
-ANSI function declarations
-use M_PI instead of defining our own PI
-staticize functions

17 years ago-WARNS6 cleanup
Peter Avalos [Tue, 8 Aug 2006 17:05:14 +0000 (17:05 +0000)]
-WARNS6 cleanup
-ANSI function declarations
-staticize functions
-remove (void) casts for unchecked function returns

17 years ago-WARNS6 cleanups (36 warnings)
Peter Avalos [Tue, 8 Aug 2006 16:58:59 +0000 (16:58 +0000)]
-WARNS6 cleanups (36 warnings)
-use bool from stdbool.h instead of making our own type

17 years agoRemove fortunes-o in the clean target.
Peter Avalos [Tue, 8 Aug 2006 16:52:53 +0000 (16:52 +0000)]
Remove fortunes-o in the clean target.

17 years ago-WARNS6 cleanup (1441 warnings)
Peter Avalos [Tue, 8 Aug 2006 16:47:20 +0000 (16:47 +0000)]
-WARNS6 cleanup (1441 warnings)
-ANSI function declarations
-staticize functions

17 years ago-WARNS6 cleanup (1858 warnings)
Peter Avalos [Tue, 8 Aug 2006 16:36:11 +0000 (16:36 +0000)]
-WARNS6 cleanup (1858 warnings)
-ANSI function declarations
-staticize functions
-Change if(x = foo(y)) constructs to if((x = foo(y)) != 0)
-Add $DragonFly$ where needed

17 years ago-WARNS6 cleanups (452 warnings)
Peter Avalos [Tue, 8 Aug 2006 15:03:02 +0000 (15:03 +0000)]
-WARNS6 cleanups (452 warnings)
-staticize functions
-ANSI function declarations
-Add $DragonFly$ keyword where needed

-Thanks to swildner for some of the yacc and lex cleanups.

17 years agoLK_NOPAUSE no longer serves a purpose, scrap it.
Matthew Dillon [Tue, 8 Aug 2006 03:52:45 +0000 (03:52 +0000)]
LK_NOPAUSE no longer serves a purpose, scrap it.

17 years agominor syslink cleanups to get the syslink_read() and syslink_write()
Matthew Dillon [Tue, 8 Aug 2006 01:27:14 +0000 (01:27 +0000)]
minor syslink cleanups to get the syslink_read() and syslink_write()
skeletons to work properly.

17 years agoInstead of indirectly calling vop_stdlock() and friends, install direct
Matthew Dillon [Tue, 8 Aug 2006 01:23:07 +0000 (01:23 +0000)]
Instead of indirectly calling vop_stdlock() and friends, install direct
vectors.

17 years agoFix a BM control -related panic by bringing rev 1.44-1.45
YONETANI Tomokazu [Mon, 7 Aug 2006 23:27:22 +0000 (23:27 +0000)]
Fix a BM control -related panic by bringing rev 1.44-1.45
of acpi_cpu.c from FreeBSD:
 revision 1.45
 date: 2004-10-11 21:15:10 +0000;  author: njl;  state: Exp;  lines: +28 -16;
 Update C3 support when BM control is not present.

 * Fix a bug where caches were flushed on non-C3 transitions.
 * Be sure a working flush cache instruction is present before using it.
 * Disable C3 completely if it isn't present.
 ----------------------------
 revision 1.44
 date: 2004-10-11 06:06:42 +0000;  author: njl;  state: Exp;  lines: +28 -17;
 If bus mastering control is not available (PM2_BLK), don't just disable
 C3.  Instead, flush caches before entering C3.  This may be slower but
 provides good power savings.

Reported-by: Richard Nyberg <rnyberg at murmeldjur.se>
17 years agoAdd a pointer to boot(8) where the kernel options are actually documented.
Sascha Wildner [Mon, 7 Aug 2006 19:45:56 +0000 (19:45 +0000)]
Add a pointer to boot(8) where the kernel options are actually documented.

Noticed-by: Victor Balada Diaz <victor@bsdes.net>
17 years agoAdd structures and skeleton code for a new system call called syslink()
Matthew Dillon [Sun, 6 Aug 2006 18:56:46 +0000 (18:56 +0000)]
Add structures and skeleton code for a new system call called syslink()
which will support the kernel syslink API.  This is the link protocol that
will be used for user<->kernel (e.g. user VFS) and kernel<->kernel (cluster)
communications.

Syslink-based protocols will be used for DEV, VFS, CCMS, and other
cluster-related operations.

17 years agoPerform the following cleanup in sys/dev/netif:
Sascha Wildner [Sun, 6 Aug 2006 12:49:06 +0000 (12:49 +0000)]
Perform the following cleanup in sys/dev/netif:

* Ansify function definitions.

* Remove (void) casts for discarded return values.

* Remove register keywords.

* Move types and names in function definitions on separate lines.

In-collaboration-with: Alexey Slynko <slynko@tronet.ru>
Reviewed-by: sephe
17 years agoSync MII support with NetBSD/OpenBSD:
Sepherosa Ziehau [Sun, 6 Aug 2006 10:32:23 +0000 (10:32 +0000)]
Sync MII support with NetBSD/OpenBSD:
- Standard conforming GMII support:
  1) replace mii_media_add() with mii_phy_add_media().
  2) ukphy has generic GMII support now, thus retire nvphy.
- Factor common code of PHY modules out into mii_physubr.c, noticably
  mii_phy_{set_media, tick, update}().
  In order to support this refactoring:
  1) mii_softc.{mii_reset,mii_status} funtion pointers are added, which are
     used to reset PHY modules and get PHY modules' status.
  2) mii_softc.mii_anegticks is added, which is used by PHY modules to tell
     mii_phy_tick(), how often auto-negociation should happen.  Two commonly
     used values are defined as MII_ANEGTICKS and MII_ANEGTICKS_GIGE.
     mii_softc.mii_anegticks is set to MII_ANEGTICKS by default.
- Add mii_softc.mii_media_status and rename mii_softc.mii_active to
  mii_softc.mii_media_active.  Now changes in either one of them will cause
  MIIBUS_STATCHG() being involked.
- For PHY modules that utilize mii_phy_add_media(), ifmedia_entry.ifm_data
  no longer stores value of BMCR.  It stores an index of mii_media_table[],
  which stores BMCR, ANAR and GTCR.
- Replace slightly different PHY modules detach routines with ukphy_detach().
- Use OUI and MODEL id array + mii_phy_match() in PHY modules probe routines,
  instead of original large `if, else if' or `switch' code segment.
- Support more OUIs and MODELs in individual PHY module.
- Make the usage of `mii' and `sc' stack variable more consistent.  `mii'
  refers to miibus softc, while `sc' refers to PHY module softc.
- Nuke no longer used functions' definition and declaration.
- Regen miidevs.h

Following PHY modules were tested:
acphy(dc), brgphy(bge), e1000phy(nv,sk), exphy(xl), inphy(fxp), rgephy(re),
rlphy(rl), ruephy(rue), ukphy(nv,vr,...)

MII generic code is mainly synced with NetBSD.
Individual PHY modules are mainly synced with OpenBSD.

Tested-by: swildner, corecode
17 years agoMatch .Dt with filename.
Sascha Wildner [Sun, 6 Aug 2006 02:27:56 +0000 (02:27 +0000)]
Match .Dt with filename.

17 years agoUse .Cd for config declaration and add missing quote.
Sascha Wildner [Sun, 6 Aug 2006 02:27:01 +0000 (02:27 +0000)]
Use .Cd for config declaration and add missing quote.

17 years agonone_funcname() -> none_crypto_funcname()
Sepherosa Ziehau [Sat, 5 Aug 2006 03:18:27 +0000 (03:18 +0000)]
none_funcname() -> none_crypto_funcname()

Now more ieee80211_xxx_none.c can be added without duplicated(confusing)
function names.

17 years ago- Add ieee80211com.ic_sysctl_oid, so sub-wlan module (e.g. wlan_wep) can
Sepherosa Ziehau [Fri, 4 Aug 2006 15:42:27 +0000 (15:42 +0000)]
- Add ieee80211com.ic_sysctl_oid, so sub-wlan module (e.g. wlan_wep) can
  further expand the sysctl tree
- Fix a possible memory leakage in ieee80211_sysctl_attach()

17 years agoRename acx_fw_txdesc.f_tx_{ack,rts}_fail to
Sepherosa Ziehau [Fri, 4 Aug 2006 14:04:16 +0000 (14:04 +0000)]
Rename acx_fw_txdesc.f_tx_{ack,rts}_fail to
acx_fw_txdesc.f_tx_{data,rts}_nretry.
These two fields can be used to do rate control.

17 years agoRemove all occurences of double semicolons at the end of a line by
Sascha Wildner [Thu, 3 Aug 2006 16:40:49 +0000 (16:40 +0000)]
Remove all occurences of double semicolons at the end of a line by
single ones.

Submitted-by: Bill Marquette <bill.marquette@gmail.com>
17 years agoGet rid of a bogus check that cut the blocked-lock wakeup code a little
Matthew Dillon [Thu, 3 Aug 2006 16:06:15 +0000 (16:06 +0000)]
Get rid of a bogus check that cut the blocked-lock wakeup code a little
too short, causing sendmail and postfix to sometimes block indefinitely.

Reported-by: Sven Willenberger <sven@dmv.com>, Petr Janda <elekktretterr@exemail.com.au>, Jon Hamilton <hamilton@pobox.com>
17 years agoGet rid of some unused fields in the fileops and adjust the declarations
Matthew Dillon [Wed, 2 Aug 2006 01:25:28 +0000 (01:25 +0000)]
Get rid of some unused fields in the fileops and adjust the declarations
to use the '.field = blah' initialization method.

17 years agoDon't call pci_get_device() multiple times.
Sascha Wildner [Tue, 1 Aug 2006 18:13:21 +0000 (18:13 +0000)]
Don't call pci_get_device() multiple times.

17 years agoUse pcidevs.h.
Sascha Wildner [Tue, 1 Aug 2006 18:11:47 +0000 (18:11 +0000)]
Use pcidevs.h.

17 years agoUse pcidevs.h.
Sascha Wildner [Tue, 1 Aug 2006 18:11:20 +0000 (18:11 +0000)]
Use pcidevs.h.

17 years agoUse pcidevs.h.
Sascha Wildner [Tue, 1 Aug 2006 18:10:40 +0000 (18:10 +0000)]
Use pcidevs.h.

17 years agoUse pcidevs.h.
Sascha Wildner [Tue, 1 Aug 2006 18:10:05 +0000 (18:10 +0000)]
Use pcidevs.h.

17 years agoUse pcidevs.h.
Sascha Wildner [Tue, 1 Aug 2006 18:09:37 +0000 (18:09 +0000)]
Use pcidevs.h.

17 years agoUse pcidevs.h.
Sascha Wildner [Tue, 1 Aug 2006 18:08:24 +0000 (18:08 +0000)]
Use pcidevs.h.

17 years agoUse pcidevs.h.
Sascha Wildner [Tue, 1 Aug 2006 18:07:57 +0000 (18:07 +0000)]
Use pcidevs.h.

17 years agoUse pcidevs.h.
Sascha Wildner [Tue, 1 Aug 2006 18:07:12 +0000 (18:07 +0000)]
Use pcidevs.h.

17 years agoUse pcidevs.h.
Sascha Wildner [Tue, 1 Aug 2006 18:06:44 +0000 (18:06 +0000)]
Use pcidevs.h.

17 years agoUse pcidevs.h.
Sascha Wildner [Tue, 1 Aug 2006 18:06:14 +0000 (18:06 +0000)]
Use pcidevs.h.

17 years agoUse pcidevs.h.
Sascha Wildner [Tue, 1 Aug 2006 18:05:43 +0000 (18:05 +0000)]
Use pcidevs.h.

17 years agoUse pcidevs.h.
Sascha Wildner [Tue, 1 Aug 2006 18:05:02 +0000 (18:05 +0000)]
Use pcidevs.h.

17 years agoUse pcidevs.h.
Sascha Wildner [Tue, 1 Aug 2006 18:04:22 +0000 (18:04 +0000)]
Use pcidevs.h.

17 years agoUse pcidevs.h.
Sascha Wildner [Tue, 1 Aug 2006 18:03:53 +0000 (18:03 +0000)]
Use pcidevs.h.

17 years agoUse pcidevs.h.
Sascha Wildner [Tue, 1 Aug 2006 18:03:19 +0000 (18:03 +0000)]
Use pcidevs.h.

17 years agoUse pcidevs.h.
Sascha Wildner [Tue, 1 Aug 2006 18:02:40 +0000 (18:02 +0000)]
Use pcidevs.h.

17 years agoUse pcidevs.h and common PCI probe style.
Sascha Wildner [Tue, 1 Aug 2006 18:01:38 +0000 (18:01 +0000)]
Use pcidevs.h and common PCI probe style.

17 years agoUse pcidevs.h and common PCI probe style.
Sascha Wildner [Tue, 1 Aug 2006 18:00:54 +0000 (18:00 +0000)]
Use pcidevs.h and common PCI probe style.

17 years agoregenerate
Sascha Wildner [Tue, 1 Aug 2006 17:55:57 +0000 (17:55 +0000)]
regenerate

17 years agoAdd some missing IDs in preparation for switching some network drivers
Sascha Wildner [Tue, 1 Aug 2006 17:49:11 +0000 (17:49 +0000)]
Add some missing IDs in preparation for switching some network drivers
to use pcidevs.h.

17 years agoRegen.
Sascha Wildner [Tue, 1 Aug 2006 17:02:32 +0000 (17:02 +0000)]
Regen.

Hart:    2006-06-05 (version 605)
Boemler: 2006-08-01

17 years agoUpdate the syslink structural documentation. Add syslink_msg.h, containing
Matthew Dillon [Tue, 1 Aug 2006 16:21:19 +0000 (16:21 +0000)]
Update the syslink structural documentation.  Add syslink_msg.h, containing
the transport structure for syslink messages.  Start working on the new
syslink system call API which will be used to establish a syslink connection
with the kernel.

17 years agoDon't prematurely check for non-active descriptors by looking up the
Simon Schubert [Tue, 1 Aug 2006 08:25:58 +0000 (08:25 +0000)]
Don't prematurely check for non-active descriptors by looking up the
entry in _thread_fd_table, as it might have not been populated before.
_FD_LOCK already takes care of filtering out non-existing descriptors.

Reported-by: Thomas E. Spanjaard
17 years agoUpdate the documentation to reflect current state: d_reclen is dead.
Simon Schubert [Mon, 31 Jul 2006 19:29:41 +0000 (19:29 +0000)]
Update the documentation to reflect current state:  d_reclen is dead.

17 years agoMove include under _KERNEL protection.
Simon Schubert [Mon, 31 Jul 2006 12:17:39 +0000 (12:17 +0000)]
Move include under _KERNEL protection.

This reduces namespace pollution and allows C++ sources including
netinet/if_ether.h to be compiled again.

Reported-by: Joe Talbott <josepht@cstone.net>
17 years agoAdd amd64 support
Simon Schubert [Mon, 31 Jul 2006 12:12:08 +0000 (12:12 +0000)]
Add amd64 support

17 years agoFix an incorrect #ifndef label. Also remove a now unnecessary
Matthew Dillon [Sun, 30 Jul 2006 16:49:34 +0000 (16:49 +0000)]
Fix an incorrect #ifndef label.  Also remove a now unnecessary
#include <sys/msgport.h>.

Reported-by: Joe Talbott <josepht@ntelos.net>
17 years agoRather than calling mircotime() in catchpacket(), make catchpacket()
Sepherosa Ziehau [Sun, 30 Jul 2006 09:39:27 +0000 (09:39 +0000)]
Rather than calling mircotime() in catchpacket(), make catchpacket()
take a timeval indicating when the packet was captured. Move
microtime() to the calling functions and grab the timestamp as soon
as we know that we're going to call catchpacket at least once.

This means that we call microtime() once per matched packet, as
opposed to once per matched packet per bpf listener. It also means
that we return the same timestamp to all bpf listeners, rather than
slightly different ones.

It would be more accurate to call microtime() even earlier for all
packets, but microtime() can be costly, so this didn't seem like a good idea.

Obtained-from: FreeBSD (dwmalone@freebsd.org)
Remined-and-Reviewed-by: joerg
17 years agoruserpass() takes 4 arguments but is called with only 3. Since we
Sascha Wildner [Sun, 30 Jul 2006 07:50:28 +0000 (07:50 +0000)]
ruserpass() takes 4 arguments but is called with only 3. Since we
don't actually use acct, just take a dummy pointer.

17 years agoRemove duplicate code line.
Matthew Dillon [Sun, 30 Jul 2006 06:49:39 +0000 (06:49 +0000)]
Remove duplicate code line.

Reported-by: "Bill Marquette" <bill.marquette@gmail.com>
Taken-from: OpenBSD

17 years agoRemove brconfig(8) from the build.
Sascha Wildner [Sat, 29 Jul 2006 18:56:28 +0000 (18:56 +0000)]
Remove brconfig(8) from the build.

17 years agoRetire brconfig. Its functionality is covered in ifconfig.
Simon Schubert [Sat, 29 Jul 2006 12:11:11 +0000 (12:11 +0000)]
Retire brconfig.  Its functionality is covered in ifconfig.

17 years agoLast commit changed the function arguments of userland version of
YONETANI Tomokazu [Sat, 29 Jul 2006 03:49:01 +0000 (03:49 +0000)]
Last commit changed the function arguments of userland version of
iplioctl() to use (struct dev_ioctl_args *) only for ip_fil.c.
Adjust it to make it work again.

17 years agoWhy is ip_fil.h trying to declare kernel procedures for userland #include's?
Matthew Dillon [Fri, 28 Jul 2006 07:31:08 +0000 (07:31 +0000)]
Why is ip_fil.h trying to declare kernel procedures for userland #include's?
Remove them.

17 years agoFor the moment adjust dd to find the new location of the device type
Matthew Dillon [Fri, 28 Jul 2006 06:24:03 +0000 (06:24 +0000)]
For the moment adjust dd to find the new location of the device type
flags (D_*)

Reported-by: YONETANI Tomokazu <qhwt+dfly@les.ath.cx>
17 years agoMASSIVE reorganization of the device operations vector. Change cdevsw
Matthew Dillon [Fri, 28 Jul 2006 02:17:41 +0000 (02:17 +0000)]
MASSIVE reorganization of the device operations vector.  Change cdevsw
to dev_ops.  dev_ops is a syslink-compatible operations vector structure
similar to the vop_ops structure used by vnodes.

Remove a huge number of instances where a thread pointer is still being
passed as an argument to various device ops and other related routines.
The device OPEN and IOCTL calls now take a ucred instead of a thread pointer,
and the CLOSE call no longer takes a thread pointer.

17 years agoFix a minor bug that prevented compilation.
Matthew Dillon [Fri, 28 Jul 2006 02:11:53 +0000 (02:11 +0000)]
Fix a minor bug that prevented compilation.

17 years agoMake a few more #define's visible when compiling with _KERNEL_STRUCTURES
Matthew Dillon [Fri, 28 Jul 2006 02:11:31 +0000 (02:11 +0000)]
Make a few more #define's visible when compiling with _KERNEL_STRUCTURES

17 years agoUpdate amd64 bits of libc's math routines
Simon Schubert [Thu, 27 Jul 2006 00:46:57 +0000 (00:46 +0000)]
Update amd64 bits of libc's math routines

Obtained-from: NetBSD

17 years agoCorrect TLS and PIC addressing
Simon Schubert [Thu, 27 Jul 2006 00:44:27 +0000 (00:44 +0000)]
Correct TLS and PIC addressing

17 years agoRemove get/make/signalcontext.
Simon Schubert [Thu, 27 Jul 2006 00:44:20 +0000 (00:44 +0000)]
Remove get/make/signalcontext.
SUSv3 calls it "obsolescent" and i386 doesn't have it either.

17 years agoadd header glue
Simon Schubert [Thu, 27 Jul 2006 00:43:56 +0000 (00:43 +0000)]
add header glue

17 years agoAlways create __sys_name syscalls with weak symbols _name and name
Simon Schubert [Thu, 27 Jul 2006 00:43:42 +0000 (00:43 +0000)]
Always create __sys_name syscalls with weak symbols _name and name

Obtained-from: FreeBSD

17 years agoAdd amd64 atomic_lock implementation
Simon Schubert [Thu, 27 Jul 2006 00:43:35 +0000 (00:43 +0000)]
Add amd64 atomic_lock implementation

Obtained-from: FreeBSD

17 years agoThis is suitable for amd64 as well
Simon Schubert [Thu, 27 Jul 2006 00:43:17 +0000 (00:43 +0000)]
This is suitable for amd64 as well

17 years agoTell malloc.c about amd64
Simon Schubert [Thu, 27 Jul 2006 00:43:09 +0000 (00:43 +0000)]
Tell malloc.c about amd64

17 years agoAdd amd64 defines
Simon Schubert [Thu, 27 Jul 2006 00:43:02 +0000 (00:43 +0000)]
Add amd64 defines

Obtained-from: FreeBSD

17 years agoinclude the correct headers
Simon Schubert [Thu, 27 Jul 2006 00:42:54 +0000 (00:42 +0000)]
include the correct headers

17 years agoImport amd64 MD headers
Simon Schubert [Thu, 27 Jul 2006 00:42:46 +0000 (00:42 +0000)]
Import amd64 MD headers

Obtained-from: FreeBSD and our sys/i386

17 years agoCompile libc_r for all archs
Simon Schubert [Thu, 27 Jul 2006 00:41:38 +0000 (00:41 +0000)]
Compile libc_r for all archs

17 years agoBuild battd only for i386 (uses apm)
Simon Schubert [Thu, 27 Jul 2006 00:41:31 +0000 (00:41 +0000)]
Build battd only for i386 (uses apm)

17 years agoAdd defines for amd64
Simon Schubert [Thu, 27 Jul 2006 00:41:24 +0000 (00:41 +0000)]
Add defines for amd64

Obtained-from: FreeBSD

17 years agoPull up changes from i386
Simon Schubert [Thu, 27 Jul 2006 00:41:17 +0000 (00:41 +0000)]
Pull up changes from i386

17 years agoUse %zd for size_t printf()s
Simon Schubert [Thu, 27 Jul 2006 00:41:10 +0000 (00:41 +0000)]
Use %zd for size_t printf()s

17 years agoremove i386-only conditionalisation
Simon Schubert [Thu, 27 Jul 2006 00:41:03 +0000 (00:41 +0000)]
remove i386-only conditionalisation

17 years agoDo obscure va_list handling also on amd64
Simon Schubert [Thu, 27 Jul 2006 00:40:55 +0000 (00:40 +0000)]
Do obscure va_list handling also on amd64

Obtained-from: FreeBSD

17 years agoAdd amd64 support
Simon Schubert [Thu, 27 Jul 2006 00:40:35 +0000 (00:40 +0000)]
Add amd64 support

Obtained-from: FreeBSD

17 years agoAdd amd64 target sources
Simon Schubert [Thu, 27 Jul 2006 00:39:53 +0000 (00:39 +0000)]
Add amd64 target sources

Obtained-from: FreeBSD

17 years agoAdd correct register offsets
Simon Schubert [Thu, 27 Jul 2006 00:39:40 +0000 (00:39 +0000)]
Add correct register offsets

17 years agoRemove unneeded patches
Simon Schubert [Thu, 27 Jul 2006 00:39:33 +0000 (00:39 +0000)]
Remove unneeded patches

17 years agoRestructure Makefiles to accomodate multiple archs
Simon Schubert [Thu, 27 Jul 2006 00:35:02 +0000 (00:35 +0000)]
Restructure Makefiles to accomodate multiple archs

17 years agoRestructure Makefiles to accomodate multiple archs
Simon Schubert [Thu, 27 Jul 2006 00:30:10 +0000 (00:30 +0000)]
Restructure Makefiles to accomodate multiple archs

17 years agoLink libgcc_pic for shared libs
Simon Schubert [Thu, 27 Jul 2006 00:29:57 +0000 (00:29 +0000)]
Link libgcc_pic for shared libs

17 years agoBuild amd64 with the i486 files
Simon Schubert [Thu, 27 Jul 2006 00:29:49 +0000 (00:29 +0000)]
Build amd64 with the i486 files