Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| marcelmoolenaar:embedding_freebsd [2006/05/16 22:34] – WarnerLosh | marcelmoolenaar:embedding_freebsd [2021/03/28 06:15] (current) – Add CategoryStale KubilayKocak | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | Describe | + | ===== Embedding FreeBSD |
| + | |||
| + | ==== Device description ==== | ||
| + | |||
| + | Definition: a flexible/ | ||
| + | |||
| + | * A device description has some type (could be class with sub-classes), | ||
| + | * Contains a device' | ||
| + | * Contains attributes | ||
| + | * Can contain " | ||
| + | |||
| + | ==== Device tree ==== | ||
| + | |||
| + | Definition: a collection of device descriptions organized in a hierarchical structure. | ||
| + | |||
| + | * Can be partial; sub-trees that can be mapped/ | ||
| + | |||
| + | ==== Implementation ==== | ||
| + | |||
| + | * Textual representation. At first, the kernel will parse and translate to make it easier to 1) compile-in, 2) load as module, and 3) manually enter while booting. | ||
| + | * Bus driver that takes a device tree, parses it and creates the appropriate newbus hierarchy, followed by the standard probe and attach. | ||
| + | |||
| + | ---- | ||
| + | |||
| + | {{tag> | ||