Initial support for multiple UIs
authorJeremy Kerr <jk@ozlabs.org>
Mon, 15 Dec 2008 04:22:34 +0000 (15:22 +1100)
committerJeremy Kerr <jk@ozlabs.org>
Mon, 15 Dec 2008 04:22:34 +0000 (15:22 +1100)
commit32e6a41f33e5576716b351bd473a27939fe94fa1
tree0d6b75ac0a02d2496416095405cb9498777c3beb
parent000a92b4fa909c432732ac3ed8f28eeeaeac70ee
Initial support for multiple UIs

Move the device discovery code from separate udev helpers to a single
process to listen on two sockets: one SOCK_DGRAM for incoming udev
events, and one SOCK_STREAM for UIs to connect.

Initial support for client/server infrastructure, still need to wire-up
the udev messages.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
98 files changed:
Makefile.in
artwork/background.jpg [deleted file]
artwork/cdrom.png [deleted file]
artwork/cursor.gz [deleted file]
artwork/hdd.png [deleted file]
artwork/tux.png [deleted file]
artwork/usbpen.png [deleted file]
configure.ac
devices.c [deleted file]
devices/kboot-parser.c [deleted file]
devices/message.h [deleted file]
devices/native-parser.c [deleted file]
devices/params.c [deleted file]
devices/params.h [deleted file]
devices/parser-test.c [deleted file]
devices/parser-test.sh [deleted file]
devices/parser-tests/001/expected-output [deleted file]
devices/parser-tests/001/ps3da1/etc/kboot.conf [deleted file]
devices/parser-tests/002/expected-output [deleted file]
devices/parser-tests/002/ps3da1/etc/yaboot.conf [deleted file]
devices/parser-tests/003/expected-output [deleted file]
devices/parser-tests/003/ps3da1/etc/kboot.conf [deleted file]
devices/parser-tests/004/expected-output [deleted file]
devices/parser-tests/004/rootdev [deleted file]
devices/parser-tests/004/sda1/etc/kboot.conf [deleted file]
devices/parser-tests/005/expected-output [deleted file]
devices/parser-tests/005/ps3da1/etc/kboot.conf [deleted file]
devices/parser-tests/101/expected-output [deleted file]
devices/parser-tests/101/ps3da1/etc/kboot.conf [deleted file]
devices/parser-tests/102/expected-output [deleted file]
devices/parser-tests/102/ps3da1/etc/kboot.conf [deleted file]
devices/parser.c [deleted file]
devices/parser.h [deleted file]
devices/paths.c [deleted file]
devices/paths.h [deleted file]
devices/petitboot-udev-helper.c [deleted file]
devices/yaboot-cfg.c [deleted file]
devices/yaboot-cfg.h [deleted file]
devices/yaboot-parser.c [deleted file]
discover/discover-server.c [new file with mode: 0644]
discover/discover-server.h [new file with mode: 0644]
discover/kboot-parser.c [new file with mode: 0644]
discover/log.c [new file with mode: 0644]
discover/log.h [new file with mode: 0644]
discover/message.h [new file with mode: 0644]
discover/native-parser.c [new file with mode: 0644]
discover/params.c [new file with mode: 0644]
discover/params.h [new file with mode: 0644]
discover/parser.c [new file with mode: 0644]
discover/parser.h [new file with mode: 0644]
discover/paths.c [new file with mode: 0644]
discover/paths.h [new file with mode: 0644]
discover/pb-discover.c [new file with mode: 0644]
discover/pb-discover.h [new file with mode: 0644]
discover/udev.c [new file with mode: 0644]
discover/udev.h [new file with mode: 0644]
discover/waiter.c [new file with mode: 0644]
discover/waiter.h [new file with mode: 0644]
discover/yaboot-cfg.c [new file with mode: 0644]
discover/yaboot-cfg.h [new file with mode: 0644]
discover/yaboot-parser.c [new file with mode: 0644]
lib/list/list.c [new file with mode: 0644]
lib/list/list.h [new file with mode: 0644]
lib/pb-protocol/pb-protocol.c [new file with mode: 0644]
lib/pb-protocol/pb-protocol.h [new file with mode: 0644]
lib/talloc/talloc.c [new file with mode: 0644]
lib/talloc/talloc.h [new file with mode: 0644]
petitboot-paths.h [deleted file]
petitboot.c [deleted file]
petitboot.h [deleted file]
rules.mk
test/parser-test.c [new file with mode: 0644]
test/parser-test.sh [new file with mode: 0755]
test/parser/001/expected-output [new file with mode: 0644]
test/parser/001/ps3da1/etc/kboot.conf [new file with mode: 0644]
test/parser/002/expected-output [new file with mode: 0644]
test/parser/002/ps3da1/etc/yaboot.conf [new file with mode: 0644]
test/parser/003/expected-output [new file with mode: 0644]
test/parser/003/ps3da1/etc/kboot.conf [new file with mode: 0644]
test/parser/004/expected-output [new file with mode: 0644]
test/parser/004/rootdev [new file with mode: 0644]
test/parser/004/sda1/etc/kboot.conf [new file with mode: 0644]
test/parser/005/expected-output [new file with mode: 0644]
test/parser/005/ps3da1/etc/kboot.conf [new file with mode: 0644]
test/parser/101/expected-output [new file with mode: 0644]
test/parser/101/ps3da1/etc/kboot.conf [new file with mode: 0644]
test/parser/102/expected-output [new file with mode: 0644]
test/parser/102/ps3da1/etc/kboot.conf [new file with mode: 0644]
ui/common/discover-client.c [new file with mode: 0644]
ui/common/discover-client.h [new file with mode: 0644]
ui/test/pb-test.c [new file with mode: 0644]
ui/twin/artwork/background.jpg [new file with mode: 0644]
ui/twin/artwork/cdrom.png [new file with mode: 0644]
ui/twin/artwork/cursor.gz [new file with mode: 0644]
ui/twin/artwork/hdd.png [new file with mode: 0644]
ui/twin/artwork/tux.png [new file with mode: 0644]
ui/twin/artwork/usbpen.png [new file with mode: 0644]
ui/twin/pb-twin.c [new file with mode: 0644]