Debian Codegraph @

po/ru/man2/spu_run.2.po

raw
1 # Russian translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Alexander Golubev <[email protected]>, 2018.
5 # Azamat Hackimov <[email protected]>, 2011, 2014-2016.
6 # Hotellook, 2014.
7 # Nikita <[email protected]>, 2014.
8 # Spiros Georgaras <[email protected]>, 2016.
9 # Vladislav <[email protected]>, 2015.
10 # Yuri Kozlov <[email protected]>, 2011-2019.
11 # Иван Павлов <[email protected]>, 2017.
12 msgid ""
13 msgstr ""
14 "Project-Id-Version: manpages-l10n\n"
15 "POT-Creation-Date: 2026-06-05 06:44+0200\n"
16 "PO-Revision-Date: 2024-12-21 19:49+0300\n"
17 "Last-Translator: Yuri Kozlov <[email protected]>\n"
18 "Language-Team: Russian <[email protected]>\n"
19 "Language: ru\n"
20 "MIME-Version: 1.0\n"
21 "Content-Type: text/plain; charset=UTF-8\n"
22 "Content-Transfer-Encoding: 8bit\n"
23 "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
24 "n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || "
25 "(n%100>=11 && n%100<=14)? 2 : 3);\n"
26 "X-Generator: Lokalize 2.0\n"
27
28 #. type: TH
29 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
30 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
31 #, no-wrap
32 msgid "spu_run"
33 msgstr "spu_run"
34
35 #. type: TH
36 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
37 #: opensuse-tumbleweed
38 #, no-wrap
39 msgid "2026-02-08"
40 msgstr "8 февраля 2026 г."
41
42 #. type: TH
43 #: archlinux debian-unstable
44 #, fuzzy, no-wrap
45 #| msgid "Linux man-pages 6.17"
46 msgid "Linux man-pages 6.18"
47 msgstr "Справочные страницы Linux 6.17"
48
49 #. type: SH
50 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
51 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
52 #, no-wrap
53 msgid "NAME"
54 msgstr "НАИМЕНОВАНИЕ"
55
56 #. type: Plain text
57 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
58 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
59 msgid "spu_run - execute an SPU context"
60 msgstr "spu_run - выполняет контекст SPU"
61
62 #. type: SH
63 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
64 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
65 #, no-wrap
66 msgid "LIBRARY"
67 msgstr "БИБЛИОТЕКА"
68
69 #. type: Plain text
70 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
71 #: opensuse-leap-16-1 opensuse-tumbleweed
72 msgid "Standard C library (I<libc>,\\ I<-lc>)"
73 msgstr "Стандартная библиотека языка C (I<libc>,\\ I<-lc>)"
74
75 #. type: SH
76 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
77 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
78 #, no-wrap
79 msgid "SYNOPSIS"
80 msgstr "СИНТАКСИС"
81
82 #. type: Plain text
83 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
84 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
85 #, no-wrap
86 msgid ""
87 "B<#include E<lt>sys/spu.hE<gt>> /* Definition of B<SPU_*> constants */\n"
88 "B<#include E<lt>sys/syscall.hE<gt>> /* Definition of B<SYS_*> constants */\n"
89 "B<#include E<lt>unistd.hE<gt>>\n"
90 msgstr ""
91 "B<#include E<lt>sys/spu.hE<gt>> /* определения констант B<SPU_*> */\n"
92 "B<#include E<lt>sys/syscall.hE<gt>> /* определения констант B<SYS_*> */\n"
93 "B<#include E<lt>unistd.hE<gt>>\n"
94
95 #. type: Plain text
96 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
97 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
98 #, no-wrap
99 msgid "B<int syscall(SYS_spu_run, int >I<fd>B<, uint32_t *>I<npc>B<, uint32_t *>I<event>B<);>\n"
100 msgstr "B<int syscall(SYS_spu_run, int >I<fd>B<, uint32_t *>I<npc>B<, uint32_t *>I<event>B<);>\n"
101
102 #. type: Plain text
103 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
104 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
105 msgid ""
106 "I<Note>: glibc provides no wrapper for B<spu_run>(), necessitating the use "
107 "of B<syscall>(2)."
108 msgstr ""
109
110 #. type: SH
111 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
112 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
113 #, no-wrap
114 msgid "DESCRIPTION"
115 msgstr "ОПИСАНИЕ"
116
117 #. type: Plain text
118 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
119 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
120 msgid ""
121 "The B<spu_run>() system call is used on PowerPC machines that implement the "
122 "Cell Broadband Engine Architecture in order to access Synergistic Processor "
123 "Units (SPUs). The I<fd> argument is a file descriptor returned by "
124 "B<spu_create>(2) that refers to a specific SPU context. When the context "
125 "gets scheduled to a physical SPU, it starts execution at the instruction "
126 "pointer passed in I<npc>."
127 msgstr ""
128 "Системный вызов B<spu_run>() используется на машинах PowerPC с архитектурой "
129 "Cell Broadband Engine для получения доступа к Synergistic Processor Unit "
130 "(SPU). Аргумент I<fd> представляет собой файловый дескриптор, возвращаемый "
131 "вызовом B<spu_create>(2) и указывающий на определённый контекст SPU. Когда "
132 "контекст планируется на физическом SPU, он запускается на выполнение начиная "
133 "с инструкции, на которую указывает значение I<npc>."
134
135 #. type: Plain text
136 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
137 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
138 msgid ""
139 "Execution of SPU code happens synchronously, meaning that B<spu_run>() "
140 "blocks while the SPU is still running. If there is a need to execute SPU "
141 "code in parallel with other code on either the main CPU or other SPUs, a new "
142 "thread of execution must be created first (e.g., using B<pthread_create>(3))."
143 msgstr ""
144 "Выполнение кода SPU происходит синхронно, то есть B<spu_run>() блокируется "
145 "на время работы SPU. Если требуется параллельное выполнение кода SPU и кода "
146 "на основном процессоре или других SPU, то сначала нужно создать новую нить "
147 "выполнения (например с помощью B<pthread_create>(3))."
148
149 #. type: Plain text
150 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
151 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
152 msgid ""
153 "When B<spu_run>() returns, the current value of the SPU program counter is "
154 "written to I<npc>, so successive calls to B<spu_run>() can use the same "
155 "I<npc> pointer."
156 msgstr ""
157 "При завершении работы B<spu_run>() текущее значение программного счётчика "
158 "SPU записывается в I<npc>, что позволяет использовать тот же указатель "
159 "I<npc> в последующих вызовах B<spu_run>()."
160
161 #. type: Plain text
162 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
163 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
164 msgid ""
165 "The I<event> argument provides a buffer for an extended status code. If the "
166 "SPU context was created with the B<SPU_CREATE_EVENTS_ENABLED> flag, then "
167 "this buffer is populated by the Linux kernel before B<spu_run>() returns."
168 msgstr ""
169 "В аргументе I<event> указывается буфер для расширенного кода состояния. Если "
170 "контекст SPU создан с флагом B<SPU_CREATE_EVENTS_ENABLED>, то ядро Linux "
171 "заполняет этот буфер перед возвратом из B<spu_run>()."
172
173 #. type: Plain text
174 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
175 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
176 msgid "The status code may be one (or more) of the following constants:"
177 msgstr ""
178 "Код состояния может быть одной (или несколькими) из следующих констант:"
179
180 #. type: TP
181 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
182 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
183 #, no-wrap
184 msgid "B<SPE_EVENT_DMA_ALIGNMENT>"
185 msgstr "B<SPE_EVENT_DMA_ALIGNMENT>"
186
187 #. type: Plain text
188 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
189 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
190 msgid "A DMA alignment error occurred."
191 msgstr "Произошла ошибка выравнивания DMA."
192
193 #. type: TP
194 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
195 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
196 #, no-wrap
197 msgid "B<SPE_EVENT_INVALID_DMA>"
198 msgstr "B<SPE_EVENT_INVALID_DMA>"
199
200 #. SPE_EVENT_SPE_DATA_SEGMENT is defined, but does not seem to be generated
201 #. at any point (in Linux 5.9 sources).
202 #. type: Plain text
203 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
204 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
205 msgid "An invalid MFC DMA command was attempted."
206 msgstr "Попытка выполнить неверную команду MFC DMA."
207
208 #. type: TP
209 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
210 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
211 #, no-wrap
212 msgid "B<SPE_EVENT_SPE_DATA_STORAGE>"
213 msgstr "B<SPE_EVENT_SPE_DATA_STORAGE>"
214
215 #. type: Plain text
216 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
217 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
218 msgid "A DMA storage error occurred."
219 msgstr "Произошла ошибка хранилища DMA."
220
221 #. type: TP
222 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
223 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
224 #, no-wrap
225 msgid "B<SPE_EVENT_SPE_ERROR>"
226 msgstr "B<SPE_EVENT_SPE_ERROR>"
227
228 #. type: Plain text
229 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
230 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
231 msgid "An illegal instruction was executed."
232 msgstr "Выполнена недопустимая инструкция."
233
234 #. type: Plain text
235 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
236 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
237 msgid ""
238 "NULL is a valid value for the I<event> argument. In this case, the events "
239 "will not be reported to the calling process."
240 msgstr ""
241 "Для аргумента I<event> допускается значение NULL. В этом случае информация о "
242 "событиях не будет поступать в вызывающий процесс."
243
244 #. type: SH
245 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
246 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
247 #, no-wrap
248 msgid "RETURN VALUE"
249 msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ"
250
251 #. type: Plain text
252 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
253 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
254 #, fuzzy
255 #| msgid ""
256 #| "On success, B<spu_run>() returns the value of the I<spu_status> "
257 #| "register. On error, it returns -1 and sets I<errno> to one of the error "
258 #| "codes listed below."
259 msgid ""
260 "On success, B<spu_run>() returns the value of the I<spu_status> register. "
261 "On failure, it returns -1 and sets I<errno> is set to indicate the error."
262 msgstr ""
263 "При успешном выполнении B<spu_run>() возвращается значение регистра "
264 "I<spu_status>. При ошибке возвращается -1, а в I<errno> содержится один из "
265 "кодов ошибки, описанных далее."
266
267 #. type: Plain text
268 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
269 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
270 msgid ""
271 "The I<spu_status> register value is a bit mask of status codes and "
272 "optionally a 14-bit code returned from the B<stop-and-signal> instruction on "
273 "the SPU. The bit masks for the status codes are:"
274 msgstr ""
275 "Значение регистра I<spu_status> представляет собой битовую маску кодов "
276 "состояния и необязательный 14-битный код, возвращаемый при выполнении "
277 "инструкции B<stop-and-signal> SPU. Битовые маски кодов состояний:"
278
279 #. type: TP
280 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
281 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
282 #, no-wrap
283 msgid "B<0x02>"
284 msgstr "B<0x02>"
285
286 #. type: Plain text
287 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
288 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
289 msgid "SPU was stopped by a B<stop-and-signal> instruction."
290 msgstr "SPU остановлен инструкцией B<stop-and-signal>."
291
292 #. type: TP
293 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
294 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
295 #, no-wrap
296 msgid "B<0x04>"
297 msgstr "B<0x04>"
298
299 #. type: Plain text
300 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
301 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
302 msgid "SPU was stopped by a B<halt> instruction."
303 msgstr "SPU остановлен инструкцией B<halt>."
304
305 #. type: TP
306 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
307 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
308 #, no-wrap
309 msgid "B<0x08>"
310 msgstr "B<0x08>"
311
312 #. type: Plain text
313 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
314 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
315 msgid "SPU is waiting for a channel."
316 msgstr "SPU ожидает канала."
317
318 #. type: TP
319 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
320 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
321 #, no-wrap
322 msgid "B<0x10>"
323 msgstr "B<0x10>"
324
325 #. type: Plain text
326 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
327 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
328 msgid "SPU is in single-step mode."
329 msgstr "SPU в пошаговом режиме."
330
331 #. type: TP
332 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
333 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
334 #, no-wrap
335 msgid "B<0x20>"
336 msgstr "B<0x20>"
337
338 #. type: Plain text
339 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
340 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
341 msgid "SPU has tried to execute an invalid instruction."
342 msgstr "SPU пытался выполнить неверную инструкцию."
343
344 #. type: TP
345 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
346 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
347 #, no-wrap
348 msgid "B<0x40>"
349 msgstr "B<0x40>"
350
351 #. type: Plain text
352 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
353 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
354 msgid "SPU has tried to access an invalid channel."
355 msgstr "SPU пытался получить доступ к неверному каналу."
356
357 #. type: TP
358 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
359 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
360 #, no-wrap
361 msgid "B<0x3fff0000>"
362 msgstr "B<0x3fff0000>"
363
364 #. type: Plain text
365 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
366 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
367 msgid ""
368 "The bits masked with this value contain the code returned from a B<stop-and-"
369 "signal> instruction. These bits are valid only if the 0x02 bit is set."
370 msgstr ""
371 "При наложении этой маски получается код, возвращаемый инструкцией B<stop-and-"
372 "signal>. Полученные биты корректны только, если установлен бит 0x02."
373
374 #. type: Plain text
375 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
376 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
377 msgid ""
378 "If B<spu_run>() has not returned an error, one or more bits among the lower "
379 "eight ones are always set."
380 msgstr ""
381 "Если B<spu_run>() не вернул ошибку, то один или более младших восьми битов "
382 "всегда установлены."
383
384 #. type: SH
385 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
386 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
387 #, no-wrap
388 msgid "ERRORS"
389 msgstr "ОШИБКИ"
390
391 #. type: TP
392 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
393 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
394 #, no-wrap
395 msgid "B<EBADF>"
396 msgstr "B<EBADF>"
397
398 #. type: Plain text
399 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
400 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
401 msgid "I<fd> is not a valid file descriptor."
402 msgstr "Значение I<fd> не является правильным файловым дескриптором."
403
404 #. type: TP
405 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
406 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
407 #, no-wrap
408 msgid "B<EFAULT>"
409 msgstr "B<EFAULT>"
410
411 #. type: Plain text
412 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
413 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
414 msgid ""
415 "I<npc> is not a valid pointer, or I<event> is non-NULL and an invalid "
416 "pointer."
417 msgstr ""
418 "Задан неправильный указатель в I<npc> или значение I<event> не равно NULL и "
419 "является неправильным указателем."
420
421 #. type: TP
422 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
423 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
424 #, no-wrap
425 msgid "B<EINTR>"
426 msgstr "B<EINTR>"
427
428 #. type: Plain text
429 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
430 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
431 msgid ""
432 "A signal occurred while B<spu_run>() was in progress; see B<signal>(7). "
433 "The I<npc> value has been updated to the new program counter value if "
434 "necessary."
435 msgstr ""
436 "При выполнении B<spu_run>() получен сигнал; см. B<signal>(7). При "
437 "необходимости, значение I<npc> обновляется до нового значения программного "
438 "счётчика."
439
440 #. type: TP
441 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
442 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
443 #, no-wrap
444 msgid "B<EINVAL>"
445 msgstr "B<EINVAL>"
446
447 #. type: Plain text
448 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
449 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
450 msgid "I<fd> is not a valid file descriptor returned from B<spu_create>(2)."
451 msgstr ""
452 "Значение I<fd> не является правильным файловым дескриптором, возвращённым "
453 "B<spu_create>(2)."
454
455 #. type: TP
456 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
457 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
458 #, no-wrap
459 msgid "B<ENOMEM>"
460 msgstr "B<ENOMEM>"
461
462 #. type: Plain text
463 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
464 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
465 msgid ""
466 "There was not enough memory available to handle a page fault resulting from "
467 "a Memory Flow Controller (MFC) direct memory access."
468 msgstr ""
469 "Недостаточно памяти для обработки страничного сбоя в результате прямого "
470 "доступа Memory Flow Controller (MFC)."
471
472 #. type: TP
473 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
474 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
475 #, no-wrap
476 msgid "B<ENOSYS>"
477 msgstr "B<ENOSYS>"
478
479 #. type: Plain text
480 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
481 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
482 msgid ""
483 "The functionality is not provided by the current system, because either the "
484 "hardware does not provide SPUs or the spufs module is not loaded."
485 msgstr ""
486 "Возможность не предоставляется текущей системой, так как или аппаратура не "
487 "предоставляет SPU, или не загружен модуль spufs."
488
489 #. type: SH
490 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
491 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
492 #, no-wrap
493 msgid "STANDARDS"
494 msgstr "СТАНДАРТЫ"
495
496 #. type: Plain text
497 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
498 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
499 msgid "Linux on PowerPC."
500 msgstr ""
501
502 #. type: SH
503 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
504 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
505 #, no-wrap
506 msgid "HISTORY"
507 msgstr "ИСТОРИЯ"
508
509 #. type: Plain text
510 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
511 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
512 msgid "Linux 2.6.16."
513 msgstr "Linux 2.6.16."
514
515 #. type: SH
516 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
517 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
518 #, no-wrap
519 msgid "NOTES"
520 msgstr "ПРИМЕЧАНИЯ"
521
522 #. type: Plain text
523 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
524 #: opensuse-tumbleweed
525 #, fuzzy
526 #| msgid ""
527 #| "Glibc does not provide a wrapper for this system call; call it using "
528 #| "B<syscall>(2). Note however, that B<spu_run>() is meant to be used from "
529 #| "libraries that implement a more abstract interface to SPUs, not to be "
530 #| "used from regular applications. See E<.UR http://www.bsc.es\\:/"
531 #| "projects\\:/deepcomputing\\:/linuxoncell/> E<.UE> for the recommended "
532 #| "libraries."
533 msgid ""
534 "B<spu_run>() is meant to be used from libraries that implement a more "
535 "abstract interface to SPUs, not to be used from regular applications. See "
536 "E<.UR http:\\://www.bsc.es\\:/projects\\:/deepcomputing\\:/linuxoncell/> "
537 "E<.UE> for the recommended libraries."
538 msgstr ""
539 "В glibc нет обёртки для этого системного вызова; запускайте его с помощью "
540 "B<syscall>(2). Однако заметим, что B<spu_run>() предназначен для работы в "
541 "библиотеках, которые реализуют более абстрактный интерфейс к SPU и не должен "
542 "вызываться из обычных приложений. Рекомендуемые библиотеки приведены на "
543 "странице E<.UR http://www.bsc.es\\:/projects\\:/deepcomputing\\:/linuxoncell/"
544 "> E<.UE .>"
545
546 #. type: SH
547 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
548 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
549 #, no-wrap
550 msgid "EXAMPLES"
551 msgstr "ПРИМЕРЫ"
552
553 #. type: Plain text
554 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
555 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
556 msgid ""
557 "The following is an example of running a simple, one-instruction SPU program "
558 "with the B<spu_run>() system call."
559 msgstr ""
560 "В следующем примере реализована простая программа, состоящая из одной "
561 "инструкции SPU и системного вызова B<spu_run>()."
562
563 #. type: Plain text
564 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
565 #: opensuse-tumbleweed
566 #, no-wrap
567 msgid ""
568 "#include E<lt>err.hE<gt>\n"
569 "#include E<lt>fcntl.hE<gt>\n"
570 "#include E<lt>stdint.hE<gt>\n"
571 "#include E<lt>stdio.hE<gt>\n"
572 "#include E<lt>stdlib.hE<gt>\n"
573 "#include E<lt>sys/types.hE<gt>\n"
574 "#include E<lt>unistd.hE<gt>\n"
575 "\\&\n"
576 "int main(void)\n"
577 "{\n"
578 " int context, fd, spu_status;\n"
579 " uint32_t instruction, npc;\n"
580 "\\&\n"
581 " context = syscall(SYS_spu_create, \"/spu/example-context\", 0, 0755);\n"
582 " if (context == -1)\n"
583 " err(EXIT_FAILURE, \"spu_create\");\n"
584 "\\&\n"
585 " /*\n"
586 " * Write a \\[aq]stop 0x1234\\[aq] instruction to the SPU\\[aq]s\n"
587 " * local store memory.\n"
588 " */\n"
589 " instruction = 0x00001234;\n"
590 "\\&\n"
591 " fd = open(\"/spu/example-context/mem\", O_RDWR);\n"
592 " if (fd == -1)\n"
593 " err(EXIT_FAILURE, \"open\");\n"
594 " write(fd, &instruction, sizeof(instruction));\n"
595 "\\&\n"
596 " /*\n"
597 " * set npc to the starting instruction address of the\n"
598 " * SPU program. Since we wrote the instruction at the\n"
599 " * start of the mem file, the entry point will be 0x0.\n"
600 " */\n"
601 " npc = 0;\n"
602 "\\&\n"
603 " spu_status = syscall(SYS_spu_run, context, &npc, NULL);\n"
604 " if (spu_status == -1)\n"
605 " err(EXIT_FAILURE, \"open\");\n"
606 "\\&\n"
607 " /*\n"
608 " * We should see a status code of 0x12340002:\n"
609 " * 0x00000002 (spu was stopped due to stop-and-signal)\n"
610 " * | 0x12340000 (the stop-and-signal code)\n"
611 " */\n"
612 " printf(\"SPU Status: %#08x\\[rs]n\", spu_status);\n"
613 "\\&\n"
614 " exit(EXIT_SUCCESS);\n"
615 "}\n"
616 msgstr ""
617
618 #. SRC END
619 #. .SH AUTHORS
620 #. Arnd Bergmann <[email protected]>, Jeremy Kerr <[email protected]>
621 #. type: SH
622 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
623 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
624 #, no-wrap
625 msgid "SEE ALSO"
626 msgstr "СМОТРИТЕ ТАКЖЕ"
627
628 #. type: Plain text
629 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
630 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
631 msgid "B<close>(2), B<spu_create>(2), B<capabilities>(7), B<spufs>(7)"
632 msgstr "B<close>(2), B<spu_create>(2), B<capabilities>(7), B<spufs>(7)"
633
634 #. type: TH
635 #: debian-trixie
636 #, no-wrap
637 msgid "2024-06-15"
638 msgstr "15 июня 2024 г."
639
640 #. type: TH
641 #: debian-trixie
642 #, no-wrap
643 msgid "Linux man-pages 6.9.1"
644 msgstr "Страницы руководства Linux 6.9.1"
645
646 #. type: Plain text
647 #: debian-trixie
648 msgid "Standard C library (I<libc>, I<-lc>)"
649 msgstr "Стандартная библиотека языка C (I<libc>, I<-lc>)"
650
651 #. type: Plain text
652 #: debian-trixie fedora-44 fedora-rawhide
653 #, fuzzy
654 #| msgid ""
655 #| "Glibc does not provide a wrapper for this system call; call it using "
656 #| "B<syscall>(2). Note however, that B<spu_run>() is meant to be used from "
657 #| "libraries that implement a more abstract interface to SPUs, not to be "
658 #| "used from regular applications. See E<.UR http://www.bsc.es\\:/"
659 #| "projects\\:/deepcomputing\\:/linuxoncell/> E<.UE> for the recommended "
660 #| "libraries."
661 msgid ""
662 "B<spu_run>() is meant to be used from libraries that implement a more "
663 "abstract interface to SPUs, not to be used from regular applications. See "
664 "E<.UR http://www.bsc.es\\:/projects\\:/deepcomputing\\:/linuxoncell/> E<.UE> "
665 "for the recommended libraries."
666 msgstr ""
667 "В glibc нет обёртки для этого системного вызова; запускайте его с помощью "
668 "B<syscall>(2). Однако заметим, что B<spu_run>() предназначен для работы в "
669 "библиотеках, которые реализуют более абстрактный интерфейс к SPU и не должен "
670 "вызываться из обычных приложений. Рекомендуемые библиотеки приведены на "
671 "странице E<.UR http://www.bsc.es\\:/projects\\:/deepcomputing\\:/linuxoncell/"
672 "> E<.UE .>"
673
674 #. type: Plain text
675 #: debian-trixie fedora-44 fedora-rawhide
676 #, no-wrap
677 msgid ""
678 "#include E<lt>err.hE<gt>\n"
679 "#include E<lt>fcntl.hE<gt>\n"
680 "#include E<lt>stdint.hE<gt>\n"
681 "#include E<lt>stdio.hE<gt>\n"
682 "#include E<lt>stdlib.hE<gt>\n"
683 "#include E<lt>sys/types.hE<gt>\n"
684 "#include E<lt>unistd.hE<gt>\n"
685 "\\&\n"
686 "int main(void)\n"
687 "{\n"
688 " int context, fd, spu_status;\n"
689 " uint32_t instruction, npc;\n"
690 "\\&\n"
691 " context = syscall(SYS_spu_create, \"/spu/example-context\", 0, 0755);\n"
692 " if (context == -1)\n"
693 " err(EXIT_FAILURE, \"spu_create\");\n"
694 "\\&\n"
695 " /*\n"
696 " * Write a \\[aq]stop 0x1234\\[aq] instruction to the SPU\\[aq]s\n"
697 " * local store memory.\n"
698 " */\n"
699 " instruction = 0x00001234;\n"
700 "\\&\n"
701 " fd = open(\"/spu/example-context/mem\", O_RDWR);\n"
702 " if (fd == -1)\n"
703 " err(EXIT_FAILURE, \"open\");\n"
704 " write(fd, &instruction, sizeof(instruction));\n"
705 "\\&\n"
706 " /*\n"
707 " * set npc to the starting instruction address of the\n"
708 " * SPU program. Since we wrote the instruction at the\n"
709 " * start of the mem file, the entry point will be 0x0.\n"
710 " */\n"
711 " npc = 0;\n"
712 "\\&\n"
713 " spu_status = syscall(SYS_spu_run, context, &npc, NULL);\n"
714 " if (spu_status == -1)\n"
715 " err(EXIT_FAILURE, \"open\");\n"
716 "\\&\n"
717 " /*\n"
718 " * We should see a status code of 0x12340002:\n"
719 " * 0x00000002 (spu was stopped due to stop-and-signal)\n"
720 " * | 0x12340000 (the stop-and-signal code)\n"
721 " */\n"
722 " printf(\"SPU Status: %#08x\\[rs]n\", spu_status);\n"
723 "\\&\n"
724 " exit(EXIT_SUCCESS);\n"
725 "}\n"
726 msgstr ""
727
728 #. type: TH
729 #: fedora-44 fedora-rawhide
730 #, no-wrap
731 msgid "2024-07-23"
732 msgstr "23 июля 2024 г."
733
734 #. type: TH
735 #: fedora-44 fedora-rawhide
736 #, no-wrap
737 msgid "Linux man-pages 6.13"
738 msgstr "Страницы руководства Linux 6.13"
739
740 #. type: TH
741 #: mageia-cauldron
742 #, no-wrap
743 msgid "Linux man-pages 6.17"
744 msgstr "Страницы руководства Linux 6.17"
745
746 #. type: TH
747 #: opensuse-leap-16-1 opensuse-tumbleweed
748 #, no-wrap
749 msgid "Linux man-pages (unreleased)"
750 msgstr "Страницы руководства Linux (не выпущены)"