summaryrefslogtreecommitdiffstats
path: root/sys/compat/ndis/subr_pe.c
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2004-01-13 22:49:45 +0000
committerobrien <obrien@FreeBSD.org>2004-01-13 22:49:45 +0000
commitdb0a9fc4de11e1379d9f2ca83f0208e6fa37e91d (patch)
treef7039b7597d74a7bd77879221a1b7a3c7d1302ff /sys/compat/ndis/subr_pe.c
parent2b3359f55f4200f40771fd330e14978be4e36b84 (diff)
downloadFreeBSD-src-db0a9fc4de11e1379d9f2ca83f0208e6fa37e91d.zip
FreeBSD-src-db0a9fc4de11e1379d9f2ca83f0208e6fa37e91d.tar.gz
AMD64 has a single MS-Win calling convention, so provide an empty __stdcall.
Centralize the definition to make it easier to change.
Diffstat (limited to 'sys/compat/ndis/subr_pe.c')
-rw-r--r--sys/compat/ndis/subr_pe.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/compat/ndis/subr_pe.c b/sys/compat/ndis/subr_pe.c
index e947496..b1480cf 100644
--- a/sys/compat/ndis/subr_pe.c
+++ b/sys/compat/ndis/subr_pe.c
@@ -575,12 +575,6 @@ pe_functbl_match(functbl, name)
* Note that there are actually two copies of the jump table: one
* copy is left alone. In a .SYS file, the jump tables are usually
* merged into the INIT segment.
- *
- * Note: Windows uses the _stdcall calling convention. This means
- * that the callback functions provided in the function table must
- * be declared using __attribute__((__stdcall__)), otherwise the
- * Windows code will likely screw up the %esp register and cause
- * us to jump to an invalid address when it returns.
*/
int
OpenPOWER on IntegriCloud