Debian Codegraph @

po/ar/man2/spu_run.2.po

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