Commit graph

340 commits

Author SHA1 Message Date
cinap_lenrek cf974eb852 fix kernel: pio()/mfreeseg() race 2011-08-24 14:43:15 +02:00
cinap_lenrek 61a0117ea5 swap: do less print spamming, sched after killbig so killed proc can get released 2011-08-24 07:58:14 +02:00
cinap_lenrek 5182bb7ecf dont hang if swap is full 2011-08-24 06:52:24 +02:00
cinap_lenrek 1a82d67770 vgavesa: fix race 2011-08-23 06:11:16 +02:00
cinap_lenrek b25e48b949 vgavesa: cleanup 2011-08-23 06:03:54 +02:00
cinap_lenrek 54db805a16 apm: cleanup 2011-08-23 05:34:49 +02:00
cinap_lenrek e54222fb0d implement vesa screenblanking (issue #36) 2011-08-23 05:33:51 +02:00
cinap_lenrek ce1915c53e bootrc: simplify by just converting all variables from #ec 2011-08-23 00:24:24 +02:00
cinap_lenrek e1488b2de7 bootrc: use rtc. temporarily. 2011-08-22 11:20:32 +02:00
aiju 8434f98cdd added interrupt proc ctl message 2011-08-20 12:30:06 +02:00
cinap_lenrek 79a044e38e usb: fix potential uninterruptable calls 2011-08-19 05:19:10 +02:00
cinap_lenrek c44b78f739 change definition of Chan.create to return a chan like open 2011-08-17 23:27:31 +02:00
cinap_lenrek 72304eb350 fix broken cross platform build 2011-08-17 23:25:22 +02:00
cinap_lenrek f682600440 serial console stuff 2011-08-16 10:15:36 +02:00
cinap_lenrek 828f63711b 9boot: list known filesystem images on usb stick as boot filesystems 2011-08-16 04:09:15 +02:00
cinap_lenrek 04fa57de3a usb storage device auto mount 2011-08-16 01:50:46 +02:00
cinap_lenrek cb9e638c00 bind devshr to /shr 2011-08-16 01:49:37 +02:00
cinap_lenrek b39d5fbbef devshr: security! 2011-08-15 18:27:30 +02:00
cinap_lenrek 945e2a7aa1 devshr/devsrv 2011-08-14 11:11:51 +02:00
cinap_lenrek 4ec0e921e5 eqlock(): use eqlock when interruption is possible 2011-08-11 04:25:51 +02:00
cinap_lenrek e9d441fccf eqlock(): use separate lock to protect eql, fix missing unlock 2011-08-11 23:02:48 +02:00
cinap_lenrek 4b506cd0ae qio: fix block leak introduced by eqlock change 2011-08-10 17:26:05 +02:00
cinap_lenrek 70e4b8d1f9 added eqlock(), a interruptable version of qlock. addresses issue #81 2011-08-10 16:21:17 +02:00
cinap_lenrek 676a876df6 usb: added buffer delay control 2011-08-01 19:02:50 +02:00
cinap_lenrek b43de8eb1f nusb: fix usage inconsitency, shr names 2011-08-01 02:36:02 +02:00
aiju 2ba1b4c476 changed dev/rmdev to attach/detach, fixed nusbrc 2011-07-30 16:28:45 +02:00
aiju 54ed5417a9 merge 2011-07-30 14:32:33 +02:00
aiju 6aed9711b4 devshr: changed #σc to contain directories
nusb: detaching
2011-07-30 14:30:27 +02:00
cinap_lenrek 3f08f1d849 nusb: make private namespace for usb drivers, add nusb/audio to mkfile 2011-07-30 14:15:55 +02:00
cinap_lenrek a2a95b615e nusb: fix race 2011-07-30 07:34:17 +02:00
cinap_lenrek f9846213d1 nusb: change usbevent format, put nusbrc in bootfs 2011-07-30 07:23:26 +02:00
aiju 27fd88af23 devshr: rename hook 2011-07-28 14:22:39 +02:00
aiju c08f86254e devshr: fixed crash 2011-07-27 10:40:21 +02:00
aiju d2a1d1fb37 devshr: fixed memory leaks / race condition 2011-07-25 10:10:11 +02:00
aiju e1260aa4d6 devshr: added unmounting 2011-07-24 14:51:49 +02:00
aiju 5a3b13e26e merge 2011-07-23 22:12:56 +02:00
aiju 8784d2d0ea added devshr 2011-07-24 22:12:01 +02:00
cinap_lenrek 744d6f8374 merge 2011-07-23 23:41:09 +02:00
cinap_lenrek cb02859888 sdide: limit max dma transfer size, make sure dma transfer is stoped in error case, set bytecount to 0 for dma 2011-07-23 23:40:35 +02:00
aiju a8f69d4a0d etherbcm: another try at the memleak 2011-07-22 11:25:44 +02:00
aiju 43f327485d added geode driver to kernel config 2011-07-21 11:58:17 +02:00
cinap_lenrek a7a56b9a48 devaudio: ignore non absolute volume items with range 0 2011-07-21 01:24:18 +02:00
cinap_lenrek 7b6c150f5d etherbcm: add pci id for NetXtreme BCM5751 Gigabit Ethernet 2011-07-21 01:11:48 +02:00
cinap_lenrek 5be936a192 pc/trap: cleanup exception handling 2011-07-20 07:48:33 +02:00
aiju 61a8b5c803 fixed memory leak in bcm driver 2011-07-19 18:56:41 +02:00
aiju 03d71535ec reading from/writing to non-existant MSRs via /dev/msr no longer crashes the system 2011-07-19 15:42:00 +02:00
cinap_lenrek b6eee91029 merge 2011-07-19 05:12:01 +02:00
cinap_lenrek 3b8c921bfa sdide: fix issue #69 2011-07-19 05:07:46 +02:00
aiju 11bf57fb2c add message on OOM kill, fix issue #70 2011-07-18 10:12:45 +02:00
cinap_lenrek 0950c50c4e merge 2011-07-18 01:47:35 +02:00
aiju c950dd75ea added bcm driver to cpu kernel 2011-07-18 22:40:55 +02:00
cinap_lenrek ab80f73f61 sdide: inquery times on qemu, make pktio timeout 2011-07-18 01:47:02 +02:00
cinap_lenrek 12619cb9a5 kbdfs: mouse button 2 emulation by changing mouse buttonmap when shift is pressed 2011-07-17 18:15:29 +02:00
cinap_lenrek 7dfdb696a6 ether82563: fix block refcounting incompatibility with 9atom 2011-07-13 19:44:54 +02:00
cinap_lenrek 0708d34022 import ether82563 driver from 9atom 2011-07-13 05:26:39 +02:00
cinap_lenrek 2c32e8e9f9 audiohda: remove unhandled interrupt prints as it spams the console if interrupts are shared 2011-07-13 03:09:52 +02:00
cinap_lenrek 676a7c6f5f sdide: remove set dma print 2011-07-13 02:01:42 +02:00
cinap_lenrek ca4adfc250 trap: cleanup gpf fixup code 2011-07-12 20:24:15 +02:00
cinap_lenrek 2d288b4002 add apm to pccpuf kernel 2011-07-12 16:35:34 +02:00
cinap_lenrek c6c2e04d4a segdesc: add /dev/^(ldt gdt) support 2011-07-12 15:46:22 +02:00
cinap_lenrek 4c98e8e548 add 82567LF (ICH9 IGP M) 2011-07-11 19:37:53 +02:00
cinap_lenrek f02ea157ec sdide: fix tab/spaces 2011-07-10 14:51:42 +02:00
cinap_lenrek 3b8c62b683 sdide: add pci ids from old sdata driver, turn on dma by default 2011-07-10 14:49:33 +02:00
cinap_lenrek c2fc2fad13 merge sd changes from 9atom 2011-07-10 14:14:23 +02:00
cinap_lenrek ae00ac7465 pci: merge some 9atom fixes (mostly vid/did for southbridges) 2011-07-10 12:42:55 +02:00
cinap_lenrek b222c16a38 qio: naive fixing attempt on issue #64 2011-07-09 13:15:39 +02:00
cinap_lenrek bf8fcab00d devip: dont panic when ports get exhausted 2011-07-08 14:39:13 +00:00
cinap_lenrek 6888db2820 audio: fill up last buffer with silence on close 2011-07-03 06:33:13 +02:00
cinap_lenrek b274842f5c audio: cleanup 2011-07-03 05:56:53 +02:00
cinap_lenrek 86f316987d audio: add delay control 2011-07-03 03:42:37 +02:00
ment b3ad2a853a audio/hda: ignore replies with invalid codec number 2011-06-28 22:17:49 +02:00
ment 59f388e947 audio/hda: stereo mixing 2011-06-28 01:22:34 +02:00
ment 7b6675ff1a audio/hda: added archfile command interface 2011-06-27 23:01:58 +02:00
cinap_lenrek 402ee30714 kernel: fix issue #62 (vunmap bug) reported from http://9fans.net/archive/2011/06/262 2011-06-27 06:47:18 +02:00
aiju 89500cba40 added /proc/*/ppid 2011-06-26 14:15:14 +02:00
cinap_lenrek 5fa804d69f boot(8): simplify 2011-06-16 17:35:07 +02:00
cinap_lenrek cde40efb0c boot(8): add cfs support 2011-06-15 14:50:29 +02:00
cinap_lenrek c4996be04f boot(8): handle flags and arguments in bootrc 2011-06-14 21:03:03 +02:00
stanley lieber a2a79226eb pci.c: add Intel 82801BAM/CAM/DBM 2011-06-06 00:46:51 -05:00
stanley lieber 8a02b3b69e sdata.c: add Intel 82801HBM/HEM PATA, Intel 82801HBM SATA AHCI (ICH8-M) 2011-06-06 00:45:55 -05:00
ment 0f29bb556d audio: High Definition Audio driver 2011-06-06 01:07:06 +02:00
cinap_lenrek 61a8ccb46d sdata: add SB600 PATA 2011-06-04 19:54:49 -04:00
cinap_lenrek f9c92129f3 boot(8): exec() bootrc instead of forkinga sub process 2011-06-04 08:43:45 +00:00
cinap_lenrek 7827e7ae6f cleanup boot(8), replace read(1), fix cpu kernel configs 2011-06-04 08:07:21 +00:00
cinap_lenrek f55d5517ed boot(8): strip bootfs 2011-06-04 07:18:11 +00:00
cinap_lenrek 792b186b3a boot(8): replace bzfs with paqfs 2011-06-04 05:19:29 +00:00
cinap_lenrek f83d4972db devaudio: interlock reads too 2011-06-04 01:04:14 +00:00
cinap_lenrek 15cdb69f61 devaudio: serialize calls in devaudio, sb16: remove qlock 2011-06-04 00:28:17 +00:00
cinap_lenrek 1bc10a7c93 kproc(): remove the lines and the comment 2011-05-31 17:11:33 +00:00
cinap_lenrek d18a4568a8 kprocs dont share memory with up, see: http://9fans.net/archive/2011/05/159 2011-05-31 17:06:41 +00:00
cinap_lenrek 2def26ce10 add cryptsetup to rootfs.bz2 2011-05-31 15:59:36 +00:00
cinap_lenrek 9bb72cc699 ac97: max buffer should be full samples, games/doom: enable/disable mouse grabbing when switching to the menu 2011-05-27 15:16:06 +00:00
cinap_lenrek 42cd9d946f ac97: fix buffering code, games/doom: enable sound 2011-05-27 13:58:55 +00:00
taruti 9655db2550 devfs crypto code - alpha version 2011-05-24 22:19:33 +00:00
taruti b6c0b30b7f Add Via PV530 bridge 2011-05-23 22:53:43 +00:00
Taru Karttunen 734cc0b6f2 Add SATA id of VIA PV530 2011-05-21 18:04:27 +03:00
cinap_lenrek 742fe500b5 fix panic in usbuhci driver, increase max number of endpoints and alt configurations, make usb/audio continue besides some errors 2011-05-21 18:39:13 +00:00
cinap_lenrek 1ac9d6ab0e boot(8): fix null list in concatenation error for ! input 2011-05-21 03:42:13 +00:00
cinap_lenrek e7d3e20912 remove keyboard stuff from other ports, make openssl and python compile on arm 2011-05-21 00:42:08 +00:00
cinap_lenrek 9adf75a709 sb16: return Blocksize instead of buffer size 2011-05-20 21:16:27 +00:00
cinap_lenrek 6cd063199d devaudio: audiostat perms 2011-05-20 21:08:10 +00:00
cinap_lenrek a75eb31752 devaudio: attach 2011-05-20 20:45:17 +00:00
cinap_lenrek c470e77eae probe code 2011-05-20 20:17:46 +00:00
cinap_lenrek 4bc74b8aef audioif, mixer control 2011-05-20 18:30:46 +00:00
cinap_lenrek 334c58f95e ac97: pci id list 2011-05-19 17:21:55 +00:00
cinap_lenrek e1400c2d5b ac97: fix probe code 2011-05-19 17:00:58 +00:00
cinap_lenrek f5b15ebcd3 dma: comment 2011-05-18 20:02:17 +00:00
cinap_lenrek df687d3840 merge 2011-05-18 19:58:00 +00:00
aiju 61660acf68 fixed stupid bug in msi code 2011-05-19 04:56:01 +00:00
cinap_lenrek b74418c2ce sb16: new approach, works in qemu 2011-05-18 19:57:31 +00:00
aiju da5d6db6f5 added support for 32 bit MSI 2011-05-17 16:51:30 +00:00
cinap_lenrek 5d7bbec094 reset screenimage in devvga "drawinit" command to account for actualsize 2011-05-17 00:44:34 +00:00
cinap_lenrek be81150bb4 remove audio.h, put stuff in port^(dat fns).h 2011-05-16 22:31:27 +00:00
cinap_lenrek 7b0e90b5d1 sb16: make it work in bochs 2011-05-16 22:09:39 +00:00
cinap_lenrek 585c561e85 merge 2011-05-16 16:30:07 +00:00
cinap_lenrek d11cd06c10 audio.h 2011-05-16 16:29:27 +00:00
cinap_lenrek 7aee021b13 first attempt to port old sb16/ess driver to new audio layer 2011-05-16 14:28:00 +00:00
cinap_lenrek d642d726ba add ac97 driver 2011-05-16 12:16:43 +00:00
aiju 8e1fbbeda5 added APIC ID remapping 2011-05-16 02:18:29 +00:00
aiju 78a02732e3 removed stale variable 2011-05-16 01:39:59 +00:00
aiju 2e1fcabe9e improved interrupt vector allocation code 2011-05-16 01:28:41 +00:00
aiju fe668572ff added basic MSI and PCI capabilities support 2011-05-16 00:35:16 +00:00
cinap_lenrek 0ad5929695 9boot: add e820 scan to bootloader 2011-05-14 19:20:16 +00:00
cinap_lenrek b4f2bf77b3 fix overlapping arguments with Tos for initcode process 2011-05-14 17:05:51 +00:00
cinap_lenrek 76f99f7cb3 serial console support 2011-05-13 08:53:43 +00:00
cinap_lenrek bb45ddca85 fix paranoia, chartorune never returns <=0 2011-05-13 02:49:40 +00:00
cinap_lenrek a075969353 kbdfs: fix line killing, handle old modifier codes. cga/vga: properly handle unicode 2011-05-13 01:46:00 +00:00
cinap_lenrek 59aaec97ca add rdb message to /dev/reboot 2011-05-12 20:15:39 +00:00
cinap_lenrek 2febff5948 boot and namespace cleanup 2011-05-10 09:14:30 +00:00
cinap_lenrek fefd557d83 fix bad proto entry for cront/bootes, remove partfs from rootfs 2011-05-10 01:29:42 +00:00
cinap_lenrek d763dcc91b merge 2011-05-09 10:04:36 +00:00
cinap_lenrek 489d71b9ba devkbd: fix missing devdrirread 2011-05-09 10:04:04 +00:00
aiju 51c9ad3413 changed Egreg 2011-05-09 09:52:53 +00:00
aiju ed3a999828 added absolute movement for mousein 2011-05-09 08:48:14 +00:00
cinap_lenrek 22ec6165bc merge 2011-05-09 08:32:55 +00:00
cinap_lenrek 26c2845917 kbdfs 2011-05-09 08:32:14 +00:00
cinap_lenrek 67856b4507 bootargs=tcp fix 2011-05-06 07:02:22 +00:00
aiju fa71f44fef added yet another DMA chipset 2011-05-07 19:37:23 +00:00
stanley lieber 84fb59d71a bootrc: set sysname 2011-05-04 19:12:02 +00:00
cinap_lenrek 2908369aeb add glenda to upas group on install 2011-05-04 14:33:04 +00:00
cinap_lenrek 182d82fdfe cleanup 2011-05-04 13:39:12 +00:00
cinap_lenrek 470eb1c6a8 remove .i files in clean rule 2011-05-04 10:40:12 +00:00
cinap_lenrek ed32b79e26 generate etherm10g firmware hexdumps in mkfile 2011-05-04 10:33:59 +00:00
cinap_lenrek 0b970c412a default pc kernel configurations 2011-05-04 09:32:28 +00:00
cinap_lenrek 7d87f85671 inst: reintroduce iso mounting for usb, replace /rc/bin/inst/isxxx with /rc/bin/fstype, remove fossil/venti specific code, rename plan9.iso to 9front.iso 2011-05-02 03:01:52 +00:00
cinap_lenrek fa9a40027b boot(8): merge usb boot method into local 2011-05-02 01:21:55 +00:00
ment d78b83bdfc boot: mountpoint fix 2011-04-30 17:06:05 +02:00
ment 6a4063e245 merge 2011-04-30 16:52:50 +02:00
cinap_lenrek db7290d79e cwfs: fix network listener, relay auth errors. boot(8): split bootargs only on first ! char, prepare /net so cwfs can announce 9fs 2011-05-01 07:07:32 +00:00
cinap_lenrek 064bce0841 boot(8): dont ask for keys every time on cpu kernel 2011-05-01 03:25:02 +00:00
cinap_lenrek 15656fc79d boot(8): fix boot restarting 2011-04-30 20:17:33 +00:00
ment 012dec1119 boot: partitioning USB disks, mounting 9front.iso from FAT partition 2011-04-30 16:43:54 +02:00
stanley lieber da4c04957b add pci id for 82801HBM SATA (ICH8-M) 2011-04-28 02:19:28 +00:00
stanley lieber 863411f3b0 add Uart2 for serial tablets 2011-04-27 14:57:11 +00:00
aiju 04924f239b added Intel 82801 to sdata.c 2011-04-26 14:32:12 +02:00
aiju a71e017fcc added mp table override 2011-04-24 17:39:48 +02:00
aiju b267359b69 fixed interrupt problem with BCM driver on multicore machines 2011-04-24 17:23:17 +02:00
aiju 73afd54f57 added bcm driver to pcf 2011-04-23 19:49:03 +02:00
aiju c6e26a4aeb fixed compiler warnings in BCM driver 2011-04-23 10:09:09 +02:00
cinap_lenrek d719f8946c boot(8): i'm bad at rc :-\ 2011-04-23 18:22:24 +00:00
aiju e0b36c7084 added BCM57xx driver 2011-04-22 13:17:59 +02:00
aiju c693f26b2c fixed mordor 2011-04-21 17:31:51 +02:00
cinap_lenrek fcf2f14760 kernel: remove obsolete kernel configurations 2011-04-22 04:58:05 +00:00
cinap_lenrek b14bc93a79 boot(8): cleanup enviroment variables before init 2011-04-21 22:22:25 +00:00
cinap_lenrek e8635a732a boot(8): use first detected filesystem as bootargs default 2011-04-21 12:49:59 +00:00
cinap_lenrek 0aa4074bc1 boot(8): properly invoke filesystem wihout overriding service name to boot 2011-04-21 11:15:52 +00:00
cinap_lenrek 19a82a2654 add fstype command to detect 9660, kfs and cwfs filesystems 2011-04-21 10:40:03 +00:00
stanley lieber 18e9fc3615 usb driver does not present partition data via the ctl file. obtain partition data by performing ls on /dev/sd* directories. 2011-04-19 01:58:29 +00:00
cinap_lenrek 1b1fac3874 boot(8): fix it 2011-04-19 05:24:46 +00:00
iru 3029059953 merge 2011-04-17 17:27:47 -03:00
iru b261a0c31b Add /sys/src/9/boot/tread, a tool to read a line with a timeout.
While here, remove boot(8) references to pcload.
2011-04-17 17:25:55 -03:00
cinap_lenrek 53143ecd7d remove pccd kernel configuration. cdrom boot can just use pcf 2011-04-18 07:42:29 +00:00
cinap_lenrek 6a197909c4 boot(8): usb/usbd might fail when no hubs are detected 2011-04-18 07:17:49 +00:00
cinap_lenrek 80df5b317d pcf kernel configuration 2011-04-18 06:38:27 +00:00
cinap_lenrek a455c61024 boot(8): kfs support 2011-04-18 06:33:38 +00:00
cinap_lenrek 0087d42a68 boot(8): add cwfs support to, restart if mount fails, usbd. cwfs: exit code 2011-04-18 05:58:04 +00:00
cinap_lenrek 9d24a107a5 boot(8): changed tread to read, other: fix perms 2011-04-18 01:59:36 +00:00
stanley lieber 55a28480b2 usb drives won't match sd??. use sd[A-Z][0-9]* instead. 2011-04-17 20:19:18 +00:00
iru 23b2128da1 Oops, forgot to add port/bootfs.proto and port/mkbootfs. 2011-04-16 17:50:51 -03:00
iru 478d102443 Initial import of the new boot(8). Change pccd and pcf to use it. 2011-04-16 17:42:16 -03:00
aiju 4d4fc2ca34 moved /dev/mordor to devcons 2011-04-16 14:15:01 +02:00
aiju 6ca93675ed added /dev/mordor 2011-04-15 21:47:11 +02:00
aiju 68d6b0808b added geode driver 2011-04-15 20:29:46 +02:00
cinap_lenrek 856aeaf333 let the kernel set dma mode for ata by default 2011-04-15 07:25:45 +00:00
cinap_lenrek 71cfa9c637 dont create compressed kernel images by default 2011-04-14 16:08:41 +00:00
cinap_lenrek 632defb656 vesa-changes 2011-04-11 20:56:59 +00:00
cinap_lenrek 05569f6f2c perms 2011-04-11 15:38:29 +00:00
Taru Karttunen 8f69bf2252 Some more permissions for kernel compile 2011-03-31 09:06:36 +00:00
Taru Karttunen a9060cc06b Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
Taru Karttunen e5888a1ffd Import sources from 2011-03-30 iso image 2011-03-30 15:46:40 +03:00