mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-18 10:46:25 +00:00
Rename vfs_oss to vfs_legacy_oss
Rename the old VFS OSS plugin using Audio_out and Audio_in sessions and adapt users accordingly. Issue genodelabs/genode#5167.
This commit is contained in:
parent
600e5424a5
commit
c9d70552a4
@ -1,6 +1,6 @@
|
||||
SRC_CC := vfs_oss.cc
|
||||
|
||||
vpath %.cc $(REP_DIR)/src/lib/vfs/oss
|
||||
vpath %.cc $(REP_DIR)/src/lib/vfs/legacy_oss
|
||||
|
||||
LIBS := libc
|
||||
|
@ -1,4 +1,4 @@
|
||||
MIRROR_FROM_REP_DIR := lib/mk/vfs_oss.mk src/lib/vfs/oss
|
||||
MIRROR_FROM_REP_DIR := lib/mk/vfs_legacy_oss.mk src/lib/vfs/legacy_oss
|
||||
|
||||
content: $(MIRROR_FROM_REP_DIR) LICENSE
|
||||
|
@ -11,7 +11,7 @@ if {[have_include "power_on/qemu"]} {
|
||||
}
|
||||
|
||||
build {
|
||||
core init timer lib/ld lib/libc lib/vfs lib/posix lib/vfs_oss
|
||||
core init timer lib/ld lib/libc lib/vfs lib/posix lib/vfs_legacy_oss
|
||||
drivers/acpi drivers/audio drivers/platform app/pci_decode
|
||||
server/report_rom test/oss
|
||||
}
|
||||
@ -103,7 +103,7 @@ install_config {
|
||||
<vfs>
|
||||
<dir name="dev">
|
||||
<log/>
|
||||
<oss name="dsp"/>
|
||||
<legacy_oss name="dsp"/>
|
||||
</dir>
|
||||
</vfs>
|
||||
<libc stdout="/dev/log" stderr="/dev/log"/>
|
||||
|
@ -1,9 +1,10 @@
|
||||
The VFS OSS plugin offers access to Genode's Audio_out and Audio_in sessions by
|
||||
providing a file-system that can be mounted at arbitrary location within the VFS
|
||||
of a component. It exposes a data file that can be used as 'dsp' file, e.g.,
|
||||
_/dev/dsp_ as is common with OSS. The support I/O control operations or rather the
|
||||
properties of the pseudo-device are provided in form of a structured 'info'
|
||||
file located in the directory named after the data file, e.g., _/dev/.dsp/info_.
|
||||
The legacy VFS OSS plugin offers access to Genode's Audio_out and Audio_in
|
||||
sessions by providing a file-system that can be mounted at arbitrary location
|
||||
within the VFS of a component. It exposes a data file that can be used as 'dsp'
|
||||
file, e.g., _/dev/dsp_ as is common with OSS. The support I/O control
|
||||
operations or rather the properties of the pseudo-device are provided in form
|
||||
of a structured 'info' file located in the directory named after the data file,
|
||||
e.g., _/dev/.dsp/info_.
|
||||
|
||||
This file may by used to query the configured parameters and has the following
|
||||
structure:
|
||||
@ -87,6 +88,6 @@ The following config snippet illustrates its configuration:
|
||||
|
||||
! <vfs>
|
||||
! <dir name="dev">
|
||||
! <oss name="dsp"/>
|
||||
! <legacy_oss name="dsp"/>
|
||||
! </dir>
|
||||
! </vfs>
|
@ -988,7 +988,7 @@ struct Vfs::Oss_file_system::Local_factory : File_system_factory
|
||||
|
||||
static Name name(Xml_node config)
|
||||
{
|
||||
return config.attribute_value("name", Name("oss"));
|
||||
return config.attribute_value("name", Name("lagacy_oss"));
|
||||
}
|
||||
|
||||
Data_file_system _data_fs;
|
||||
@ -1207,7 +1207,7 @@ class Vfs::Oss_file_system::Compound_file_system : private Local_factory,
|
||||
*this }
|
||||
{ }
|
||||
|
||||
static const char *name() { return "oss"; }
|
||||
static const char *name() { return "legacy_oss"; }
|
||||
|
||||
char const *type() override { return name(); }
|
||||
};
|
@ -12,6 +12,6 @@ _/src/stdcxx
|
||||
_/src/vbox6
|
||||
_/src/vfs
|
||||
_/src/vfs_gpu
|
||||
_/src/vfs_oss
|
||||
_/src/vfs_legacy_oss
|
||||
_/src/vfs_pipe
|
||||
_/src/zlib
|
||||
|
@ -55,7 +55,7 @@
|
||||
<config vbox_file="machine.vbox6" xhci="yes" vm_name="linux" capslock="rom" ld_verbose="yes">
|
||||
<vfs>
|
||||
<dir name="dev">
|
||||
<log/> <rtc/> <null/> <gpu/> <zero/> <oss name="dsp"/>
|
||||
<log/> <rtc/> <null/> <gpu/> <zero/> <legacy_oss name="dsp"/>
|
||||
</dir>
|
||||
<dir name="pipe"> <pipe/> </dir>
|
||||
<dir name="shared"> <fs label="shared" writeable="yes"/> </dir>
|
||||
@ -115,8 +115,8 @@
|
||||
<rom label="qemu-usb.lib.so"/>
|
||||
<rom label="stdcxx.lib.so"/>
|
||||
<rom label="vfs.lib.so"/>
|
||||
<rom label="vfs_legacy_oss.lib.so"/>
|
||||
<rom label="vfs_gpu.lib.so"/>
|
||||
<rom label="vfs_oss.lib.so"/>
|
||||
<rom label="vfs_pipe.lib.so"/>
|
||||
<rom label="virtualbox6-shaderlib.lib.so"/>
|
||||
<rom label="virtualbox6-sharedclipboard.lib.so"/>
|
||||
|
@ -12,6 +12,6 @@ _/src/stdcxx
|
||||
_/src/vbox6
|
||||
_/src/vfs
|
||||
_/src/vfs_gpu
|
||||
_/src/vfs_oss
|
||||
_/src/vfs_legacy_oss
|
||||
_/src/vfs_pipe
|
||||
_/src/zlib
|
||||
|
@ -53,7 +53,7 @@
|
||||
<config vbox_file="machine.vbox6" xhci="yes" vm_name="linux" capslock="rom" ld_verbose="yes">
|
||||
<vfs>
|
||||
<dir name="dev">
|
||||
<log/> <rtc/> <null/> <gpu/> <zero/> <oss name="dsp"/>
|
||||
<log/> <rtc/> <null/> <gpu/> <zero/> <legacy_oss name="dsp"/>
|
||||
</dir>
|
||||
<dir name="pipe"> <pipe/> </dir>
|
||||
<dir name="shared"> <fs label="shared" writeable="yes"/> </dir>
|
||||
@ -113,7 +113,7 @@
|
||||
<rom label="stdcxx.lib.so"/>
|
||||
<rom label="vfs.lib.so"/>
|
||||
<rom label="vfs_gpu.lib.so"/>
|
||||
<rom label="vfs_oss.lib.so"/>
|
||||
<rom label="vfs_legacy_oss.lib.so"/>
|
||||
<rom label="vfs_pipe.lib.so"/>
|
||||
<rom label="virtualbox6-shaderlib.lib.so"/>
|
||||
<rom label="virtualbox6-sharedclipboard.lib.so"/>
|
||||
|
@ -21,7 +21,7 @@ lappend depot_archives [depot_user]/src/nitpicker
|
||||
lappend depot_archives [depot_user]/src/report_rom
|
||||
lappend depot_archives [depot_user]/src/vfs_import
|
||||
lappend depot_archives [depot_user]/src/vfs_pipe
|
||||
lappend depot_archives [depot_user]/src/vfs_oss
|
||||
lappend depot_archives [depot_user]/src/vfs_legacy_oss
|
||||
lappend depot_archives [depot_user]/src/mesa
|
||||
lappend depot_archives [depot_user]/src/expat
|
||||
lappend depot_archives [depot_user]/src/libdrm
|
||||
|
Loading…
Reference in New Issue
Block a user