The NetBSD Project

CVS log for src/sys/arch/xen/xenbus/xenbus_xs.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / arch / xen / xenbus

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.28 / (download) - annotate - [select for diffs], Thu Sep 1 16:25:18 2022 UTC (9 months, 1 week ago) by bouyer
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.27: +3 -3 lines
Diff to previous 1.27 (colored)

process_msg() is called from thread context, so malloc() can wait for
memory. Should avoids occasional ENOMEM reading messages

Revision 1.27 / (download) - annotate - [select for diffs], Wed May 6 16:50:13 2020 UTC (3 years, 1 month ago) by bouyer
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.26: +6 -12 lines
Diff to previous 1.26 (colored)

Convert remaining splfoo/splx and tsleep/wakeup to mutex and condvar.
Mark kernel threads and interrupt handlers MPSAFE.

Revision 1.23.38.1 / (download) - annotate - [select for diffs], Mon Apr 13 08:04:12 2020 UTC (3 years, 1 month ago) by martin
Branch: phil-wifi
Changes since 1.23: +33 -63 lines
Diff to previous 1.23 (colored) next main 1.24 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.26 / (download) - annotate - [select for diffs], Tue Apr 7 16:10:48 2020 UTC (3 years, 2 months ago) by jdolecek
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh
Changes since 1.25: +8 -2 lines
Diff to previous 1.25 (colored)

add wrapper to free response from xenbus_dev_request_and_reply(), so
that call in xenbus_dev_write() wouldn't need to know how it's allocated

Revision 1.25 / (download) - annotate - [select for diffs], Tue Apr 7 15:59:57 2020 UTC (3 years, 2 months ago) by jdolecek
Branch: MAIN
Changes since 1.24: +8 -2 lines
Diff to previous 1.24 (colored)

add a small wrapper xenbus_directory_free() to free result of
xenbus_directory(), so that caller doesn't need to be aware how the memory
was allocated

Revision 1.24 / (download) - annotate - [select for diffs], Tue Apr 7 11:47:06 2020 UTC (3 years, 2 months ago) by jdolecek
Branch: MAIN
Changes since 1.23: +21 -63 lines
Diff to previous 1.23 (colored)

change xenbus_read() interface so that caller supplies the buffer and it's
size, caller doesn't free(9) the returned value any more

Revision 1.22.12.1 / (download) - annotate - [select for diffs], Mon Feb 25 00:29:06 2013 UTC (10 years, 3 months ago) by tls
Branch: tls-maxphys
Changes since 1.22: +17 -7 lines
Diff to previous 1.22 (colored) next main 1.23 (colored)

resync with head

