Translation Information

Project website docs.freebsd.org/en
Translation process
  • Translations can be made directly.
  • Translation suggestions can be made.
  • Only chosen users can contribute.
  • The translation uses bilingual files.
Translation license BSD 2-Clause "Simplified" License
Filemask documentation/content/*/books/arch-handbook/newbus/chapter.po
Translation file Download documentation/content/zh_CN/books/arch-handbook/newbus/chapter.po
/*
* src/sys/sys/bus.h
*/
typedef enum device_state {
DS_NOTPRESENT, /* not probed or probe failed */
DS_ALIVE, /* probe succeeded */
DS_ATTACHED, /* attach method called */
DS_BUSY /* device is open */
} device_state_t;
/*
* src/sys/sys/bus.h
*/
typedef enum device_state {
DS_NOTPRESENT, /* not probed or probe failed */
DS_ALIVE, /* probe succeeded */
DS_ATTACHED, /* attach method called */
DS_BUSY /* device is open */
} device_state_t;
3 days ago
New contributor 3 days ago
struct driver {
KOBJ_CLASS_FIELDS;
void *priv; /* driver private data */
};
struct driver {
KOBJ_CLASS_FIELDS;
void *priv; /* driver private data */
};
3 days ago
New contributor 3 days ago
[.filename]#src/sys/dev/pci# - PCI bus support code resides in this directory.
<filename>src/sys/dev/pci</filename> - PCI总线支持代码位于 这个目录。
3 days ago
New contributor 3 days ago
A source file, "[.filename]#foo_if.c#" is also created to accompany the automatically generated header file; it contains implementations of those functions which look up the location of the relevant functions in the object's method table and call that function.
伴随自动产生的头文件,也会创建一个源文件 <quote><filename>foo_if.c</filename></quote>;其中包含一些函数的实现, 这些函数用于在对象方法表中查找相关函数的位置并调用那个函数。
3 days ago
New contributor 3 days ago
int FOO_DOIT(device_t dev);
int FOO_DOIT_TO_CHILD(device_t dev, device_t child);
int FOO_DOIT(device_t dev);
int FOO_DOIT_TO_CHILD(device_t dev, device_t child);
3 days ago
New contributor 3 days ago
Browse all translation changes

Statistics

Percent Strings Words Chars
Total 65 1,597 10,451
Translated 36% 24 253 1,558
Needs editing 18% 12 518 3,320
Failing checks 7% 5 58 446

Last activity

Last change April 12, 2021, 2 a.m.
Last author Anonymous

Daily activity

Daily activity

Weekly activity

Weekly activity