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 INT86 # 20 172 DEVIO # 21 173 SDEVIO # 22 174 VDEVIO # 23 175 ABORT # 27 176 IOPENABLE # 28 177 READBIOS # 35 178 ; 179 vm BASIC; # Only basic VM calls allowed 180 io ALL; # ALL I/O ranges allowed 181 irq NONE; # No IRQ allowed 182 sigmgr rs; # Signal manager is RS 183 scheduler KERNEL; # Scheduler is KERNEL (prevents console stalls) 184 priority 1; # priority queue 1 185 quantum 50; # default driver quantum 186}; 187 188service memory 189{ 190 uid 0; 191 ipc ALL_SYS; # All system ipc targets allowed 192 system # Extra kernel calls allowed: 193 UMAP # 14 194 VIRCOPY # 15 195 PHYSCOPY # 16 196 IRQCTL # 19 197 INT86 # 20 198 DEVIO # 21 199 SDEVIO # 22 200 VDEVIO # 23 201 IOPENABLE # 28 202 ; 203 vm BASIC; # Only basic VM calls allowed 204 io NONE; # No I/O range allowed 205 irq NONE; # No IRQ allowed 206 sigmgr rs; # Signal manager is RS 207 scheduler KERNEL; # Scheduler is KERNEL 208 priority 3; # priority queue 3 209 quantum 50; # default driver quantum 210}; 211 212service log 213{ 214 ipc SYSTEM vfs rs vm; 215 priority 2; 216}; 217 218service mib 219{ 220 system 221 VIRCOPY # 15 222 ; 223 ipc ALL; 224 uid 0; 225}; 226 227service init 228{ 229 uid 0; 230 ipc # ipc targets allowed: 231 pm vfs rs vm 232 ; 233 system NONE; # No kernel calls allowed 234 vm BASIC; # Only basic VM calls allowed 235 io NONE; # No I/O range allowed 236 irq NONE; # No IRQs allowed 237 sigmgr pm; # Signal manager is PM 238}; 239 240# 241# Dynamically started system services 242# 243 244service floppy 245{ 246 irq 6; 247 io 3f0:8 248 0:10 # DMA controller 249 81 # Also DMA 250 ; 251 system 252 UMAP # 14 253 IRQCTL # 19 254 DEVIO # 21 255 VDEVIO # 23 256 ; 257}; 258 259service readclock.drv 260{ 261 ipc ALL; 262 io 70:2; 263 system 264 PRIVCTL # 4 265 UMAP # 14 266 VIRCOPY # 15 267 DEVIO # 21 268 READBIOS # 35 269 ; 270 uid 0; 271}; 272 273service is 274{ 275 vm 276 INFO 277 ; 278 uid 0; 279}; 280 281service acpi 282{ 283 io ALL; 284 system 285 PRIVCTL # 4 286 DEVIO # 21 287 ; 288 uid 0; 289}; 290 291service pci 292{ 293 io cf8:8 # PCI bus controller 294 4d0:2 # PIIX 295 ; 296 system 297 PRIVCTL # 4 298 DEVIO # 21 299 ; 300 uid 0; 301}; 302 303service ahci 304{ 305 system 306 UMAP # 14 307 VUMAP # 18 308 IRQCTL # 19 309 ; 310 pci class 311 1/6/1 # Mass storage / SATA / AHCI 312 ; 313}; 314 315service virtio_blk 316{ 317 system 318 UMAP 319 VUMAP 320 IRQCTL 321 DEVIO 322 ; 323 324 pci device 1af4:1001; 325}; 326 327service at_wini 328{ 329 io 1f0:8 # Controller 0 330 3f6 # Also controller 0 331 170:8 # Controller 1 332 376 # Also controller 1 333 ; 334 irq 335 14 # Controller 0 336 15 # Controller 1 337 ; 338 system 339 UMAP # 14 340 IRQCTL # 19 341 DEVIO # 21 342 SDEVIO # 22 343 VDEVIO # 23 344 ; 345 pci class # Match these PCI classes: 346 1/1 # Mass storage / IDE 347 ; 348 pci device # In addition, match these devices: 349 1106:3149 # VIA VT6420 RAID (1/4) 350 1095:3512/1095:6512 # Silicon Image SATA RAID (1/4) 351 1095:3114/1095:3114 # Silicon Image SATA RAID (1/80) 352 ; 353}; 354 355service procfs 356{ 357 system 358 VIRCOPY # 15 359 ; 360 vm 361 INFO 362 SETCACHEPAGE 363 CLEARCACHE 364 ; 365 uid 0; 366}; 367 368service isofs 369{ 370 system 371 UMAP # 14 372 ; 373 vm MAPCACHEPAGE 374 SETCACHEPAGE 375 CLEARCACHE 376 ; 377 uid 0; 378}; 379 380service hgfs 381{ 382 ipc 383 SYSTEM pm vfs rs vm 384 ; 385 vm 386 SETCACHEPAGE 387 CLEARCACHE 388 ; 389}; 390 391service filter 392{ 393 ipc 394 SYSTEM pm vfs rs ds vm 395 at_wini 396 ; 397 control 398 at_wini 399 ; 400}; 401 402service input 403{ 404 ipc SYSTEM pm vfs rs ds tty vm; 405 priority 1; 406}; 407 408 409service pckbd 410{ 411 system 412 IRQCTL # 19 413 DEVIO # 21 414 ; 415 io 60:8; # Keyboard, keyboard command/status 416 irq 417 1 # Keyboard 418 12 # Auxiliary input (mouse) 419 ; 420 ipc SYSTEM pm rs ds vm input; 421 priority 1; 422}; 423 424service devman 425{ 426 uid 0; 427 vm 428 SETCACHEPAGE 429 CLEARCACHE 430 ; 431}; 432 433service mmc 434{ 435 system 436 PRIVCTL # 4 437 IRQCTL # 19 438 ; 439 # Interrupts allowed 440 irq 441 64 442 83 443 ; # IRQs allowed 444 priority 4; # priority queue 4 445}; 446 447service fb 448{ 449 system 450 UMAP # 14 451 DEVIO # 21 452 PRIVCTL # 4 453 ; 454 ipc 455 SYSTEM pm rs ds vm vfs cat24c256 tda19988 456 ; 457}; 458 459service cat24c256 460{ 461 ipc SYSTEM RS DS i2c; 462}; 463 464service tda19988 465{ 466 ipc SYSTEM RS DS i2c; 467}; 468 469service tps65217 470{ 471 uid 0; # needed for doing reboot() 472 system IRQCTL PRIVCTL; 473 irq 7; # NNMI pin on BeagleBone / BeagleBone Black 474 ipc SYSTEM RS DS PM i2c; 475}; 476 477service tps65950 478{ 479 ipc SYSTEM RS DS i2c readclock.drv; 480}; 481 482service fbd 483{ 484 ipc 485 SYSTEM vfs rs ds vm 486 ahci 487 at_wini 488 ; 489}; 490 491service vnd 492{ 493 ipc 494 SYSTEM vfs rs vm 495 ; 496 uid 0; # only for copyfd(2) 497}; 498 499service uds 500{ 501 ipc 502 SYSTEM vfs rs vm 503 ; 504 uid 0; # only for checkperms(2) and copyfd(2) 505}; 506 507service pty 508{ 509 system 510 KILL # 06 511 ; 512 ipc 513 SYSTEM vfs rs vm 514 ; 515}; 516 517service ptyfs 518{ 519 ipc 520 SYSTEM pm vfs rs pty ds vm 521 ; 522}; 523 524service edfictl 525{ 526 ipc ALL; 527}; 528 529service emmc 530{ 531 system 532 PRIVCTL 533 IRQCTL 534 PADCONF 535 ; 536 irq 537 28 # MMCSD1INT 538 ; 539}; 540