diff options
author | attilio <attilio@FreeBSD.org> | 2009-05-25 14:37:10 +0000 |
---|---|---|
committer | attilio <attilio@FreeBSD.org> | 2009-05-25 14:37:10 +0000 |
commit | 4af1dcdee08af3e880f7e2e62130859d5b28e8b0 (patch) | |
tree | 24ca73670f3ea12fd920051e3a590fb895db2b52 /tools | |
parent | 4fb8e988d3d06f538c5d70ceef4e8363227aa471 (diff) | |
download | FreeBSD-src-4af1dcdee08af3e880f7e2e62130859d5b28e8b0.zip FreeBSD-src-4af1dcdee08af3e880f7e2e62130859d5b28e8b0.tar.gz |
Use, in uncovered part, the END() macro in order to improve debugging.
In this specific case, Valgrind won't get confused when analyzing such
functions.
Sponsored by: Sandvine Incorporated
Tested by: emaste
MFC: 3 days
Diffstat (limited to 'tools')
-rw-r--r-- | tools/KSE/ksetest/kse_asm.S | 2 | ||||
-rw-r--r-- | tools/KSE/rr/kse_asm.S | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/tools/KSE/ksetest/kse_asm.S b/tools/KSE/ksetest/kse_asm.S index 20dc1db..ac571f7 100644 --- a/tools/KSE/ksetest/kse_asm.S +++ b/tools/KSE/ksetest/kse_asm.S @@ -99,6 +99,7 @@ ENTRY(uts_to_thread) pop %ebx /* %ebx off stack */ popf /* flags off stack */ 5: ret /* %eip off stack */ +END(uts_to_thread) /* * int thread_to_uts(struct kse_thr_mailbox *tm, struct kse_mailbox *km); @@ -154,4 +155,5 @@ ENTRY(thread_to_uts) pushl KM_FUNC_OFFSET(%edx) /* .. the uts can return to itself */ pushl KM_FUNC_OFFSET(%edx) /* push the address of the uts func */ 2: ret +END(thread_to_uts) diff --git a/tools/KSE/rr/kse_asm.S b/tools/KSE/rr/kse_asm.S index 20dc1db..ac571f7 100644 --- a/tools/KSE/rr/kse_asm.S +++ b/tools/KSE/rr/kse_asm.S @@ -99,6 +99,7 @@ ENTRY(uts_to_thread) pop %ebx /* %ebx off stack */ popf /* flags off stack */ 5: ret /* %eip off stack */ +END(uts_to_thread) /* * int thread_to_uts(struct kse_thr_mailbox *tm, struct kse_mailbox *km); @@ -154,4 +155,5 @@ ENTRY(thread_to_uts) pushl KM_FUNC_OFFSET(%edx) /* .. the uts can return to itself */ pushl KM_FUNC_OFFSET(%edx) /* push the address of the uts func */ 2: ret +END(thread_to_uts) |