Revision 1.22.2.1 / (download) - annotate - [select for diffs], Wed Jan 16 05:33:11 2013 UTC (10 years, 4 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.22: +17 -7 lines
Diff to previous 1.22 (colored) next main 1.23 (colored)

sync with (a bit old) head

Revision 1.22.14.1 / (download) - annotate - [select for diffs], Fri Nov 30 06:30:38 2012 UTC (10 years, 6 months ago) by msaitoh
Branch: netbsd-6-0
CVS Tags: netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE
Changes since 1.22: +17 -7 lines
Diff to previous 1.22 (colored) next main 1.23 (colored)

Pull up following revision(s) (requested by royger in ticket #728):
	sys/arch/xen/xenbus/xenbus_xs.c: revision 1.23
xen: prevent adding duplicate xenwatches
When a xenstore watch triggers, the event is processed on process_msg
and if a valid handle it's found the handler is queued for execution
on the pending xen watches queue (watch_events).
This may present a problem if we trigger a xenwatch several times and
then disconnect the device. If several xenwatch events are added to
the watch_events queue and the device is disconnected afterwards, the
first processed xenwatch event will disconnect the device, remove the
watch and free all resources. This triggers a panic if there are
pending xenwatch events for that device already queued in the local
queue of the function xenwatch_thread, since when the next watch that
has the same handler tries to execute we get a panic due to the fact
that the device is already disconnected and all resources had been
freed:
xenbus_watch: 0xffffa0000b7cd1d0
xbw_callback: 0xffffffff80755dd4
otherend_changed: backend/vif/1/0
backend/vif/1/0/state 6
backend/vif/1/0 -> Closed
backend/vif/1/0 -> backend_device, b_detach: 0xffffffff8075a2bf
xenbus_watch: 0xffffa0000b7cd1d0
xbw_callback: 0xfc5ec02183e547a8
fatal protection fault in supervisor mode
trap type 4 code 0 rip ffffffff80756596 cs e030 rflags 10246 cr2
7f7ff7b4c020 ilevel 0 rsp ffffa000e6d82c50
curlwp 0xffffa0000a72d580 pid 0 lid 36 lowest kstack
0xffffa000e6d7f000
kernel: protection fault trap, code=0
Stopped in pid 0.36 (system) at netbsd:xenwatch_thread+0xc7:    call
*10(%rax
)
xenwatch_thread() at netbsd:xenwatch_thread+0xc7
ds          f
es          5987
fs          2c40
gs          1460
rdi         ffffa0000b7cd1d0
rsi         ffffa0000a5477f0
rbp         ffffa000e6d82c70
rbx         ffffa0000b7c14c0
rdx         2
rcx         f
rax         ffffa0000b7cd1d0
r8          78
r9          ffffffef
r10         deadbeef
r11         1
r12         ffffa000e6d82c50
r13         ffffa0000a72d580
r14         ffffa0000a72d580
r15         0
rip         ffffffff80756596    xenwatch_thread+0xc7
cs          e030
rflags      10246
rsp         ffffa000e6d82c50
ss          e02b
netbsd:xenwatch_thread+0xc7:    call    *10(%rax)

Revision 1.22.8.1 / (download) - annotate - [select for diffs], Fri Nov 30 04:24:41 2012 UTC (10 years, 6 months ago) by msaitoh
Branch: netbsd-6
CVS Tags: netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1
Changes since 1.22: +17 -7 lines
Diff to previous 1.22 (colored) next main 1.23 (colored)

Pull up following revision(s) (requested by royger in ticket #728):
	sys/arch/xen/xenbus/xenbus_xs.c: revision 1.23
xen: prevent adding duplicate xenwatches
When a xenstore watch triggers, the event is processed on process_msg
and if a valid handle it's found the handler is queued for execution
on the pending xen watches queue (watch_events).
This may present a problem if we trigger a xenwatch several times and
then disconnect the device. If several xenwatch events are added to
the watch_events queue and the device is disconnected afterwards, the
first processed xenwatch event will disconnect the device, remove the
watch and free all resources. This triggers a panic if there are
pending xenwatch events for that device already queued in the local
queue of the function xenwatch_thread, since when the next watch that
has the same handler tries to execute we get a panic due to the fact
that the device is already disconnected and all resources had been
freed:
xenbus_watch: 0xffffa0000b7cd1d0
xbw_callback: 0xffffffff80755dd4
otherend_changed: backend/vif/1/0
backend/vif/1/0/state 6
backend/vif/1/0 -> Closed
backend/vif/1/0 -> backend_device, b_detach: 0xffffffff8075a2bf
xenbus_watch: 0xffffa0000b7cd1d0
xbw_callback: 0xfc5ec02183e547a8
fatal protection fault in supervisor mode
trap type 4 code 0 rip ffffffff80756596 cs e030 rflags 10246 cr2
7f7ff7b4c020 ilevel 0 rsp ffffa000e6d82c50
curlwp 0xffffa0000a72d580 pid 0 lid 36 lowest kstack
0xffffa000e6d7f000
kernel: protection fault trap, code=0
Stopped in pid 0.36 (system) at netbsd:xenwatch_thread+0xc7:    call
*10(%rax
)
xenwatch_thread() at netbsd:xenwatch_thread+0xc7
ds          f
es          5987
fs          2c40
gs          1460
rdi         ffffa0000b7cd1d0
rsi         ffffa0000a5477f0
rbp         ffffa000e6d82c70
rbx         ffffa0000b7c14c0
rdx         2
rcx         f
rax         ffffa0000b7cd1d0
r8          78
r9          ffffffef
r10         deadbeef
r11         1
r12         ffffa000e6d82c50
r13         ffffa0000a72d580
r14         ffffa0000a72d580
r15         0
rip         ffffffff80756596    xenwatch_thread+0xc7
cs          e030
rflags      10246
rsp         ffffa000e6d82c50
ss          e02b
netbsd:xenwatch_thread+0xc7:    call    *10(%rax)

Revision 1.23 / (download) - annotate - [select for diffs], Wed Nov 28 16:26:59 2012 UTC (10 years, 6 months ago) by royger
Branch: MAIN
CVS Tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, tls-maxphys-base-20171202, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, nick-nhusb, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, khorben-n900, jdolecek-ncq-base, jdolecek-ncq, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, agc-symver-base, agc-symver, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: phil-wifi
Changes since 1.22: +17 -7 lines
Diff to previous 1.22 (colored)

xen: prevent adding duplicate xenwatches

When a xenstore watch triggers, the event is processed on process_msg
and if a valid handle it's found the handler is queued for execution
on the pending xen watches queue (watch_events).

This may present a problem if we trigger a xenwatch several times and
then disconnect the device. If several xenwatch events are added to
the watch_events queue and the device is disconnected afterwards, the
first processed xenwatch event will disconnect the device, remove the
watch and free all resources. This triggers a panic if there are
pending xenwatch events for that device already queued in the local
queue of the function xenwatch_thread, since when the next watch that
has the same handler tries to execute we get a panic due to the fact
that the device is already disconnected and all resources had been
freed:

xenbus_watch: 0xffffa0000b7cd1d0
xbw_callback: 0xffffffff80755dd4
otherend_changed: backend/vif/1/0
backend/vif/1/0/state 6
backend/vif/1/0 -> Closed
backend/vif/1/0 -> backend_device, b_detach: 0xffffffff8075a2bf
xenbus_watch: 0xffffa0000b7cd1d0
xbw_callback: 0xfc5ec02183e547a8
fatal protection fault in supervisor mode
trap type 4 code 0 rip ffffffff80756596 cs e030 rflags 10246 cr2
7f7ff7b4c020 ilevel 0 rsp ffffa000e6d82c50
curlwp 0xffffa0000a72d580 pid 0 lid 36 lowest kstack
0xffffa000e6d7f000
kernel: protection fault trap, code=0
Stopped in pid 0.36 (system) at netbsd:xenwatch_thread+0xc7:    call
*10(%rax
)
xenwatch_thread() at netbsd:xenwatch_thread+0xc7
ds          f
es          5987
fs          2c40
gs          1460
rdi         ffffa0000b7cd1d0
rsi         ffffa0000a5477f0
rbp         ffffa000e6d82c70
rbx         ffffa0000b7c14c0
rdx         2
rcx         f
rax         ffffa0000b7cd1d0
r8          78
r9          ffffffef
r10         deadbeef
r11         1
r12         ffffa000e6d82c50
r13         ffffa0000a72d580
r14         ffffa0000a72d580
r15         0
rip         ffffffff80756596    xenwatch_thread+0xc7
cs          e030
rflags      10246
rsp         ffffa000e6d82c50
ss          e02b
netbsd:xenwatch_thread+0xc7:    call    *10(%rax)

Revision 1.17.6.3 / (download) - annotate - [select for diffs], Sat Aug 27 15:37:33 2011 UTC (11 years, 9 months ago) by jym
Branch: jym-xensuspend
Changes since 1.17.6.2: +69 -74 lines
Diff to previous 1.17.6.2 (colored) to branchpoint 1.17 (colored) next main 1.18 (colored)

Sync with HEAD. Most notably: uvm/pmap work done by rmind@, and MP Xen
work of cherry@.

No regression observed on suspend/restore.

Revision 1.22 / (download) - annotate - [select for diffs], Wed Jul 27 23:11:23 2011 UTC (11 years, 10 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, jym-xensuspend-nbase, jym-xensuspend-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, tls-maxphys, netbsd-6-0, netbsd-6
Changes since 1.21: +3 -3 lines
Diff to previous 1.21 (colored)

Change a cast to appease gcc4.5

Revision 1.21 / (download) - annotate - [select for diffs], Sun Jul 17 20:54:49 2011 UTC (11 years, 10 months ago) by joerg
Branch: MAIN
Changes since 1.20: +2 -4 lines
Diff to previous 1.20 (colored)

Retire varargs.h support. Move machine/stdarg.h logic into MI
sys/stdarg.h and expect compiler to provide proper builtins, defaulting
to the GCC interface. lint still has a special fallback.
Reduce abuse of _BSD_VA_LIST_ by defining __va_list by default and
derive va_list as required by standards.

Revision 1.19.2.1 / (download) - annotate - [select for diffs], Thu Jun 23 14:19:50 2011 UTC (11 years, 11 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.19: +5 -3 lines
Diff to previous 1.19 (colored) next main 1.20 (colored)

Catchup with rmind-uvmplock merge.

Revision 1.18.4.2 / (download) - annotate - [select for diffs], Sun Jun 12 00:24:11 2011 UTC (12 years ago) by rmind
Branch: rmind-uvmplock
Changes since 1.18.4.1: +3 -1 lines
Diff to previous 1.18.4.1 (colored) to branchpoint 1.18 (colored) next main 1.19 (colored)

sync with head

Revision 1.20 / (download) - annotate - [select for diffs], Tue Jun 7 13:52:30 2011 UTC (12 years ago) by bouyer
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base
Changes since 1.19: +5 -3 lines
Diff to previous 1.19 (colored)

check that the list is empty before calling cv_wait(). Otherwise
we may sleep waiting for an event which is already in the queue.

Revision 1.18.6.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:07:13 2011 UTC (12 years ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.18: +66 -71 lines
Diff to previous 1.18 (colored) next main 1.19 (colored)

Sync with HEAD.

Revision 1.18.4.1 / (download) - annotate - [select for diffs], Tue May 31 03:04:25 2011 UTC (12 years ago) by rmind
Branch: rmind-uvmplock
Changes since 1.18: +66 -71 lines
Diff to previous 1.18 (colored)

sync with head

Revision 1.19 / (download) - annotate - [select for diffs], Sun May 22 04:27:15 2011 UTC (12 years ago) by rmind
Branch: MAIN
CVS Tags: cherry-xenmp-base
Branch point for: cherry-xenmp
Changes since 1.18: +66 -71 lines
Diff to previous 1.18 (colored)

- Replace uses of simple_lock and ltsleep with mutex and condvar.
- Improve some parts of the code to be more MP-friendly.

Tested by jakllsch@.

Revision 1.17.6.2 / (download) - annotate - [select for diffs], Sun Nov 1 13:58:48 2009 UTC (13 years, 7 months ago) by jym
Branch: jym-xensuspend
Changes since 1.17.6.1: +0 -0 lines
Diff to previous 1.17.6.1 (colored) to branchpoint 1.17 (colored)

Sync with HEAD.

Revision 1.17.6.1 / (download) - annotate - [select for diffs], Wed May 13 17:18:51 2009 UTC (14 years, 1 month ago) by jym
Branch: jym-xensuspend
Changes since 1.17: +5 -5 lines
Diff to previous 1.17 (colored)

Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.

Revision 1.14.4.1 / (download) - annotate - [select for diffs], Mon May 4 08:12:15 2009 UTC (14 years, 1 month ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.14: +20 -15 lines
Diff to previous 1.14 (colored) next main 1.15 (colored)

sync with head.

Revision 1.18 / (download) - annotate - [select for diffs], Tue Apr 28 05:44:43 2009 UTC (14 years, 1 month ago) by cegger
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base7, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, nick-hppapmap-base4, matt-premerge-20091211, matt-mips64-premerge-20101231, jymxensuspend-base, jruoho-x86intr-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: rmind-uvmplock, jruoho-x86intr
Changes since 1.17: +5 -5 lines
Diff to previous 1.17 (colored)

sprintf -> snprintf

Revision 1.16.2.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:17:13 2009 UTC (14 years, 4 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.16: +3 -2 lines
Diff to previous 1.16 (colored) next main 1.17 (colored)

Sync with HEAD.

Revision 1.13.6.2 / (download) - annotate - [select for diffs], Sat Jan 17 13:28:40 2009 UTC (14 years, 4 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.13.6.1: +15 -10 lines
Diff to previous 1.13.6.1 (colored) to branchpoint 1.13 (colored) next main 1.14 (colored)

Sync with HEAD.

Revision 1.14.10.1 / (download) - annotate - [select for diffs], Sat Dec 13 01:13:43 2008 UTC (14 years, 5 months ago) by haad
Branch: haad-dm
Changes since 1.14: +17 -12 lines
Diff to previous 1.14 (colored) next main 1.15 (colored)

Update haad-dm branch to haad-dm-base2.

Revision 1.17 / (download) - annotate - [select for diffs], Wed Oct 29 13:53:15 2008 UTC (14 years, 7 months ago) by cegger
Branch: MAIN
CVS Tags: nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Branch point for: jym-xensuspend
Changes since 1.16: +3 -2 lines
Diff to previous 1.16 (colored)

include <xen/xen.h> for xendomain_is_dom0()

Revision 1.16 / (download) - annotate - [select for diffs], Fri Oct 24 21:09:24 2008 UTC (14 years, 7 months ago) by jym
Branch: MAIN
CVS Tags: matt-mips64-base2
Branch point for: nick-hppapmap
Changes since 1.15: +11 -7 lines
Diff to previous 1.15 (colored)

- rename init_events() to events_init(), to better reflect netbsd semantics

- change unbind_[pv]irq_from_evtch() so that they now return the event
channel the [PV]IRQ was bound to. It reflects the opposite behaviour of the
bind_[pv]irq_to_evtch() functions.

- remove xenbus_suspend() and xenbus_resume() prototypes, as they are not
used anywhere else, and will conflict with the xenbus pmf(9) handlers.

- make start_info aligned on a page boundary, as Xen expects it to be so.

- mask event channel during xbd detach before removing its handler (can
avoid spurious events).

- add the "protocol" entry in xenstore during xbd initialization. Normally
created during domU's boot by xentools, it is under domU's responsibility
in all other cases (save/restore, hot plugging, etc.).

- modifications to xs_init(), so that it can properly return an error.

Reviewed by Christoph (cegger@).

Revision 1.15 / (download) - annotate - [select for diffs], Fri Oct 24 18:02:58 2008 UTC (14 years, 7 months ago) by jym
Branch: MAIN
Changes since 1.14: +7 -7 lines
Diff to previous 1.14 (colored)

- printf -> aprint_*
- fix and add comments
- make some panic/error messages more relevant
- remove last '\n' in DPRINTK() macros, not required as it is already part of format string.

No functional changes.

Revision 1.6.26.1 / (download) - annotate - [select for diffs], Thu Sep 4 08:46:44 2008 UTC (14 years, 9 months ago) by skrll
Branch: wrstuden-fixsa
Changes since 1.6: +23 -2 lines
Diff to previous 1.6 (colored) next main 1.7 (colored)

Sync with netbsd-4.

Revision 1.6.10.1 / (download) - annotate - [select for diffs], Sun Aug 31 14:47:38 2008 UTC (14 years, 9 months ago) by jdc
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base
Changes since 1.6: +23 -2 lines
Diff to previous 1.6 (colored) next main 1.7 (colored)

Pull up revisions:
  sys/arch/xen/include/xenbus.h:1.8
  sys/arch/xen/xen/xbd_xenbus.c:1.24
  sys/arch/xen/xen/xbdback_xenbus.c:1.15
  sys/arch/xen/xenbus/xenbus_xs.c:1.14
via patch (requested by bouyer in ticket #1149).

Revision 1.13.6.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:42:31 2008 UTC (15 years, 2 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.13: +21 -0 lines
Diff to previous 1.13 (colored)

Sync with HEAD.

Revision 1.13.2.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:15:10 2008 UTC (15 years, 2 months ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.13: +23 -2 lines
Diff to previous 1.13 (colored) next main 1.14 (colored)

sync with head.

Revision 1.8.10.3 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:30 2008 UTC (15 years, 2 months ago) by matt
Branch: matt-armv6
Changes since 1.8.10.2: +24 -2 lines
Diff to previous 1.8.10.2 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored)

sync with HEAD

Revision 1.5.10.7 / (download) - annotate - [select for diffs], Mon Mar 17 09:14:36 2008 UTC (15 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.5.10.6: +23 -2 lines
Diff to previous 1.5.10.6 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored)

sync with head.

Revision 1.14 / (download) - annotate - [select for diffs], Thu Mar 13 22:19:39 2008 UTC (15 years, 3 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, hpcarm-cleanup-nbase, haad-dm-base1, ad-socklock-base1
Branch point for: yamt-nfs-mp, haad-dm
Changes since 1.13: +23 -2 lines
Diff to previous 1.13 (colored)

Add swedge support to xbd backed, and make the virtual block device handle
sizes larger than 4TB. Tested by Jukka Marin.
Should fix kern/37370.

Revision 1.9.2.3 / (download) - annotate - [select for diffs], Mon Feb 18 21:05:22 2008 UTC (15 years, 3 months ago) by mjf
Branch: mjf-devfs
Changes since 1.9.2.2: +3 -2 lines
Diff to previous 1.9.2.2 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored)

Sync with HEAD.

Revision 1.5.10.6 / (download) - annotate - [select for diffs], Mon Jan 21 09:40:38 2008 UTC (15 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.5.10.5: +4 -3 lines
Diff to previous 1.5.10.5 (colored) to branchpoint 1.5 (colored)

sync with head

Revision 1.13 / (download) - annotate - [select for diffs], Fri Jan 11 20:00:54 2008 UTC (15 years, 5 months ago) by bouyer
Branch: MAIN
CVS Tags: nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, hpcarm-cleanup-base, bouyer-xeni386-nbase, bouyer-xeni386-base
Branch point for: mjf-devfs2, keiichi-mipv6
Changes since 1.12: +3 -2 lines
Diff to previous 1.12 (colored)

Merge the bouyer-xeni386 branch to head, at tag bouyer-xeni386-merge1 (the
branch is still active and will see i386PAE support developement).
Sumary of changes:
- switch xeni386 to the x86/x86/pmap.c, and the xen/x86/x86_xpmap.c
  pmap bootstrap.
- merge back most of xen/i386/ to i386/i386
- change the build to reduce diffs between i386 and amd64 in file locations
- remove include files that were identical to the i386/amd64 counterparts,
  the build will find them via the xen-ma/machine link.

Revision 1.8.10.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:50:25 2008 UTC (15 years, 5 months ago) by matt
Branch: matt-armv6
Changes since 1.8.10.1: +13 -18 lines
Diff to previous 1.8.10.1 (colored) to branchpoint 1.8 (colored)

sync with HEAD

Revision 1.11.4.2 / (download) - annotate - [select for diffs], Tue Jan 8 23:51:54 2008 UTC (15 years, 5 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.11.4.1: +3 -2 lines
Diff to previous 1.11.4.1 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored)

Make XEN kernels build again.

Revision 1.11.4.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:51:35 2008 UTC (15 years, 5 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

Sync with HEAD

Revision 1.9.2.2 / (download) - annotate - [select for diffs], Thu Dec 27 00:43:32 2007 UTC (15 years, 5 months ago) by mjf
Branch: mjf-devfs
Changes since 1.9.2.1: +3 -3 lines
Diff to previous 1.9.2.1 (colored) to branchpoint 1.9 (colored)

Sync with HEAD.

Revision 1.10.2.2 / (download) - annotate - [select for diffs], Wed Dec 26 21:38:50 2007 UTC (15 years, 5 months ago) by ad
Branch: vmlocking2
Changes since 1.10.2.1: +3 -3 lines
Diff to previous 1.10.2.1 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored)

Sync with head.

Revision 1.12 / (download) - annotate - [select for diffs], Sat Dec 15 00:39:24 2007 UTC (15 years, 5 months ago) by perry
Branch: MAIN
CVS Tags: vmlocking2-base3, matt-armv6-base
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

__FUNCTION__ -> __func__

Revision 1.8.8.2 / (download) - annotate - [select for diffs], Sun Dec 9 19:36:34 2007 UTC (15 years, 6 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.8.8.1: +11 -16 lines
Diff to previous 1.8.8.1 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored)

Sync with HEAD.

Revision 1.6.20.1 / (download) - annotate - [select for diffs], Sun Dec 9 16:03:56 2007 UTC (15 years, 6 months ago) by reinoud
Branch: reinoud-bufcleanup
Changes since 1.6: +11 -16 lines
Diff to previous 1.6 (colored) next main 1.7 (colored)

Pullup to HEAD

Revision 1.9.2.1 / (download) - annotate - [select for diffs], Sat Dec 8 18:18:31 2007 UTC (15 years, 6 months ago) by mjf
Branch: mjf-devfs
Changes since 1.9: +12 -17 lines
Diff to previous 1.9 (colored)

Sync with HEAD.

Revision 1.10.2.1 / (download) - annotate - [select for diffs], Sat Dec 8 17:56:33 2007 UTC (15 years, 6 months ago) by ad
Branch: vmlocking2
Changes since 1.10: +11 -16 lines
Diff to previous 1.10 (colored)

Sync with head.

Revision 1.5.10.5 / (download) - annotate - [select for diffs], Fri Dec 7 17:27:26 2007 UTC (15 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.5.10.4: +12 -17 lines
Diff to previous 1.5.10.4 (colored) to branchpoint 1.5 (colored)

sync with head

Revision 1.11 / (download) - annotate - [select for diffs], Thu Dec 6 17:00:33 2007 UTC (15 years, 6 months ago) by ad
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base2, reinoud-bufcleanup-nbase, jmcneill-pm-base, cube-autoconf-base, cube-autoconf
Branch point for: bouyer-xeni386
Changes since 1.10: +11 -16 lines
Diff to previous 1.10 (colored)

lockmgr -> mutex

Revision 1.6.16.2 / (download) - annotate - [select for diffs], Mon Dec 3 18:40:55 2007 UTC (15 years, 6 months ago) by ad
Branch: vmlocking
Changes since 1.6.16.1: +3 -3 lines
Diff to previous 1.6.16.1 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored)

Sync with HEAD.

Revision 1.8.8.1 / (download) - annotate - [select for diffs], Tue Nov 27 19:36:36 2007 UTC (15 years, 6 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

Sync with HEAD. amd64 Xen support needs testing.

Revision 1.10 / (download) - annotate - [select for diffs], Thu Nov 22 16:17:12 2007 UTC (15 years, 6 months ago) by bouyer
Branch: MAIN
CVS Tags: vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-base
Branch point for: vmlocking2
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

Pull up the bouyer-xenamd64 branch to HEAD. This brings in amd64 support
to NetBSD/Xen, both Dom0 and DomU.

Revision 1.8.10.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:24:38 2007 UTC (15 years, 7 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

sync with HEAD

Revision 1.8.14.1 / (download) - annotate - [select for diffs], Wed Oct 17 21:08:28 2007 UTC (15 years, 7 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

Prepare for xenamd64:
- kill xen/i386/identcpu.c, use i386/i386/identcpu.c instead (with a few
  #ifndef XEN)
- move some files that can be shared between i386 and amd64 from
  xen/i386 to xen/x86 (or to xen/xen for non-cpu-specific code)
- split assembly out of xen/include/hypervisor.h to xen/include/hypercalls.h
- use <xen/...> instead of <machine/...> for cpu-independant include files.

more work needed here, i386-specific files should got out of arch/xen to
arch/xeni386, and more code shared with arch/i386.

Revision 1.9 / (download) - annotate - [select for diffs], Wed Oct 17 19:58:34 2007 UTC (15 years, 7 months ago) by garbled
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, jmcneill-base, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: mjf-devfs
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree.  Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches.  The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.

Revision 1.6.24.1 / (download) - annotate - [select for diffs], Wed Oct 3 19:26:18 2007 UTC (15 years, 8 months ago) by garbled
Branch: ppcoea-renovation
Changes since 1.6: +12 -27 lines
Diff to previous 1.6 (colored) next main 1.7 (colored)

Sync with HEAD

Revision 1.5.10.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:31:40 2007 UTC (15 years, 9 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.5.10.3: +12 -27 lines
Diff to previous 1.5.10.3 (colored) to branchpoint 1.5 (colored)

sync with head.

Revision 1.6.16.1 / (download) - annotate - [select for diffs], Sun Jul 15 13:17:23 2007 UTC (15 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.6: +12 -27 lines
Diff to previous 1.6 (colored)

Sync with head.

Revision 1.6.18.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:03:39 2007 UTC (15 years, 11 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.6: +12 -27 lines
Diff to previous 1.6 (colored) next main 1.7 (colored)

Sync with head.

Revision 1.8 / (download) - annotate - [select for diffs], Wed Jul 11 04:07:08 2007 UTC (15 years, 11 months ago) by dogcow
Branch: MAIN
CVS Tags: yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, ppcoea-renovation-base, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: matt-armv6, jmcneill-pm, bouyer-xenamd64
Changes since 1.7: +6 -10 lines
Diff to previous 1.7 (colored)

Looks like this was part of a botched merge; apply he@'s patch to make
everything compile/link again.

Revision 1.7 / (download) - annotate - [select for diffs], Mon Jul 9 20:52:40 2007 UTC (15 years, 11 months ago) by ad
Branch: MAIN
Changes since 1.6: +15 -26 lines
Diff to previous 1.6 (colored)

Merge some of the less invasive changes from the vmlocking branch:

- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements

Revision 1.5.10.3 / (download) - annotate - [select for diffs], Sat Dec 30 20:47:28 2006 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.5.10.2: +5 -4 lines
Diff to previous 1.5.10.2 (colored) to branchpoint 1.5 (colored)

sync with head.

Revision 1.6.6.2 / (download) - annotate - [select for diffs], Sat Sep 9 02:45:06 2006 UTC (16 years, 9 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.6.6.1: +875 -0 lines
Diff to previous 1.6.6.1 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored)

sync with head

Revision 1.5.8.1 / (download) - annotate - [select for diffs], Thu Jul 13 17:49:07 2006 UTC (16 years, 11 months ago) by gdamore
Branch: gdamore-uart
Changes since 1.5: +5 -4 lines
Diff to previous 1.5 (colored) next main 1.6 (colored)

Merge from HEAD.

Revision 1.2.4.5 / (download) - annotate - [select for diffs], Mon Jun 26 12:45:40 2006 UTC (16 years, 11 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.2.4.4: +5 -4 lines
Diff to previous 1.2.4.4 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

sync with head.

Revision 1.6.6.1, Sun Jun 25 16:46:59 2006 UTC (16 years, 11 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.6: +0 -875 lines
FILE REMOVED

file xenbus_xs.c was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:45:06 +0000

Revision 1.6 / (download) - annotate - [select for diffs], Sun Jun 25 16:46:59 2006 UTC (16 years, 11 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-idlelwp-base8, yamt-idlelwp, wrstuden-fixsa-base-1, thorpej-atomic-base, thorpej-atomic, rpaulo-netinet-merge-pcb-base, post-newlock2-merge, newlock2-nbase, newlock2-base, newlock2, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, matt-nb4-arm-base, matt-nb4-arm, ad-audiomp-base, ad-audiomp, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: wrstuden-fixsa, vmlocking, rpaulo-netinet-merge-pcb, reinoud-bufcleanup, ppcoea-renovation, netbsd-4, mjf-ufs-trans
Changes since 1.5: +5 -4 lines
Diff to previous 1.5 (colored)

Add a 'base' argument to xenbus_read_ul, so that we can read number is base
other than 10.

Revision 1.5.10.2 / (download) - annotate - [select for diffs], Wed Jun 21 14:58:24 2006 UTC (16 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.5.10.1: +874 -0 lines
Diff to previous 1.5.10.1 (colored) to branchpoint 1.5 (colored)

sync with head.

Revision 1.3.2.2 / (download) - annotate - [select for diffs], Wed May 24 15:48:26 2006 UTC (17 years ago) by tron
Branch: peter-altq
Changes since 1.3.2.1: +6 -6 lines
Diff to previous 1.3.2.1 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.5.4.2 / (download) - annotate - [select for diffs], Sat Apr 22 11:38:11 2006 UTC (17 years, 1 month ago) by simonb
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.5.4.1: +874 -0 lines
Diff to previous 1.5.4.1 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored)

Sync with head.

Revision 1.2.2.1 / (download) - annotate - [select for diffs], Wed Apr 19 02:34:08 2006 UTC (17 years, 1 month ago) by elad
Branch: elad-kernelauth
Changes since 1.2: +45 -9 lines
Diff to previous 1.2 (colored) next main 1.3 (colored)

sync with head - hopefully this will work

Revision 1.2.4.4 / (download) - annotate - [select for diffs], Tue Apr 11 11:53:48 2006 UTC (17 years, 2 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.2.4.3: +6 -6 lines
Diff to previous 1.2.4.3 (colored) to branchpoint 1.2 (colored)

sync with head

Revision 1.5.2.2 / (download) - annotate - [select for diffs], Fri Apr 7 12:51:26 2006 UTC (17 years, 2 months ago) by tron
Branch: netbsd-3
CVS Tags: netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1
Changes since 1.5.2.1: +874 -0 lines
Diff to previous 1.5.2.1 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored)

Apply patch (requested by bouyer in ticket #1245):
Pull up Xen3 domU support. This adds support for the Xen-3 memory bootstrap,
xenstore, and block and network device frontend. Xen-3 support is turned
on by 'options XEN3', which disable Xen-2 support.
Changes affecting non-xen3 specific code:
- xbd and xennet at hypervisor now attaches with xbd_hypervisor and
  xennet_hypervisor
- x86_atomic_* renamed to xen_atomic_*
- use genassim.cf to pull in more constant from include files for assembly
- Map the shared info page from locore.S instead of the 0xffffffff hack
  in xen_machdep.c
- remove some unused code
- some __asm__ __volatile__ -> __asm volatile and __inline__ -> inline
- more debug code

Revision 1.5.10.1, Sun Apr 2 15:32:10 2006 UTC (17 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.5: +0 -874 lines
FILE REMOVED

file xenbus_xs.c was added on branch yamt-lazymbuf on 2006-06-21 14:58:24 +0000

Revision 1.5.4.1, Sun Apr 2 15:32:10 2006 UTC (17 years, 2 months ago) by simonb
Branch: simonb-timecounters
Changes since 1.5: +0 -874 lines
FILE REMOVED

file xenbus_xs.c was added on branch simonb-timecounters on 2006-04-22 11:38:11 +0000

Revision 1.5.2.1, Sun Apr 2 15:32:10 2006 UTC (17 years, 2 months ago) by tron
Branch: netbsd-3
Changes since 1.5: +0 -874 lines
FILE REMOVED

file xenbus_xs.c was added on branch netbsd-3 on 2006-04-07 12:51:26 +0000

Revision 1.5 / (download) - annotate - [select for diffs], Sun Apr 2 15:32:10 2006 UTC (17 years, 2 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-pdpolicy-base5, yamt-pdpolicy-base4, simonb-timecounters-base, gdamore-uart-base, elad-kernelauth-base, chap-midi-nbase, chap-midi-base, chap-midi
Branch point for: yamt-lazymbuf, simonb-timecounters, netbsd-3, gdamore-uart
Changes since 1.4: +6 -6 lines
Diff to previous 1.4 (colored)

unregister_xenbus_watch(): Ops, correct code to remove pending watch events
so that it's not an infinite loop.

Revision 1.2.4.3 / (download) - annotate - [select for diffs], Sat Apr 1 12:06:36 2006 UTC (17 years, 2 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.2.4.2: +41 -5 lines
Diff to previous 1.2.4.2 (colored) to branchpoint 1.2 (colored)

sync with head.

Revision 1.3.2.1 / (download) - annotate - [select for diffs], Tue Mar 28 09:46:22 2006 UTC (17 years, 2 months ago) by tron
Branch: peter-altq
Changes since 1.3: +22 -2 lines
Diff to previous 1.3 (colored)

Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.

Revision 1.4 / (download) - annotate - [select for diffs], Thu Mar 16 23:08:08 2006 UTC (17 years, 2 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-pdpolicy-base3
Changes since 1.3: +22 -2 lines
Diff to previous 1.3 (colored)

Add a xenbus_read_ul() which reads a node and convert it to unsigned long.
Make xenbus_switch_state() and xenbus_read_driver_state() do something usefull.

Revision 1.3 / (download) - annotate - [select for diffs], Wed Mar 15 22:20:06 2006 UTC (17 years, 2 months ago) by bouyer
Branch: MAIN
CVS Tags: peter-altq-base
Branch point for: peter-altq
Changes since 1.2: +21 -5 lines
Diff to previous 1.2 (colored)

Implement watch of xenstore nodes, and install watches for otherend'state
node.

Revision 1.2.4.2 / (download) - annotate - [select for diffs], Mon Mar 13 09:07:07 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.2.4.1: +838 -0 lines
Diff to previous 1.2.4.1 (colored) to branchpoint 1.2 (colored)

sync with head.

Revision 1.2.4.1, Mon Mar 6 20:21:35 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.2: +0 -838 lines
FILE REMOVED

file xenbus_xs.c was added on branch yamt-pdpolicy on 2006-03-13 09:07:07 +0000

Revision 1.2 / (download) - annotate - [select for diffs], Mon Mar 6 20:21:35 2006 UTC (17 years, 3 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-pdpolicy-base2
Branch point for: yamt-pdpolicy, elad-kernelauth
Changes since 1.1: +328 -317 lines
Diff to previous 1.1 (colored)

Adapt for NetBSD and add glue for config(9). Enough to get guest domain
virtual devices probed and attached, domain0 and xenstore watch needs to
be done.

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Mon Mar 6 20:16:33 2006 UTC (17 years, 3 months ago) by bouyer
Branch: Xen
CVS Tags: xen-3-0-20060107
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

Import xenbus sources, from linux sparse tree in the 20060107 xen-3.0
snapshot.

Revision 1.1 / (download) - annotate - [select for diffs], Mon Mar 6 20:16:33 2006 UTC (17 years, 3 months ago) by bouyer
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>