freebsd-dev/sys
Marcel Moolenaar a2aeb24eff Implement functions calls from within DDB on ia64. On ia64 a function
pointer doesn't point to the first instruction of that function, but
rather to a descriptor. The descriptor has the address of the first
instruction, as well as the value of the global pointer. The symbol
table doesn't know anything about descriptors, so if you lookup the
name of a function you get the address of the first instruction. The
cast from the address, which is the result of the symbol lookup, to a
function pointer as is done in db_fncall is therefore invalid.
Abstract this detail behind the DB_CALL macro. By default DB_CALL is
defined as db_fncall_generic, which yields the old behaviour. On ia64
the macro is defined as db_fncall_ia64, in which a descriptor is
constructed to yield a valid function pointer.

While here, introduce DB_MAXARGS. DB_MAXARGS replaces the existing
(local) MAXARGS. The DB_MAXARGS macro can be defined by platforms to
create a convenient maximum. By default this will be the legacy 10.
On ia64 we define this macro to be 8, for 8 is the maximum number of
arguments that can be passed in registers. This avoids having to
implement spilling of arguments on the memory stack.

Approved by: re (dwhite)
2005-07-02 23:52:37 +00:00
..
alpha Add .cvsignore files just like in sys/<arch>/compiled, this keeps CVS from 2005-06-20 16:52:59 +00:00
amd64 Check the alignment of the IP header before passing the packet up to the 2005-07-02 23:13:31 +00:00
arm - Use a TAILQ instead of parsing the array to find a free dmamap. 2005-06-24 23:57:27 +00:00
boot Improved markup, fixes some spelling and grammar. 2005-06-14 08:49:14 +00:00
bsm For consistency with more system include files, add a trailing '_' to 2005-05-29 16:11:34 +00:00
cam Fix the recent panics/LORs/hangs created by my kqueue commit by: 2005-07-01 16:28:32 +00:00
coda
compat Jumbo-commit to enhance 32 bit application support on 64 bit kernels. 2005-06-30 07:49:22 +00:00
conf Remove the CPU_ENABLE_SSE option from the i386 and pc98 architectures, 2005-07-02 20:06:44 +00:00
contrib Properly initialize ifq_maxlen for the defered send queue and make it 2005-06-26 21:00:52 +00:00
crypto
ddb Implement functions calls from within DDB on ia64. On ia64 a function 2005-07-02 23:52:37 +00:00
dev Upon relection, we shouldn't allow the tuple structs to be modified by 2005-07-01 15:52:50 +00:00
doc
fs Jumbo-commit to enhance 32 bit application support on 64 bit kernels. 2005-06-30 07:49:22 +00:00
gdb
geom After provider creation!! 2005-05-25 15:54:17 +00:00
gnu Replace the use if ext2fs' bitops by bitstring.h macros. This fixes 2005-06-21 10:11:13 +00:00
i4b Fix some long standing bugs in writing to the BPF device attached to 2005-06-26 18:11:11 +00:00
i386 Check the alignment of the IP header before passing the packet up to the 2005-07-02 23:13:31 +00:00
ia64 Implement functions calls from within DDB on ia64. On ia64 a function 2005-07-02 23:52:37 +00:00
isa Use a simpler implementation for the i8254 timecounter when using the lapic 2005-07-01 15:47:27 +00:00
isofs/cd9660
kern Fix the recent panics/LORs/hangs created by my kqueue commit by: 2005-07-01 16:28:32 +00:00
libkern Fix kiconv on the 64bit plathomes. 2005-05-24 15:38:08 +00:00
modules i386->amd64 sync 2005-06-30 05:37:48 +00:00
net Check the alignment of the IP header before passing the packet up to the 2005-07-02 23:13:31 +00:00
net80211 revert 1.53; it breaks ibss merge 2005-06-13 21:01:06 +00:00
netatalk Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
netatm Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
netgraph - After LibAlias processing check for TCP packet with th_x2 field 2005-06-27 07:39:13 +00:00
netinet Check the alignment of the IP header before passing the packet up to the 2005-07-02 23:13:31 +00:00
netinet6 Check the alignment of the IP header before passing the packet up to the 2005-07-02 23:13:31 +00:00
netipsec Correct typo in a comment describing vshiftl(). 2005-06-02 23:56:10 +00:00
netipx Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
netkey
netnatm Mark netatm and netnatm explicitly as requiring Giant, as they still do. 2005-02-17 14:21:22 +00:00
netncp
netsmb lockmgr(...,LK_DRAIN,...) requires a balancing LK_RELEASE: recent 2005-05-13 11:27:48 +00:00
nfs /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
nfs4client - We want if (mrep != NULL) not if (m_freem != NULL). m_freem will never 2005-04-25 05:11:19 +00:00
nfsclient Ifdef out the incomplete non-blocking IO implementation for NFS 2005-06-16 15:43:17 +00:00
nfsserver
opencrypto malloc.h relies on param.h for a definition of MAXCPU. I guess that there is 2005-05-30 05:01:44 +00:00
pc98 Remove the CPU_ENABLE_SSE option from the i386 and pc98 architectures, 2005-07-02 20:06:44 +00:00
pccard
pci Make the initialization in the AGPv3 case match that of Linux. Fixes hangs on 2005-06-26 04:01:11 +00:00
posix4
powerpc Add .cvsignore files just like in sys/<arch>/compiled, this keeps CVS from 2005-06-20 16:52:59 +00:00
rpc - Don't call rpcclnt_realign() if we don't have any mbufs to realign. 2005-03-19 01:16:25 +00:00
security Correct grammar error in comment 2005-06-10 04:44:38 +00:00
sparc64 Add .cvsignore files just like in sys/<arch>/compiled, this keeps CVS from 2005-06-20 16:52:59 +00:00
sys Mistakingly undefined VN_KNOTE_LOCKED in my previous commit. 2005-07-01 17:13:59 +00:00
tools Allow EVFILT_VNODE events to work on every filesystem type, not just 2005-06-09 20:20:31 +00:00
ufs Allow EVFILT_VNODE events to work on every filesystem type, not just 2005-06-09 20:20:31 +00:00
vm Change the panic in trash_ctor into just a printf for now. Once the reports 2005-06-26 23:44:07 +00:00
Makefile