1# 2# Boot system services in the boot image 3# 4 5service rs 6{ 7 uid 0; 8 ipc ALL; # ALL ipc targets allowed 9 system ALL; # ALL kernel calls allowed 10 vm # Extra VM calls allowed: 11 RS_SET_PRIV # 37 12 RS_UPDATE # 41 13 RS_MEMCTL # 42 14 PROCCTL # 45 15 RS_PREPARE # 48 16 ; 17 io NONE; # No I/O range allowed 18 irq NONE; # No IRQ allowed 19 sigmgr SELF; # Signal manager is SELF 20 scheduler KERNEL; # Scheduler is KERNEL 21 priority 4; # priority queue 4 22 quantum 500; # default server quantum 23}; 24 25service ds 26{ 27 uid 0; 28 ipc ALL_SYS; # All system ipc targets allowed 29 system ALL; # ALL kernel calls allowed 30 vm BASIC; # Only basic VM calls allowed 31 io NONE; # No I/O range allowed 32 irq NONE; # No IRQ allowed 33 sigmgr rs; # Signal manager is RS 34 scheduler KERNEL; # Scheduler is KERNEL 35 priority 4; # priority queue 4 36 quantum 500; # default server quantum 37}; 38 39service vm 40{ 41 uid 0; 42 ipc ALL; # ALL ipc targets allowed 43 system ALL; # ALL kernel calls allowed 44 vm NONE; # No VM calls allowed 45 io NONE; # No I/O range allowed 46 irq NONE; # No IRQ allowed 47 sigmgr rs; # Signal manager is RS 48 scheduler KERNEL; # Scheduler is KERNEL 49 priority 2; # priority queue 2 50 quantum 500; # default server quantum 51}; 52 53service pm 54{ 55 uid 0; 56 ipc ALL; # ALL ipc targets allowed 57 system ALL; # ALL kernel calls allowed 58 vm # Extra VM calls allowed: 59 EXIT # 00 60 FORK # 01 61 EXEC_NEWMEM # 03 62 WILLEXIT # 05 63 GETRUSAGE # 47 64 ; 65 io NONE; # No I/O range allowed 66 irq NONE; # No IRQ allowed 67 sigmgr rs; # Signal manager is RS 68 scheduler KERNEL; # Scheduler is KERNEL 69 priority 4; # priority queue 4 70 quantum 500; # default server quantum 71}; 72 73service sched 74{ 75 uid 0; 76 ipc ALL_SYS; # All system ipc targets allowed 77 system ALL; # ALL kernel calls allowed 78 vm BASIC; # Only basic VM calls allowed 79 io NONE; # No I/O range allowed 80 irq NONE; # No IRQ allowed 81 sigmgr rs; # Signal manager is RS 82 scheduler KERNEL; # Scheduler is KERNEL 83 priority 4; # priority queue 4 84 quantum 500; # default server quantum 85}; 86 87service vfs 88{ 89 uid 0; 90 ipc ALL; # ALL ipc targets allowed 91 system # Extra kernel calls allowed: 92 KILL # 06 93 UMAP # 14 94 VIRCOPY # 15 95 MEMSET 96 ; 97 vm PROCCTL 98 VFS_MMAP 99 VFS_REPLY 100 ; 101 io NONE; # No I/O range allowed 102 irq NONE; # No IRQ allowed 103 sigmgr rs; # Signal manager is RS 104 scheduler KERNEL; # Scheduler is KERNEL 105 priority 5; # priority queue 5 106 quantum 500; # default server quantum 107}; 108 109service mfs 110{ 111 ipc ALL_SYS; # All system ipc targets allowed 112 system BASIC; # Only basic kernel calls allowed 113 vm MAPCACHEPAGE SETCACHEPAGE FORGETCACHEPAGE CLEARCACHE; 114 io NONE; # No I/O range allowed 115 irq NONE; # No IRQ allowed 116 sigmgr rs; # Signal manager is RS 117 scheduler sched; # Scheduler is sched 118 priority 5; # priority queue 5 119 quantum 500; # default server quantum 120}; 121 122service ntfs-3g 123{ 124 uid SELF; # Use uid of user starting service 125 ipc ALL_SYS; # All system ipc targets allowed 126 system BASIC; # Only basic kernel calls allowed 127 vm BASIC; # Only basic VM calls allowed 128 io NONE; # No I/O range allowed 129 irq NONE; # No IRQ allowed 130 sigmgr rs; # Signal manager is RS 131 scheduler sched; # Scheduler is sched 132 priority 5; # priority queue 5 133 quantum 500; # default server quantum 134}; 135 136service ext2 137{ 138 ipc ALL_SYS; # All system ipc targets allowed 139 system BASIC; # Only basic kernel calls allowed 140 vm MAPCACHEPAGE SETCACHEPAGE FORGETCACHEPAGE CLEARCACHE; 141 io NONE; # No I/O range allowed 142 irq NONE; # No IRQ allowed 143 sigmgr rs; # Signal manager is RS 144 scheduler sched; # Scheduler is sched 145 priority 5; # priority queue 5 146 quantum 500; # default server quantum 147}; 148 149service pfs 150{ 151 ipc ALL_SYS; # All system ipc targets allowed 152 system BASIC; # Only basic kernel calls allowed 153 io NONE; # No I/O range allowed 154 irq NONE; # No IRQ allowed 155 sigmgr rs; # Signal manager is RS 156 scheduler sched; # Scheduler is sched 157 priority 5; # priority queue 5 158 quantum 500; # default server quantum 159}; 160 161service tty 162{ 163 uid 0; 164 ipc ALL_SYS; # All system ipc targets allowed 165 system # Extra kernel calls allowed: 166 KILL # 06 167 UMAP # 14 168 VIRCOPY # 15 169 PHYSCOPY # 16 170 IRQCTL # 19 171 DEVIO # 21 172 SDEVIO # 22 173 VDEVIO # 23 174 ABORT # 27 175 IOPENABLE # 28 176 READBIOS # 35 177 ; 178 vm BASIC; # Only basic VM calls allowed 179 io ALL; # ALL I/O ranges allowed 180 irq NONE; # No IRQ allowed 181 sigmgr rs; # Signal manager is RS 182 scheduler KERNEL; # Scheduler is KERNEL (prevents console stalls) 183 priority 1; # priority queue 1 184 quantum 50; # default driver quantum 185}; 186 187service memory 188{ 189 uid 0; 190 ipc ALL_SYS; # All system ipc targets allowed 191 system # Extra kernel calls allowed: 192 UMAP # 14 193 VIRCOPY # 15 194 PHYSCOPY # 16 195 IRQCTL # 19 196 DEVIO # 21 197 SDEVIO # 22 198 VDEVIO # 23 199 IOPENABLE # 28 200 ; 201 vm BASIC; # Only basic VM calls allowed 202 io NONE; # No I/O range allowed 203 irq NONE; # No IRQ allowed 204 sigmgr rs; # Signal manager is RS 205 scheduler KERNEL; # Scheduler is KERNEL 206 priority 3; # priority queue 3 207 quantum 50; # default driver quantum 208}; 209 210service log 211{ 212 ipc SYSTEM vfs rs vm; 213 priority 2; 214}; 215 216service mib 217{ 218 system 219 VIRCOPY # 15 220 ; 221 ipc ALL; 222 uid 0; 223}; 224 225service init 226{ 227 uid 0; 228 ipc # ipc targets allowed: 229 pm vfs rs vm 230 ; 231 system NONE; # No kernel calls allowed 232 vm BASIC; # Only basic VM calls allowed 233 io NONE; # No I/O range allowed 234 irq NONE; # No IRQs allowed 235 sigmgr pm; # Signal manager is PM 236}; 237 238# 239# Dynamically started system services 240# 241 242service floppy 243{ 244 irq 6; 245 io 3f0:8 246 0:10 # DMA controller 247 81 # Also DMA 248 ; 249 system 250 UMAP # 14 251 IRQCTL # 19 252 DEVIO # 21 253 VDEVIO # 23 254 ; 255}; 256 257service readclock.drv 258{ 259 ipc ALL; 260 io 70:2; 261 system 262 PRIVCTL # 4 263 UMAP # 14 264 VIRCOPY # 15 265 DEVIO # 21 266 READBIOS # 35 267 ; 268 uid 0; 269}; 270 271service is 272{ 273 vm 274 INFO 275 ; 276 uid 0; 277}; 278 279service acpi 280{ 281 io ALL; 282 system 283 PRIVCTL # 4 284 DEVIO # 21 285 ; 286 uid 0; 287}; 288 289service pci 290{ 291 io cf8:8 # PCI bus controller 292 4d0:2 # PIIX 293 ; 294 system 295 PRIVCTL # 4 296 DEVIO # 21 297 ; 298 uid 0; 299}; 300 301service ahci 302{ 303 system 304 UMAP # 14 305 VUMAP # 18 306 IRQCTL # 19 307 ; 308 pci class 309 1/6/1 # Mass storage / SATA / AHCI 310 ; 311}; 312 313service virtio_blk 314{ 315 system 316 UMAP 317 VUMAP 318 IRQCTL 319 DEVIO 320 ; 321 322 pci device 1af4:1001; 323}; 324 325service at_wini 326{ 327 io 1f0:8 # Controller 0 328 3f6 # Also controller 0 329 170:8 # Controller 1 330 376 # Also controller 1 331 ; 332 irq 333 14 # Controller 0 334 15 # Controller 1 335 ; 336 system 337 UMAP # 14 338 IRQCTL # 19 339 DEVIO # 21 340 SDEVIO # 22 341 VDEVIO # 23 342 ; 343 pci class # Match these PCI classes: 344 1/1 # Mass storage / IDE 345 ; 346 pci device # In addition, match these devices: 347 1106:3149 # VIA VT6420 RAID (1/4) 348 1095:3512/1095:6512 # Silicon Image SATA RAID (1/4) 349 1095:3114/1095:3114 # Silicon Image SATA RAID (1/80) 350 ; 351}; 352 353service procfs 354{ 355 system 356 VIRCOPY # 15 357 ; 358 vm 359 INFO 360 SETCACHEPAGE 361 CLEARCACHE 362 ; 363 uid 0; 364}; 365 366service isofs 367{ 368 system 369 UMAP # 14 370 ; 371 vm MAPCACHEPAGE 372 SETCACHEPAGE 373 CLEARCACHE 374 ; 375 uid 0; 376}; 377 378service hgfs 379{ 380 ipc 381 SYSTEM pm vfs rs vm 382 ; 383 vm 384 SETCACHEPAGE 385 CLEARCACHE 386 ; 387}; 388 389service filter 390{ 391 ipc 392 SYSTEM pm vfs rs ds vm 393 at_wini 394 ; 395 control 396 at_wini 397 ; 398}; 399 400service input 401{ 402 ipc SYSTEM pm vfs rs ds tty vm; 403 priority 1; 404}; 405 406 407service pckbd 408{ 409 system 410 IRQCTL # 19 411 DEVIO # 21 412 ; 413 io 60:8; # Keyboard, keyboard command/status 414 irq 415 1 # Keyboard 416 12 # Auxiliary input (mouse) 417 ; 418 ipc SYSTEM pm rs ds vm input; 419 priority 1; 420}; 421 422service devman 423{ 424 uid 0; 425 vm 426 SETCACHEPAGE 427 CLEARCACHE 428 ; 429}; 430 431service mmc 432{ 433 system 434 PRIVCTL # 4 435 IRQCTL # 19 436 ; 437 # Interrupts allowed 438 irq 439 64 440 83 441 ; # IRQs allowed 442 priority 4; # priority queue 4 443}; 444 445service fb 446{ 447 system 448 UMAP # 14 449 DEVIO # 21 450 PRIVCTL # 4 451 ; 452 ipc 453 SYSTEM pm rs ds vm vfs cat24c256 tda19988 454 ; 455}; 456 457service cat24c256 458{ 459 ipc SYSTEM RS DS i2c; 460}; 461 462service tda19988 463{ 464 ipc SYSTEM RS DS i2c; 465}; 466 467service tps65217 468{ 469 uid 0; # needed for doing reboot() 470 system IRQCTL PRIVCTL; 471 irq 7; # NNMI pin on BeagleBone / BeagleBone Black 472 ipc SYSTEM RS DS PM i2c; 473}; 474 475service tps65950 476{ 477 ipc SYSTEM RS DS i2c readclock.drv; 478}; 479 480service fbd 481{ 482 ipc 483 SYSTEM vfs rs ds vm 484 ahci 485 at_wini 486 ; 487}; 488 489service vnd 490{ 491 ipc 492 SYSTEM vfs rs vm 493 ; 494 uid 0; # only for copyfd(2) 495}; 496 497service pty 498{ 499 system 500 KILL # 06 501 ; 502 ipc 503 SYSTEM vfs rs vm 504 ; 505}; 506 507service ptyfs 508{ 509 ipc 510 SYSTEM pm vfs rs pty ds vm 511 ; 512}; 513 514service edfictl 515{ 516 ipc ALL; 517}; 518 519service emmc 520{ 521 system 522 PRIVCTL 523 IRQCTL 524 PADCONF 525 ; 526 irq 527 28 # MMCSD1INT 528 ; 529}; 530