mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-01 15:10:56 +00:00
Libc: internal accessor for <libc/> config
Add an internal accessor for the libc configuration node. Ref #2919
This commit is contained in:
parent
64a63885d1
commit
9f6838ae42
@ -951,6 +951,12 @@ void Libc::execute_in_application_context(Libc::Application_code &app_code)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Genode::Xml_node Libc::libc_config()
|
||||||
|
{
|
||||||
|
return kernel->libc_env().libc_config();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/***************************
|
/***************************
|
||||||
** Component entry point **
|
** Component entry point **
|
||||||
***************************/
|
***************************/
|
||||||
|
@ -21,6 +21,8 @@
|
|||||||
#ifndef _LIBC__TASK_H_
|
#ifndef _LIBC__TASK_H_
|
||||||
#define _LIBC__TASK_H_
|
#define _LIBC__TASK_H_
|
||||||
|
|
||||||
|
#include <util/xml_node.h>
|
||||||
|
|
||||||
namespace Libc {
|
namespace Libc {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -66,6 +68,11 @@ namespace Libc {
|
|||||||
* Schedule select handler that is deblocked by ready fd sets
|
* Schedule select handler that is deblocked by ready fd sets
|
||||||
*/
|
*/
|
||||||
void schedule_select(Select_handler_base *);
|
void schedule_select(Select_handler_base *);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Access libc configuration Xml_node.
|
||||||
|
*/
|
||||||
|
Genode::Xml_node libc_config();
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* _LIBC__TASK_H_ */
|
#endif /* _LIBC__TASK_H_ */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user