Displaying 2 results from an estimated 2 matches for "local_pops".
Did you mean:
local_pcp
2007 Apr 18
1
[RFC/PATCH LGUEST X86_64 03/13] lguest64 core
...st_vprint(const char *fmt, va_list ap)
+{
+ /* need to do this with interrupts disabled */
+// spin_lock(&hcall_print_lock);
+ vsnprintf(hcall_buff, HCALL_BUFF_SIZ-1, fmt, ap);
+
+ hcall(LHCALL_PRINT, __pa(hcall_buff), 0, 0);
+// spin_unlock(&hcall_print_lock);
+}
+
+struct lguest_print_ops local_pops = {__lguest_vprint };
+
+void lguest_set_debug(int d)
+{
+ if (lguest_paravirt)
+ hcall(LHCALL_DEBUG_ME, d, 0, 0);
+}
+
+void async_hcall(unsigned long call,
+ unsigned long arg1, unsigned long arg2, unsigned long arg3)
+{
+ /* Note: This code assumes we're uniprocessor. */
+ static unsigned...
2007 Apr 18
1
[RFC/PATCH LGUEST X86_64 03/13] lguest64 core
...st_vprint(const char *fmt, va_list ap)
+{
+ /* need to do this with interrupts disabled */
+// spin_lock(&hcall_print_lock);
+ vsnprintf(hcall_buff, HCALL_BUFF_SIZ-1, fmt, ap);
+
+ hcall(LHCALL_PRINT, __pa(hcall_buff), 0, 0);
+// spin_unlock(&hcall_print_lock);
+}
+
+struct lguest_print_ops local_pops = {__lguest_vprint };
+
+void lguest_set_debug(int d)
+{
+ if (lguest_paravirt)
+ hcall(LHCALL_DEBUG_ME, d, 0, 0);
+}
+
+void async_hcall(unsigned long call,
+ unsigned long arg1, unsigned long arg2, unsigned long arg3)
+{
+ /* Note: This code assumes we're uniprocessor. */
+ static unsigned...