Displaying 6 results from an estimated 6 matches for "tlock".
Did you mean:
block
2012 Jan 25
26
[PATCH v4 00/23] Xenstore stub domain
Changes from v3:
- mini-os configuration files moved into stubdom/
- mini-os extra console support now a config option
- Fewer #ifdefs
- grant table setup uses hypercall bounce
- Xenstore stub domain syslog support re-enabled
Changes from v2:
- configuration support added to mini-os build system
- add mini-os support for conditionally compiling frontends, xenbus
-
2013 Sep 17
0
[LLVMdev] [patch] alias instruction for Intel syntax
....cpp
index e7e7b15..b9f78a5 100644
--- a/lib/Target/X86/InstPrinter/X86IntelInstPrinter.cpp
+++ b/lib/Target/X86/InstPrinter/X86IntelInstPrinter.cpp
@@ -39,7 +39,8 @@ void X86IntelInstPrinter::printInst(const MCInst *MI,
raw_ostream &OS,
if (TSFlags & X86II::LOCK)
OS << "\tlock\n";
- printInstruction(MI, OS);
+ if (!printAliasInstr(MI, OS))
+ printInstruction(MI, OS);
// Next always print the annotation.
printAnnotation(OS, Annot);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev...
2018 Dec 16
1
[PATCH v2] x86, kbuild: revert macrofying inline assembly code
...EFIX "LOCK_PREFIX "
+#define LOCK_PREFIX_HERE \
+ ".pushsection .smp_locks,\"a\"\n" \
+ ".balign 4\n" \
+ ".long 671f - .\n" /* offset */ \
+ ".popsection\n" \
+ "671:"
+
+#define LOCK_PREFIX LOCK_PREFIX_HERE "\n\tlock; "
+
#else /* ! CONFIG_SMP */
#define LOCK_PREFIX_HERE ""
#define LOCK_PREFIX ""
diff --git a/arch/x86/include/asm/asm.h b/arch/x86/include/asm/asm.h
index 21b0867..6467757b 100644
--- a/arch/x86/include/asm/asm.h
+++ b/arch/x86/include/asm/asm.h
@@ -120,25 +120,12 @@
/...
2018 Dec 13
2
[PATCH] kbuild, x86: revert macros in extended asm workarounds
...EFIX "LOCK_PREFIX "
+#define LOCK_PREFIX_HERE \
+ ".pushsection .smp_locks,\"a\"\n" \
+ ".balign 4\n" \
+ ".long 671f - .\n" /* offset */ \
+ ".popsection\n" \
+ "671:"
+
+#define LOCK_PREFIX LOCK_PREFIX_HERE "\n\tlock; "
+
#else /* ! CONFIG_SMP */
#define LOCK_PREFIX_HERE ""
#define LOCK_PREFIX ""
diff --git a/arch/x86/include/asm/asm.h b/arch/x86/include/asm/asm.h
index 21b0867..6467757b 100644
--- a/arch/x86/include/asm/asm.h
+++ b/arch/x86/include/asm/asm.h
@@ -120,25 +120,12 @@
/...
2018 Dec 13
2
[PATCH] kbuild, x86: revert macros in extended asm workarounds
...EFIX "LOCK_PREFIX "
+#define LOCK_PREFIX_HERE \
+ ".pushsection .smp_locks,\"a\"\n" \
+ ".balign 4\n" \
+ ".long 671f - .\n" /* offset */ \
+ ".popsection\n" \
+ "671:"
+
+#define LOCK_PREFIX LOCK_PREFIX_HERE "\n\tlock; "
+
#else /* ! CONFIG_SMP */
#define LOCK_PREFIX_HERE ""
#define LOCK_PREFIX ""
diff --git a/arch/x86/include/asm/asm.h b/arch/x86/include/asm/asm.h
index 21b0867..6467757b 100644
--- a/arch/x86/include/asm/asm.h
+++ b/arch/x86/include/asm/asm.h
@@ -120,25 +120,12 @@
/...
1999 Oct 20
3
patch for tinc-0.3
...exit(0);
1;
}
sub lock_file {
local($path) = @_;
$lock_status = 0;
#
# WHOOPS.. open the filehandle NON destructive
#
$open_status = open(FDESCRIPTOR, "+>>$path");
if ($open_status) {
#
# now test AND lock if test succeeds
#
if (File::lockf::tlock(FDESCRIPTOR) == EAGAIN) {
# wait for the next main loop cycle
$lock_status = 0;
write_syslog('info', "IPMKBS: $qfile $path locked by sendmail.\n");
close(FDESCRIPTOR);
} else {
# got the lock here
$lock_status = 1;
write_syslog('info', &...