Debian Codegraph @

po/da/man2/spu_run.2.po

raw
1 # Danish translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Joe Dalton <[email protected]>, 2026.
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: manpages-l10n 4.30.0\n"
8 "POT-Creation-Date: 2026-06-05 06:44+0200\n"
9 "PO-Revision-Date: 2026-05-08 18:53+0200\n"
10 "Last-Translator: Joe Dalton <[email protected]>\n"
11 "Language-Team: Danish <[email protected]>\n"
12 "Language: da\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=2; plural=(n != 1);\n"
17
18 #. type: TH
19 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
20 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
21 #, no-wrap
22 msgid "spu_run"
23 msgstr "spu_run"
24
25 #. type: TH
26 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
27 #: opensuse-tumbleweed
28 #, no-wrap
29 msgid "2026-02-08"
30 msgstr "8. februar 2026"
31
32 #. type: TH
33 #: archlinux debian-unstable
34 #, no-wrap
35 msgid "Linux man-pages 6.18"
36 msgstr "Linux man-pages 6.18"
37
38 #. type: SH
39 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
40 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
41 #, no-wrap
42 msgid "NAME"
43 msgstr "NAVN"
44
45 #. type: Plain text
46 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
47 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
48 msgid "spu_run - execute an SPU context"
49 msgstr "spu_run - afvikl en SPU-kontekst"
50
51 #. type: SH
52 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
53 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
54 #, no-wrap
55 msgid "LIBRARY"
56 msgstr "BIBLIOTEK"
57
58 #. type: Plain text
59 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
60 #: opensuse-leap-16-1 opensuse-tumbleweed
61 msgid "Standard C library (I<libc>,\\ I<-lc>)"
62 msgstr "C-standardbibliotek (I<libc>,\\ I<-lc>)"
63
64 #. type: SH
65 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
66 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
67 #, no-wrap
68 msgid "SYNOPSIS"
69 msgstr "SYNOPSIS"
70
71 #. type: Plain text
72 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
73 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
74 #, no-wrap
75 msgid ""
76 "B<#include E<lt>sys/spu.hE<gt>> /* Definition of B<SPU_*> constants */\n"
77 "B<#include E<lt>sys/syscall.hE<gt>> /* Definition of B<SYS_*> constants */\n"
78 "B<#include E<lt>unistd.hE<gt>>\n"
79 msgstr ""
80 "B<#include E<lt>sys/spu.hE<gt>> /* Definition af B<SPU_*>-konstanter */\n"
81 "B<#include E<lt>sys/syscall.hE<gt>> /* Definition af B<SYS_*>-konstanter */\n"
82 "B<#include E<lt>unistd.hE<gt>>\n"
83
84 #. type: Plain text
85 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
86 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
87 #, no-wrap
88 msgid "B<int syscall(SYS_spu_run, int >I<fd>B<, uint32_t *>I<npc>B<, uint32_t *>I<event>B<);>\n"
89 msgstr "B<int syscall(SYS_spu_run, int >I<fd>B<, uint32_t *>I<npc>B<, uint32_t *>I<event>B<);>\n"
90
91 #. type: Plain text
92 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
93 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
94 msgid ""
95 "I<Note>: glibc provides no wrapper for B<spu_run>(), necessitating the use "
96 "of B<syscall>(2)."
97 msgstr ""
98 "I<Bemærk>: glibc tilbyder intet omslag for B<spu_run>(), hvilket "
99 "nødvendiggør brug af B<syscall>(2)."
100
101 #. type: SH
102 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
103 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
104 #, no-wrap
105 msgid "DESCRIPTION"
106 msgstr "BESKRIVELSE"
107
108 #. type: Plain text
109 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
110 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
111 msgid ""
112 "The B<spu_run>() system call is used on PowerPC machines that implement the "
113 "Cell Broadband Engine Architecture in order to access Synergistic Processor "
114 "Units (SPUs). The I<fd> argument is a file descriptor returned by "
115 "B<spu_create>(2) that refers to a specific SPU context. When the context "
116 "gets scheduled to a physical SPU, it starts execution at the instruction "
117 "pointer passed in I<npc>."
118 msgstr ""
119 "Systemkaldet B<spu_run>() bruges på PowerPC-maskiner, der implementerer Cell "
120 "Broadband Engine Architecture for at tilgå Synergistic Processor Units "
121 "(SPU'er). Argumentet I<fd> er en fildeskriptor returneret af "
122 "B<spu_create>(2), der refererer til en specifik SPU-kontekst. Når konteksten "
123 "bliver planlagt til en fysisk SPU, så startes afvikling på "
124 "instruktionspegeren sendt i 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 "Afvikling af SPU-kode sker synkront, hvilket betyder at B<spu_run>() "
136 "blokerer mens SPU stadig afvikles. Hvis der er et behov for at afvikle SPU-"
137 "kode parallelt med anden kode på enten hoved-cpu'en eller andre SPU'er, skal "
138 "en ny afviklingstråd oprettes først (f.eks. via 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 "Når B<spu_run>() returnerer skrives den nuværend eværdi for SPU-"
149 "programtælleren til I<npc>, så efterfølgende kald til B<spu_run>() kan bruge "
150 "den samme I<npc>-peger."
151
152 #. type: Plain text
153 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
154 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
155 msgid ""
156 "The I<event> argument provides a buffer for an extended status code. If the "
157 "SPU context was created with the B<SPU_CREATE_EVENTS_ENABLED> flag, then "
158 "this buffer is populated by the Linux kernel before B<spu_run>() returns."
159 msgstr ""
160 "Argumentet I<event> tilbyder et mellemlager for en udvidet statuskode. Hvis "
161 "SPU-konteksten blev oprettet med flaget B<SPU_CREATE_EVENTS_ENABLED>, så "
162 "udfyldes dette mellemlager af Linuxkernen før B<spu_run>() returnerer."
163
164 #. type: Plain text
165 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
166 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
167 msgid "The status code may be one (or more) of the following constants:"
168 msgstr "Statuskoden kan være en (eller flere) af de følgende konstanter:"
169
170 #. type: TP
171 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
172 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
173 #, no-wrap
174 msgid "B<SPE_EVENT_DMA_ALIGNMENT>"
175 msgstr "B<SPE_EVENT_DMA_ALIGNMENT>"
176
177 #. type: Plain text
178 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
179 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
180 msgid "A DMA alignment error occurred."
181 msgstr "Der opstod en DMA-justeringsfejl."
182
183 #. type: TP
184 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
185 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
186 #, no-wrap
187 msgid "B<SPE_EVENT_INVALID_DMA>"
188 msgstr "B<SPE_EVENT_INVALID_DMA>"
189
190 #. SPE_EVENT_SPE_DATA_SEGMENT is defined, but does not seem to be generated
191 #. at any point (in Linux 5.9 sources).
192 #. type: Plain text
193 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
194 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
195 msgid "An invalid MFC DMA command was attempted."
196 msgstr "En ugyldig MFC DMA-kommando blev forsøgt."
197
198 #. type: TP
199 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
200 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
201 #, no-wrap
202 msgid "B<SPE_EVENT_SPE_DATA_STORAGE>"
203 msgstr "B<SPE_EVENT_SPE_DATA_STORAGE>"
204
205 #. type: Plain text
206 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
207 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
208 msgid "A DMA storage error occurred."
209 msgstr "Der opstod en DMA-lagerfejl."
210
211 #. type: TP
212 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
213 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
214 #, no-wrap
215 msgid "B<SPE_EVENT_SPE_ERROR>"
216 msgstr "B<SPE_EVENT_SPE_ERROR>"
217
218 #. type: Plain text
219 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
220 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
221 msgid "An illegal instruction was executed."
222 msgstr "En illegal instruktion blev afviklet."
223
224 #. type: Plain text
225 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
226 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
227 msgid ""
228 "NULL is a valid value for the I<event> argument. In this case, the events "
229 "will not be reported to the calling process."
230 msgstr ""
231 "NULL er en gyldig værdi for argumentet I<event> argument. I dette tilfælde "
232 "vil hændelserne ikke blive rapporteret til den kaldende proces."
233
234 #. type: SH
235 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
236 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
237 #, no-wrap
238 msgid "RETURN VALUE"
239 msgstr "RETURVÆRDI"
240
241 # english error sets/set
242 #. type: Plain text
243 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
244 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
245 msgid ""
246 "On success, B<spu_run>() returns the value of the I<spu_status> register. "
247 "On failure, it returns -1 and sets I<errno> is set to indicate the error."
248 msgstr ""
249 "Ved succes returnerer B<spu_run>() værdien for registeret I<spu_status>. Ved "
250 "returneres -1 og I<errno> angives for at indikere fejlen."
251
252 #. type: Plain text
253 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
254 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
255 msgid ""
256 "The I<spu_status> register value is a bit mask of status codes and "
257 "optionally a 14-bit code returned from the B<stop-and-signal> instruction on "
258 "the SPU. The bit masks for the status codes are:"
259 msgstr ""
260 "Registerværdien I<spu_status> er en bitmaske for statuskoder og valgfrit en "
261 "14-bit kode returneret fra instruktionen B<stop-and-signal> på SPU'en. "
262 "Bitmaskene for statuskoderne er:"
263
264 #. type: TP
265 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
266 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
267 #, no-wrap
268 msgid "B<0x02>"
269 msgstr "B<0x02>"
270
271 #. type: Plain text
272 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
273 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
274 msgid "SPU was stopped by a B<stop-and-signal> instruction."
275 msgstr "SPU blev stoppet af en B<stop-and-signal>-instruktion."
276
277 #. type: TP
278 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
279 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
280 #, no-wrap
281 msgid "B<0x04>"
282 msgstr "B<0x04>"
283
284 #. type: Plain text
285 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
286 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
287 msgid "SPU was stopped by a B<halt> instruction."
288 msgstr "SPU blev stoppet af en B<halt>-instrution."
289
290 #. type: TP
291 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
292 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
293 #, no-wrap
294 msgid "B<0x08>"
295 msgstr "B<0x08>"
296
297 #. type: Plain text
298 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
299 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
300 msgid "SPU is waiting for a channel."
301 msgstr "SPU venter på en kanal."
302
303 #. type: TP
304 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
305 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
306 #, no-wrap
307 msgid "B<0x10>"
308 msgstr "B<0x10>"
309
310 #. type: Plain text
311 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
312 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
313 msgid "SPU is in single-step mode."
314 msgstr "SPU er i enkelt trin-tilstand."
315
316 #. type: TP
317 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
318 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
319 #, no-wrap
320 msgid "B<0x20>"
321 msgstr "B<0x20>"
322
323 #. type: Plain text
324 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
325 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
326 msgid "SPU has tried to execute an invalid instruction."
327 msgstr "SPU har forsøgt at afvikle en ugyldig instruktion."
328
329 #. type: TP
330 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
331 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
332 #, no-wrap
333 msgid "B<0x40>"
334 msgstr "B<0x40>"
335
336 #. type: Plain text
337 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
338 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
339 msgid "SPU has tried to access an invalid channel."
340 msgstr "SPU har forsøgt at tilgå en ugyldig kanal."
341
342 #. type: TP
343 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
344 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
345 #, no-wrap
346 msgid "B<0x3fff0000>"
347 msgstr "B<0x3fff0000>"
348
349 #. type: Plain text
350 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
351 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
352 msgid ""
353 "The bits masked with this value contain the code returned from a B<stop-and-"
354 "signal> instruction. These bits are valid only if the 0x02 bit is set."
355 msgstr ""
356 "Bittene maskeret med denne værdi indeholder koden returneret fra en B<stop-"
357 "and-signal>-instruktion. Disse bit er kun gyldige hvis 0x02-bitten er "
358 "angivet."
359
360 #. type: Plain text
361 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
362 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
363 msgid ""
364 "If B<spu_run>() has not returned an error, one or more bits among the lower "
365 "eight ones are always set."
366 msgstr ""
367 "Hvis B<spu_run>() ikke har returneret en fejl, er en eller flere bit blandt "
368 "de nedre otte altid angivet.*"
369
370 #. type: SH
371 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
372 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
373 #, no-wrap
374 msgid "ERRORS"
375 msgstr "FEJL"
376
377 #. type: TP
378 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
379 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
380 #, no-wrap
381 msgid "B<EBADF>"
382 msgstr "B<EBADF>"
383
384 #. type: Plain text
385 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
386 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
387 msgid "I<fd> is not a valid file descriptor."
388 msgstr "I<fd> er ikke en gyldig filbeskrivelse."
389
390 #. type: TP
391 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
392 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
393 #, no-wrap
394 msgid "B<EFAULT>"
395 msgstr "B<EFAULT>"
396
397 #. type: Plain text
398 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
399 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
400 msgid ""
401 "I<npc> is not a valid pointer, or I<event> is non-NULL and an invalid "
402 "pointer."
403 msgstr ""
404 "I<npc> er ikke en gyldig peger, eller I<event> er ikke-NULL og en ugyldig "
405 "peger."
406
407 #. type: TP
408 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
409 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
410 #, no-wrap
411 msgid "B<EINTR>"
412 msgstr "B<EINTR>"
413
414 #. type: Plain text
415 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
416 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
417 msgid ""
418 "A signal occurred while B<spu_run>() was in progress; see B<signal>(7). "
419 "The I<npc> value has been updated to the new program counter value if "
420 "necessary."
421 msgstr ""
422 "Der opstod et signal mens B<spu_run>() var i gang; se B<signal>(7). Værdien "
423 "I<npc> er blevet opdateret til den nye programtællerværdi hvis nødvendigt."
424
425 #. type: TP
426 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
427 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
428 #, no-wrap
429 msgid "B<EINVAL>"
430 msgstr "B<EINVAL>"
431
432 #. type: Plain text
433 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
434 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
435 msgid "I<fd> is not a valid file descriptor returned from B<spu_create>(2)."
436 msgstr "I<fd> er ikke en gyldig fildeskriptor returneret fra B<spu_create>(2)."
437
438 #. type: TP
439 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
440 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
441 #, no-wrap
442 msgid "B<ENOMEM>"
443 msgstr "B<ENOMEM>"
444
445 #. type: Plain text
446 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
447 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
448 msgid ""
449 "There was not enough memory available to handle a page fault resulting from "
450 "a Memory Flow Controller (MFC) direct memory access."
451 msgstr ""
452 "Der var ikke nok hukommelse tilgængelig til at håndtere en sidefejl medført "
453 "fra en Memory Flow Controller (MFC) direkte hukommelsesadgang."
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<ENOSYS>"
460 msgstr "B<ENOSYS>"
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 "The functionality is not provided by the current system, because either the "
467 "hardware does not provide SPUs or the spufs module is not loaded."
468 msgstr ""
469 "Funktionaliteten er ikke tilbudt af det nuværende system, da hverken "
470 "udstyret tilbyder SPU'er eller spufs-modulet er indlæst."
471
472 #. type: SH
473 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
474 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
475 #, no-wrap
476 msgid "STANDARDS"
477 msgstr "STANDARDER"
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 "Linux on PowerPC."
483 msgstr "Linux på PowerPC."
484
485 #. type: SH
486 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
487 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
488 #, no-wrap
489 msgid "HISTORY"
490 msgstr "HISTORIK"
491
492 #. type: Plain text
493 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
494 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
495 msgid "Linux 2.6.16."
496 msgstr "Linux 2.6.16."
497
498 #. type: SH
499 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
500 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
501 #, no-wrap
502 msgid "NOTES"
503 msgstr "NOTER"
504
505 #. type: Plain text
506 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
507 #: opensuse-tumbleweed
508 msgid ""
509 "B<spu_run>() is meant to be used from libraries that implement a more "
510 "abstract interface to SPUs, not to be used from regular applications. See "
511 "E<.UR http:\\://www.bsc.es\\:/projects\\:/deepcomputing\\:/linuxoncell/> "
512 "E<.UE> for the recommended libraries."
513 msgstr ""
514 "B<spu_run>() er lavet til brug fra biblioteker, der impelemnterer en mere "
515 "abstrakt grænseflade til SPU'er, ikke til brug fra normale programmer. Se "
516 "E<.UR http:\\://www.bsc.es\\:/projects\\:/deepcomputing\\:/linuxoncell/> "
517 "E<.UE> for de anbefalede biblioteker."
518
519 #. type: SH
520 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
521 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
522 #, no-wrap
523 msgid "EXAMPLES"
524 msgstr "EKSEMPLER"
525
526 #. type: Plain text
527 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
528 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
529 msgid ""
530 "The following is an example of running a simple, one-instruction SPU program "
531 "with the B<spu_run>() system call."
532 msgstr ""
533 "Det følgende er et eksempel på afvikling af et simpelt, en instruktion SPU-"
534 "program med systemkaldet B<spu_run>()."
535
536 #. type: Plain text
537 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
538 #: opensuse-tumbleweed
539 #, no-wrap
540 msgid ""
541 "#include E<lt>err.hE<gt>\n"
542 "#include E<lt>fcntl.hE<gt>\n"
543 "#include E<lt>stdint.hE<gt>\n"
544 "#include E<lt>stdio.hE<gt>\n"
545 "#include E<lt>stdlib.hE<gt>\n"
546 "#include E<lt>sys/types.hE<gt>\n"
547 "#include E<lt>unistd.hE<gt>\n"
548 "\\&\n"
549 "int main(void)\n"
550 "{\n"
551 " int context, fd, spu_status;\n"
552 " uint32_t instruction, npc;\n"
553 "\\&\n"
554 " context = syscall(SYS_spu_create, \"/spu/example-context\", 0, 0755);\n"
555 " if (context == -1)\n"
556 " err(EXIT_FAILURE, \"spu_create\");\n"
557 "\\&\n"
558 " /*\n"
559 " * Write a \\[aq]stop 0x1234\\[aq] instruction to the SPU\\[aq]s\n"
560 " * local store memory.\n"
561 " */\n"
562 " instruction = 0x00001234;\n"
563 "\\&\n"
564 " fd = open(\"/spu/example-context/mem\", O_RDWR);\n"
565 " if (fd == -1)\n"
566 " err(EXIT_FAILURE, \"open\");\n"
567 " write(fd, &instruction, sizeof(instruction));\n"
568 "\\&\n"
569 " /*\n"
570 " * set npc to the starting instruction address of the\n"
571 " * SPU program. Since we wrote the instruction at the\n"
572 " * start of the mem file, the entry point will be 0x0.\n"
573 " */\n"
574 " npc = 0;\n"
575 "\\&\n"
576 " spu_status = syscall(SYS_spu_run, context, &npc, NULL);\n"
577 " if (spu_status == -1)\n"
578 " err(EXIT_FAILURE, \"open\");\n"
579 "\\&\n"
580 " /*\n"
581 " * We should see a status code of 0x12340002:\n"
582 " * 0x00000002 (spu was stopped due to stop-and-signal)\n"
583 " * | 0x12340000 (the stop-and-signal code)\n"
584 " */\n"
585 " printf(\"SPU Status: %#08x\\[rs]n\", spu_status);\n"
586 "\\&\n"
587 " exit(EXIT_SUCCESS);\n"
588 "}\n"
589 msgstr ""
590 "#include E<lt>err.hE<gt>\n"
591 "#include E<lt>fcntl.hE<gt>\n"
592 "#include E<lt>stdint.hE<gt>\n"
593 "#include E<lt>stdio.hE<gt>\n"
594 "#include E<lt>stdlib.hE<gt>\n"
595 "#include E<lt>sys/types.hE<gt>\n"
596 "#include E<lt>unistd.hE<gt>\n"
597 "\\&\n"
598 "int main(void)\n"
599 "{\n"
600 " int context, fd, spu_status;\n"
601 " uint32_t instruction, npc;\n"
602 "\\&\n"
603 " context = syscall(SYS_spu_create, \"/spu/example-context\", 0, 0755);\n"
604 " if (context == -1)\n"
605 " err(EXIT_FAILURE, \"spu_create\");\n"
606 "\\&\n"
607 " /*\n"
608 " * Skriv en \\[aq]stop 0x1234\\[aq] instruktion til SPU'en\\[aq]s\n"
609 " * lokale lagerhukommelse.\n"
610 " */\n"
611 " instruction = 0x00001234;\n"
612 "\\&\n"
613 " fd = open(\"/spu/example-context/mem\", O_RDWR);\n"
614 " if (fd == -1)\n"
615 " err(EXIT_FAILURE, \"open\");\n"
616 " write(fd, &instruction, sizeof(instruction));\n"
617 "\\&\n"
618 " /*\n"
619 " * angiv npc til den startende instruktionsadresse for\n"
620 " * SPU-programmet. Siden vi skrev instruktionen i starten af\n"
621 " * mem-filen vil indgangspunktet være 0x0.\n"
622 " */\n"
623 " npc = 0;\n"
624 "\\&\n"
625 " spu_status = syscall(SYS_spu_run, context, &npc, NULL);\n"
626 " if (spu_status == -1)\n"
627 " err(EXIT_FAILURE, \"open\");\n"
628 "\\&\n"
629 " /*\n"
630 " * Vi bør se en statuskode på 0x12340002:\n"
631 " * 0x00000002 (spu blev stoppet på grund af stop og signal)\n"
632 " * | 0x12340000 (stop og signal-koden)\n"
633 " */\n"
634 " printf(\"SPU Status: %#08x\\[rs]n\", spu_status);\n"
635 "\\&\n"
636 " exit(EXIT_SUCCESS);\n"
637 "}\n"
638
639 #. SRC END
640 #. .SH AUTHORS
641 #. Arnd Bergmann <[email protected]>, Jeremy Kerr <[email protected]>
642 #. type: SH
643 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
644 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
645 #, no-wrap
646 msgid "SEE ALSO"
647 msgstr "SE OGSÅ"
648
649 #. type: Plain text
650 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
651 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
652 msgid "B<close>(2), B<spu_create>(2), B<capabilities>(7), B<spufs>(7)"
653 msgstr "B<close>(2), B<spu_create>(2), B<capabilities>(7), B<spufs>(7)"
654
655 #. type: TH
656 #: debian-trixie
657 #, no-wrap
658 msgid "2024-06-15"
659 msgstr "15. juni 2024"
660
661 #. type: TH
662 #: debian-trixie
663 #, no-wrap
664 msgid "Linux man-pages 6.9.1"
665 msgstr "Linux man-pages 6.9.1"
666
667 #. type: Plain text
668 #: debian-trixie
669 msgid "Standard C library (I<libc>, I<-lc>)"
670 msgstr "C-standardbibliotek (I<libc>, I<-lc>)"
671
672 #. type: Plain text
673 #: debian-trixie fedora-44 fedora-rawhide
674 msgid ""
675 "B<spu_run>() is meant to be used from libraries that implement a more "
676 "abstract interface to SPUs, not to be used from regular applications. See "
677 "E<.UR http://www.bsc.es\\:/projects\\:/deepcomputing\\:/linuxoncell/> E<.UE> "
678 "for the recommended libraries."
679 msgstr ""
680 "B<spu_run>() er lavet til brug fra biblioteker, der impelemnterer en mere "
681 "abstrakt grænseflade til SPU'er, ikke til brug fra normale programmer. Se "
682 "E<.UR http://www.bsc.es\\:/projects\\:/deepcomputing\\:/linuxoncell/> E<.UE> "
683 "for de anbefalede biblioteker."
684
685 #. type: Plain text
686 #: debian-trixie fedora-44 fedora-rawhide
687 #, no-wrap
688 msgid ""
689 "#include E<lt>err.hE<gt>\n"
690 "#include E<lt>fcntl.hE<gt>\n"
691 "#include E<lt>stdint.hE<gt>\n"
692 "#include E<lt>stdio.hE<gt>\n"
693 "#include E<lt>stdlib.hE<gt>\n"
694 "#include E<lt>sys/types.hE<gt>\n"
695 "#include E<lt>unistd.hE<gt>\n"
696 "\\&\n"
697 "int main(void)\n"
698 "{\n"
699 " int context, fd, spu_status;\n"
700 " uint32_t instruction, npc;\n"
701 "\\&\n"
702 " context = syscall(SYS_spu_create, \"/spu/example-context\", 0, 0755);\n"
703 " if (context == -1)\n"
704 " err(EXIT_FAILURE, \"spu_create\");\n"
705 "\\&\n"
706 " /*\n"
707 " * Write a \\[aq]stop 0x1234\\[aq] instruction to the SPU\\[aq]s\n"
708 " * local store memory.\n"
709 " */\n"
710 " instruction = 0x00001234;\n"
711 "\\&\n"
712 " fd = open(\"/spu/example-context/mem\", O_RDWR);\n"
713 " if (fd == -1)\n"
714 " err(EXIT_FAILURE, \"open\");\n"
715 " write(fd, &instruction, sizeof(instruction));\n"
716 "\\&\n"
717 " /*\n"
718 " * set npc to the starting instruction address of the\n"
719 " * SPU program. Since we wrote the instruction at the\n"
720 " * start of the mem file, the entry point will be 0x0.\n"
721 " */\n"
722 " npc = 0;\n"
723 "\\&\n"
724 " spu_status = syscall(SYS_spu_run, context, &npc, NULL);\n"
725 " if (spu_status == -1)\n"
726 " err(EXIT_FAILURE, \"open\");\n"
727 "\\&\n"
728 " /*\n"
729 " * We should see a status code of 0x12340002:\n"
730 " * 0x00000002 (spu was stopped due to stop-and-signal)\n"
731 " * | 0x12340000 (the stop-and-signal code)\n"
732 " */\n"
733 " printf(\"SPU Status: %#08x\\[rs]n\", spu_status);\n"
734 "\\&\n"
735 " exit(EXIT_SUCCESS);\n"
736 "}\n"
737 msgstr ""
738 "#include E<lt>err.hE<gt>\n"
739 "#include E<lt>fcntl.hE<gt>\n"
740 "#include E<lt>stdint.hE<gt>\n"
741 "#include E<lt>stdio.hE<gt>\n"
742 "#include E<lt>stdlib.hE<gt>\n"
743 "#include E<lt>sys/types.hE<gt>\n"
744 "#include E<lt>unistd.hE<gt>\n"
745 "\\&\n"
746 "int main(void)\n"
747 "{\n"
748 " int context, fd, spu_status;\n"
749 " uint32_t instruction, npc;\n"
750 "\\&\n"
751 " context = syscall(SYS_spu_create, \"/spu/example-context\", 0, 0755);\n"
752 " if (context == -1)\n"
753 " err(EXIT_FAILURE, \"spu_create\");\n"
754 "\\&\n"
755 " /*\n"
756 " * Skriv en \\[aq]stop 0x1234\\[aq] instruktion til SPU'en\\[aq]s\n"
757 " * lokale lagerhukommelse.\n"
758 " */\n"
759 " instruction = 0x00001234;\n"
760 "\\&\n"
761 " fd = open(\"/spu/example-context/mem\", O_RDWR);\n"
762 " if (fd == -1)\n"
763 " err(EXIT_FAILURE, \"open\");\n"
764 " write(fd, &instruction, sizeof(instruction));\n"
765 "\\&\n"
766 " /*\n"
767 " * angiv npc til den startende instruktionsadresse for\n"
768 " * SPU-programmet. Da vi skrev instruktionen i begyndelsen af\n"
769 " * mem-filen, vil indgangspunktet være 0x0.\n"
770 " */\n"
771 " npc = 0;\n"
772 "\\&\n"
773 " spu_status = syscall(SYS_spu_run, context, &npc, NULL);\n"
774 " if (spu_status == -1)\n"
775 " err(EXIT_FAILURE, \"open\");\n"
776 "\\&\n"
777 " /*\n"
778 " * Vi bør se en statuskode på 0x12340002:\n"
779 " * 0x00000002 (spu blev stoppet på grund af stop og signal)\n"
780 " * | 0x12340000 (stop og signal-koden)\n"
781 " */\n"
782 " printf(\"SPU Status: %#08x\\[rs]n\", spu_status);\n"
783 "\\&\n"
784 " exit(EXIT_SUCCESS);\n"
785 "}\n"
786
787 #. type: TH
788 #: fedora-44 fedora-rawhide
789 #, no-wrap
790 msgid "2024-07-23"
791 msgstr "23. juli 2024"
792
793 #. type: TH
794 #: fedora-44 fedora-rawhide
795 #, no-wrap
796 msgid "Linux man-pages 6.13"
797 msgstr "Linux man-pages 6.13"
798
799 #. type: TH
800 #: mageia-cauldron
801 #, no-wrap
802 msgid "Linux man-pages 6.17"
803 msgstr "Linux man-pages 6.17"
804
805 #. type: TH
806 #: opensuse-leap-16-1 opensuse-tumbleweed
807 #, no-wrap
808 msgid "Linux man-pages (unreleased)"
809 msgstr "Linux man-pages (ej udgivet)"