| 1 |
# SOME DESCRIPTIVE TITLE |
| 2 |
# Copyright (C) YEAR Free Software Foundation, Inc. |
| 3 |
# This file is distributed under the same license as the PACKAGE package. |
| 4 |
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. |
| 5 |
# |
| 6 |
#, fuzzy |
| 7 |
msgid "" |
| 8 |
msgstr "" |
| 9 |
"Project-Id-Version: PACKAGE VERSION\n" |
| 10 |
"POT-Creation-Date: 2026-06-05 06:44+0200\n" |
| 11 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
| 12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
| 13 |
"Language-Team: LANGUAGE <[email protected]>\n" |
| 14 |
"Language: \n" |
| 15 |
"MIME-Version: 1.0\n" |
| 16 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 17 |
"Content-Transfer-Encoding: 8bit\n" |
| 18 |
|
| 19 |
#. type: TH |
| 20 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 21 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 22 |
#, no-wrap |
| 23 |
msgid "spu_run" |
| 24 |
msgstr "" |
| 25 |
|
| 26 |
#. type: TH |
| 27 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 28 |
#: opensuse-tumbleweed |
| 29 |
#, no-wrap |
| 30 |
msgid "2026-02-08" |
| 31 |
msgstr "" |
| 32 |
|
| 33 |
#. type: TH |
| 34 |
#: archlinux debian-unstable |
| 35 |
#, no-wrap |
| 36 |
msgid "Linux man-pages 6.18" |
| 37 |
msgstr "" |
| 38 |
|
| 39 |
#. type: SH |
| 40 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 41 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 42 |
#, no-wrap |
| 43 |
msgid "NAME" |
| 44 |
msgstr "" |
| 45 |
|
| 46 |
#. type: Plain text |
| 47 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 48 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 49 |
msgid "spu_run - execute an SPU context" |
| 50 |
msgstr "" |
| 51 |
|
| 52 |
#. type: SH |
| 53 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 54 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 55 |
#, no-wrap |
| 56 |
msgid "LIBRARY" |
| 57 |
msgstr "" |
| 58 |
|
| 59 |
#. type: Plain text |
| 60 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 61 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 62 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 63 |
msgstr "" |
| 64 |
|
| 65 |
#. type: SH |
| 66 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 67 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 68 |
#, no-wrap |
| 69 |
msgid "SYNOPSIS" |
| 70 |
msgstr "" |
| 71 |
|
| 72 |
#. type: Plain text |
| 73 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 74 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 75 |
#, no-wrap |
| 76 |
msgid "" |
| 77 |
"B<#include E<lt>sys/spu.hE<gt>> /* Definition of B<SPU_*> constants */\n" |
| 78 |
"B<#include E<lt>sys/syscall.hE<gt>> /* Definition of B<SYS_*> constants */\n" |
| 79 |
"B<#include E<lt>unistd.hE<gt>>\n" |
| 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 "B<int syscall(SYS_spu_run, int >I<fd>B<, uint32_t *>I<npc>B<, uint32_t *>I<event>B<);>\n" |
| 87 |
msgstr "" |
| 88 |
|
| 89 |
#. type: Plain text |
| 90 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 91 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 92 |
msgid "" |
| 93 |
"I<Note>: glibc provides no wrapper for B<spu_run>(), necessitating the use " |
| 94 |
"of B<syscall>(2)." |
| 95 |
msgstr "" |
| 96 |
|
| 97 |
#. type: SH |
| 98 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 99 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 100 |
#, no-wrap |
| 101 |
msgid "DESCRIPTION" |
| 102 |
msgstr "" |
| 103 |
|
| 104 |
#. type: Plain text |
| 105 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 106 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 107 |
msgid "" |
| 108 |
"The B<spu_run>() system call is used on PowerPC machines that implement the " |
| 109 |
"Cell Broadband Engine Architecture in order to access Synergistic Processor " |
| 110 |
"Units (SPUs). The I<fd> argument is a file descriptor returned by " |
| 111 |
"B<spu_create>(2) that refers to a specific SPU context. When the context " |
| 112 |
"gets scheduled to a physical SPU, it starts execution at the instruction " |
| 113 |
"pointer passed in I<npc>." |
| 114 |
msgstr "" |
| 115 |
|
| 116 |
#. type: Plain text |
| 117 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 118 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 119 |
msgid "" |
| 120 |
"Execution of SPU code happens synchronously, meaning that B<spu_run>() " |
| 121 |
"blocks while the SPU is still running. If there is a need to execute SPU " |
| 122 |
"code in parallel with other code on either the main CPU or other SPUs, a new " |
| 123 |
"thread of execution must be created first (e.g., using B<pthread_create>(3))." |
| 124 |
msgstr "" |
| 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 |
"When B<spu_run>() returns, the current value of the SPU program counter is " |
| 131 |
"written to I<npc>, so successive calls to B<spu_run>() can use the same " |
| 132 |
"I<npc> pointer." |
| 133 |
msgstr "" |
| 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 |
"The I<event> argument provides a buffer for an extended status code. If the " |
| 140 |
"SPU context was created with the B<SPU_CREATE_EVENTS_ENABLED> flag, then " |
| 141 |
"this buffer is populated by the Linux kernel before B<spu_run>() returns." |
| 142 |
msgstr "" |
| 143 |
|
| 144 |
#. type: Plain text |
| 145 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 146 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 147 |
msgid "The status code may be one (or more) of the following constants:" |
| 148 |
msgstr "" |
| 149 |
|
| 150 |
#. type: TP |
| 151 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 152 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 153 |
#, no-wrap |
| 154 |
msgid "B<SPE_EVENT_DMA_ALIGNMENT>" |
| 155 |
msgstr "" |
| 156 |
|
| 157 |
#. type: Plain text |
| 158 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 159 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 160 |
msgid "A DMA alignment error occurred." |
| 161 |
msgstr "" |
| 162 |
|
| 163 |
#. type: TP |
| 164 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 165 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 166 |
#, no-wrap |
| 167 |
msgid "B<SPE_EVENT_INVALID_DMA>" |
| 168 |
msgstr "" |
| 169 |
|
| 170 |
#. SPE_EVENT_SPE_DATA_SEGMENT is defined, but does not seem to be generated |
| 171 |
#. at any point (in Linux 5.9 sources). |
| 172 |
#. type: Plain text |
| 173 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 174 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 175 |
msgid "An invalid MFC DMA command was attempted." |
| 176 |
msgstr "" |
| 177 |
|
| 178 |
#. type: TP |
| 179 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 180 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 181 |
#, no-wrap |
| 182 |
msgid "B<SPE_EVENT_SPE_DATA_STORAGE>" |
| 183 |
msgstr "" |
| 184 |
|
| 185 |
#. type: Plain text |
| 186 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 187 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 188 |
msgid "A DMA storage error occurred." |
| 189 |
msgstr "" |
| 190 |
|
| 191 |
#. type: TP |
| 192 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 193 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 194 |
#, no-wrap |
| 195 |
msgid "B<SPE_EVENT_SPE_ERROR>" |
| 196 |
msgstr "" |
| 197 |
|
| 198 |
#. type: Plain text |
| 199 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 200 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 201 |
msgid "An illegal instruction was executed." |
| 202 |
msgstr "" |
| 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 "" |
| 208 |
"NULL is a valid value for the I<event> argument. In this case, the events " |
| 209 |
"will not be reported to the calling process." |
| 210 |
msgstr "" |
| 211 |
|
| 212 |
#. type: SH |
| 213 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 214 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 215 |
#, no-wrap |
| 216 |
msgid "RETURN VALUE" |
| 217 |
msgstr "" |
| 218 |
|
| 219 |
#. type: Plain text |
| 220 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 221 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 222 |
msgid "" |
| 223 |
"On success, B<spu_run>() returns the value of the I<spu_status> register. " |
| 224 |
"On failure, it returns -1 and sets I<errno> is set to indicate the error." |
| 225 |
msgstr "" |
| 226 |
|
| 227 |
#. type: Plain text |
| 228 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 229 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 230 |
msgid "" |
| 231 |
"The I<spu_status> register value is a bit mask of status codes and " |
| 232 |
"optionally a 14-bit code returned from the B<stop-and-signal> instruction on " |
| 233 |
"the SPU. The bit masks for the status codes are:" |
| 234 |
msgstr "" |
| 235 |
|
| 236 |
#. type: TP |
| 237 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 238 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 239 |
#, no-wrap |
| 240 |
msgid "B<0x02>" |
| 241 |
msgstr "" |
| 242 |
|
| 243 |
#. type: Plain text |
| 244 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 245 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 246 |
msgid "SPU was stopped by a B<stop-and-signal> instruction." |
| 247 |
msgstr "" |
| 248 |
|
| 249 |
#. type: TP |
| 250 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 251 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 252 |
#, no-wrap |
| 253 |
msgid "B<0x04>" |
| 254 |
msgstr "" |
| 255 |
|
| 256 |
#. type: Plain text |
| 257 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 258 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 259 |
msgid "SPU was stopped by a B<halt> instruction." |
| 260 |
msgstr "" |
| 261 |
|
| 262 |
#. type: TP |
| 263 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 264 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 265 |
#, no-wrap |
| 266 |
msgid "B<0x08>" |
| 267 |
msgstr "" |
| 268 |
|
| 269 |
#. type: Plain text |
| 270 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 271 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 272 |
msgid "SPU is waiting for a channel." |
| 273 |
msgstr "" |
| 274 |
|
| 275 |
#. type: TP |
| 276 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 277 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 278 |
#, no-wrap |
| 279 |
msgid "B<0x10>" |
| 280 |
msgstr "" |
| 281 |
|
| 282 |
#. type: Plain text |
| 283 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 284 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 285 |
msgid "SPU is in single-step mode." |
| 286 |
msgstr "" |
| 287 |
|
| 288 |
#. type: TP |
| 289 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 290 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 291 |
#, no-wrap |
| 292 |
msgid "B<0x20>" |
| 293 |
msgstr "" |
| 294 |
|
| 295 |
#. type: Plain text |
| 296 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 297 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 298 |
msgid "SPU has tried to execute an invalid instruction." |
| 299 |
msgstr "" |
| 300 |
|
| 301 |
#. type: TP |
| 302 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 303 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 304 |
#, no-wrap |
| 305 |
msgid "B<0x40>" |
| 306 |
msgstr "" |
| 307 |
|
| 308 |
#. type: Plain text |
| 309 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 310 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 311 |
msgid "SPU has tried to access an invalid channel." |
| 312 |
msgstr "" |
| 313 |
|
| 314 |
#. type: TP |
| 315 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 316 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 317 |
#, no-wrap |
| 318 |
msgid "B<0x3fff0000>" |
| 319 |
msgstr "" |
| 320 |
|
| 321 |
#. type: Plain text |
| 322 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 323 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 324 |
msgid "" |
| 325 |
"The bits masked with this value contain the code returned from a B<stop-and-" |
| 326 |
"signal> instruction. These bits are valid only if the 0x02 bit is set." |
| 327 |
msgstr "" |
| 328 |
|
| 329 |
#. type: Plain text |
| 330 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 331 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 332 |
msgid "" |
| 333 |
"If B<spu_run>() has not returned an error, one or more bits among the lower " |
| 334 |
"eight ones are always set." |
| 335 |
msgstr "" |
| 336 |
|
| 337 |
#. type: SH |
| 338 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 339 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 340 |
#, no-wrap |
| 341 |
msgid "ERRORS" |
| 342 |
msgstr "" |
| 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<EBADF>" |
| 349 |
msgstr "" |
| 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 "I<fd> is not a valid file descriptor." |
| 355 |
msgstr "" |
| 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<EFAULT>" |
| 362 |
msgstr "" |
| 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 |
"I<npc> is not a valid pointer, or I<event> is non-NULL and an invalid " |
| 369 |
"pointer." |
| 370 |
msgstr "" |
| 371 |
|
| 372 |
#. type: TP |
| 373 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 374 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 375 |
#, no-wrap |
| 376 |
msgid "B<EINTR>" |
| 377 |
msgstr "" |
| 378 |
|
| 379 |
#. type: Plain text |
| 380 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 381 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 382 |
msgid "" |
| 383 |
"A signal occurred while B<spu_run>() was in progress; see B<signal>(7). " |
| 384 |
"The I<npc> value has been updated to the new program counter value if " |
| 385 |
"necessary." |
| 386 |
msgstr "" |
| 387 |
|
| 388 |
#. type: TP |
| 389 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 390 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 391 |
#, no-wrap |
| 392 |
msgid "B<EINVAL>" |
| 393 |
msgstr "" |
| 394 |
|
| 395 |
#. type: Plain text |
| 396 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 397 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 398 |
msgid "I<fd> is not a valid file descriptor returned from B<spu_create>(2)." |
| 399 |
msgstr "" |
| 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<ENOMEM>" |
| 406 |
msgstr "" |
| 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 |
"There was not enough memory available to handle a page fault resulting from " |
| 413 |
"a Memory Flow Controller (MFC) direct memory access." |
| 414 |
msgstr "" |
| 415 |
|
| 416 |
#. type: TP |
| 417 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 418 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 419 |
#, no-wrap |
| 420 |
msgid "B<ENOSYS>" |
| 421 |
msgstr "" |
| 422 |
|
| 423 |
#. type: Plain text |
| 424 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 425 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 426 |
msgid "" |
| 427 |
"The functionality is not provided by the current system, because either the " |
| 428 |
"hardware does not provide SPUs or the spufs module is not loaded." |
| 429 |
msgstr "" |
| 430 |
|
| 431 |
#. type: SH |
| 432 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 433 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 434 |
#, no-wrap |
| 435 |
msgid "STANDARDS" |
| 436 |
msgstr "" |
| 437 |
|
| 438 |
#. type: Plain text |
| 439 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 440 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 441 |
msgid "Linux on PowerPC." |
| 442 |
msgstr "" |
| 443 |
|
| 444 |
#. type: SH |
| 445 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 446 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 447 |
#, no-wrap |
| 448 |
msgid "HISTORY" |
| 449 |
msgstr "" |
| 450 |
|
| 451 |
#. type: Plain text |
| 452 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 453 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 454 |
msgid "Linux 2.6.16." |
| 455 |
msgstr "" |
| 456 |
|
| 457 |
#. type: SH |
| 458 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 459 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 460 |
#, no-wrap |
| 461 |
msgid "NOTES" |
| 462 |
msgstr "" |
| 463 |
|
| 464 |
#. type: Plain text |
| 465 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 466 |
#: opensuse-tumbleweed |
| 467 |
msgid "" |
| 468 |
"B<spu_run>() is meant to be used from libraries that implement a more " |
| 469 |
"abstract interface to SPUs, not to be used from regular applications. See " |
| 470 |
"E<.UR http:\\://www.bsc.es\\:/projects\\:/deepcomputing\\:/linuxoncell/> " |
| 471 |
"E<.UE> for the recommended libraries." |
| 472 |
msgstr "" |
| 473 |
|
| 474 |
#. type: SH |
| 475 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 476 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 477 |
#, no-wrap |
| 478 |
msgid "EXAMPLES" |
| 479 |
msgstr "" |
| 480 |
|
| 481 |
#. type: Plain text |
| 482 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 483 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 484 |
msgid "" |
| 485 |
"The following is an example of running a simple, one-instruction SPU program " |
| 486 |
"with the B<spu_run>() system call." |
| 487 |
msgstr "" |
| 488 |
|
| 489 |
#. type: Plain text |
| 490 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 491 |
#: opensuse-tumbleweed |
| 492 |
#, no-wrap |
| 493 |
msgid "" |
| 494 |
"#include E<lt>err.hE<gt>\n" |
| 495 |
"#include E<lt>fcntl.hE<gt>\n" |
| 496 |
"#include E<lt>stdint.hE<gt>\n" |
| 497 |
"#include E<lt>stdio.hE<gt>\n" |
| 498 |
"#include E<lt>stdlib.hE<gt>\n" |
| 499 |
"#include E<lt>sys/types.hE<gt>\n" |
| 500 |
"#include E<lt>unistd.hE<gt>\n" |
| 501 |
"\\&\n" |
| 502 |
"int main(void)\n" |
| 503 |
"{\n" |
| 504 |
" int context, fd, spu_status;\n" |
| 505 |
" uint32_t instruction, npc;\n" |
| 506 |
"\\&\n" |
| 507 |
" context = syscall(SYS_spu_create, \"/spu/example-context\", 0, 0755);\n" |
| 508 |
" if (context == -1)\n" |
| 509 |
" err(EXIT_FAILURE, \"spu_create\");\n" |
| 510 |
"\\&\n" |
| 511 |
" /*\n" |
| 512 |
" * Write a \\[aq]stop 0x1234\\[aq] instruction to the SPU\\[aq]s\n" |
| 513 |
" * local store memory.\n" |
| 514 |
" */\n" |
| 515 |
" instruction = 0x00001234;\n" |
| 516 |
"\\&\n" |
| 517 |
" fd = open(\"/spu/example-context/mem\", O_RDWR);\n" |
| 518 |
" if (fd == -1)\n" |
| 519 |
" err(EXIT_FAILURE, \"open\");\n" |
| 520 |
" write(fd, &instruction, sizeof(instruction));\n" |
| 521 |
"\\&\n" |
| 522 |
" /*\n" |
| 523 |
" * set npc to the starting instruction address of the\n" |
| 524 |
" * SPU program. Since we wrote the instruction at the\n" |
| 525 |
" * start of the mem file, the entry point will be 0x0.\n" |
| 526 |
" */\n" |
| 527 |
" npc = 0;\n" |
| 528 |
"\\&\n" |
| 529 |
" spu_status = syscall(SYS_spu_run, context, &npc, NULL);\n" |
| 530 |
" if (spu_status == -1)\n" |
| 531 |
" err(EXIT_FAILURE, \"open\");\n" |
| 532 |
"\\&\n" |
| 533 |
" /*\n" |
| 534 |
" * We should see a status code of 0x12340002:\n" |
| 535 |
" * 0x00000002 (spu was stopped due to stop-and-signal)\n" |
| 536 |
" * | 0x12340000 (the stop-and-signal code)\n" |
| 537 |
" */\n" |
| 538 |
" printf(\"SPU Status: %#08x\\[rs]n\", spu_status);\n" |
| 539 |
"\\&\n" |
| 540 |
" exit(EXIT_SUCCESS);\n" |
| 541 |
"}\n" |
| 542 |
msgstr "" |
| 543 |
|
| 544 |
#. SRC END |
| 545 |
#. .SH AUTHORS |
| 546 |
#. Arnd Bergmann <[email protected]>, Jeremy Kerr <[email protected]> |
| 547 |
#. type: SH |
| 548 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 549 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 550 |
#, no-wrap |
| 551 |
msgid "SEE ALSO" |
| 552 |
msgstr "" |
| 553 |
|
| 554 |
#. type: Plain text |
| 555 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 556 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 557 |
msgid "B<close>(2), B<spu_create>(2), B<capabilities>(7), B<spufs>(7)" |
| 558 |
msgstr "" |
| 559 |
|
| 560 |
#. type: TH |
| 561 |
#: debian-trixie |
| 562 |
#, no-wrap |
| 563 |
msgid "2024-06-15" |
| 564 |
msgstr "" |
| 565 |
|
| 566 |
#. type: TH |
| 567 |
#: debian-trixie |
| 568 |
#, no-wrap |
| 569 |
msgid "Linux man-pages 6.9.1" |
| 570 |
msgstr "" |
| 571 |
|
| 572 |
#. type: Plain text |
| 573 |
#: debian-trixie |
| 574 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 575 |
msgstr "" |
| 576 |
|
| 577 |
#. type: Plain text |
| 578 |
#: debian-trixie fedora-44 fedora-rawhide |
| 579 |
msgid "" |
| 580 |
"B<spu_run>() is meant to be used from libraries that implement a more " |
| 581 |
"abstract interface to SPUs, not to be used from regular applications. See " |
| 582 |
"E<.UR http://www.bsc.es\\:/projects\\:/deepcomputing\\:/linuxoncell/> E<.UE> " |
| 583 |
"for the recommended libraries." |
| 584 |
msgstr "" |
| 585 |
|
| 586 |
#. type: Plain text |
| 587 |
#: debian-trixie fedora-44 fedora-rawhide |
| 588 |
#, no-wrap |
| 589 |
msgid "" |
| 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 |
" * Write a \\[aq]stop 0x1234\\[aq] instruction to the SPU\\[aq]s\n" |
| 609 |
" * local store memory.\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 |
" * set npc to the starting instruction address of the\n" |
| 620 |
" * SPU program. Since we wrote the instruction at the\n" |
| 621 |
" * start of the mem file, the entry point will be 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 |
" * We should see a status code of 0x12340002:\n" |
| 631 |
" * 0x00000002 (spu was stopped due to stop-and-signal)\n" |
| 632 |
" * | 0x12340000 (the stop-and-signal code)\n" |
| 633 |
" */\n" |
| 634 |
" printf(\"SPU Status: %#08x\\[rs]n\", spu_status);\n" |
| 635 |
"\\&\n" |
| 636 |
" exit(EXIT_SUCCESS);\n" |
| 637 |
"}\n" |
| 638 |
msgstr "" |
| 639 |
|
| 640 |
#. type: TH |
| 641 |
#: fedora-44 fedora-rawhide |
| 642 |
#, no-wrap |
| 643 |
msgid "2024-07-23" |
| 644 |
msgstr "" |
| 645 |
|
| 646 |
#. type: TH |
| 647 |
#: fedora-44 fedora-rawhide |
| 648 |
#, no-wrap |
| 649 |
msgid "Linux man-pages 6.13" |
| 650 |
msgstr "" |
| 651 |
|
| 652 |
#. type: TH |
| 653 |
#: mageia-cauldron |
| 654 |
#, no-wrap |
| 655 |
msgid "Linux man-pages 6.17" |
| 656 |
msgstr "" |
| 657 |
|
| 658 |
#. type: TH |
| 659 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 660 |
#, no-wrap |
| 661 |
msgid "Linux man-pages (unreleased)" |
| 662 |
msgstr "" |