Commit graph

357 commits

Author SHA1 Message Date
google 25a5ae8a44 Add Intel 82801JIB ICH10 southbridge 2012-09-03 17:44:30 +12:00
google 14843589e2 Intel 82567V DOES support jumbo frames, despite claims to the contrary. 2012-09-03 13:40:51 +12:00
google 59d3ba2ce0 Intel 82567V does not support jumbo frames. 2012-09-02 11:31:53 +12:00
cinap_lenrek c74eff0906 audiohda: unsigned vid/rid formating 2012-09-02 01:02:34 +02:00
google 87b6b93257 Fix for i82567V-2 2012-09-02 00:27:43 +12:00
cinap_lenrek e91301a401 rdmsr/wrmsr become tryrdmsr/trywrmsr, we can should check for trap 2012-08-31 16:48:33 +02:00
aiju 5ba4ccd30e fixed RFNOMNT 2012-08-27 17:50:48 +02:00
cinap_lenrek 25070f33fb audiohda: add intel sch models (thanks puddingpimp on #cat-v for sending a patch) 2012-08-26 17:16:03 +02:00
cinap_lenrek 19219d5a95 archmp: checksum _MP_ structure before use, coherence() and comments (import from sources)
we used to only test the checksum of the PCMP structure referenced by
the _MP_ without checking _MP_ itself. now fixed.

geoff added some coherence() calls and comments in the mpstartup and
apic code which seems to be a good idea.
2012-08-25 14:06:42 +02:00
cinap_lenrek 3ac4524e4a syscallfmt: use up->syserrstr instead of up->errstr (import from sources) 2012-08-24 15:53:35 +02:00
cinap_lenrek da01fdae11 guesscpuhz: add sanity checks for virtualbox (import from sources) 2012-08-24 15:46:21 +02:00
cinap_lenrek d436b2117e add unified sigsearch() function to look for bios data structures
replace the various functions that searched for bios data structures by
a single sigsearch() one in pc/memory.c that will probe the various bios
data areas.

also, a new checksum() function was added that is to be used to validate
the structures found.
2012-08-24 15:36:56 +02:00
cinap_lenrek 86f323290c wait: always check up->nchild before going to sleep
always make sure that there are child processes we can wait for
before sleeping.

put pwait() sleep into a loop and recheck. this is not strictly
neccesary but prevents accidents if there are spurious wakeups
or a bug.
2012-08-24 13:11:04 +02:00
cinap_lenrek d404e9e9f8 devmnt: more carefull wakeup in mountmux
once we set q->done = 1 in mountmux, the sleeper might return freeing q
so the wakeup might access invalid memory. we change the embedded Rendez
structure in the Mntrpc into a pointer to the sleeping procs up->sleep
rendez so the rendez is always going to be valid even if the rpc has been
freed.

the call to mntstats was moved before we set q->done also to prevent
accessing invalid memory.
2012-08-24 13:00:14 +02:00
cinap_lenrek 80a5bfc1d8 sdvirtio: be more carefull at wakeup
wakeup cannot access r->sleep once we set r->done because the
sleeper might just return at this point making r invalid. make
a copy of the sleep rendez pointer before setting r->done.
2012-08-24 12:52:34 +02:00
cinap_lenrek c120dbc777 pccpuf: add vgaradeon 2012-08-17 19:03:26 +02:00
cinap_lenrek 7fdf820589 pckernel: use constants instead of hardcoding cpuid bits in various places 2012-08-17 04:03:51 +02:00
cinap_lenrek a8d7bbeeb3 remove 9/pc/boot.fs file 2012-08-14 03:54:26 +02:00
cinap_lenrek d1f1be9c57 vgavmware: fix hardware acceleration (fill is not available with SVGA2) 2012-08-10 15:17:27 +02:00
aiju b21b9ba89c added hjfs 2012-08-07 17:57:04 +02:00
cinap_lenrek 36adf27af8 add Echange[] error string 2012-08-07 07:15:41 +02:00
cinap_lenrek 7fbae174eb floppy: fix endless loop when trying to change floppy type on media change 2012-08-07 07:08:33 +02:00
cinap_lenrek 5eec707368 pci.c: reserve pci membars after assinging them for *nobios= option 2012-08-06 23:56:10 +02:00
cinap_lenrek cd99666815 memory.c: remove unused xmapupa map 2012-08-06 23:54:52 +02:00
cinap_lenrek 2f457f5f19 audioac97: reserve ioport ranges 2012-08-05 15:49:38 +02:00
cinap_lenrek 1159f1e54f ip: fix assert panic on fragmented icmp echo request (see eriks icmp-frag patch) 2012-08-02 02:02:10 +02:00
cinap_lenrek 9caf93faa8 vesa: timeout blank/unblank operation if it gets stuck 2012-08-01 22:56:58 +02:00
cinap_lenrek fcc5e75d07 tsemacquire: manpage and syscallfmt 2012-07-30 22:45:49 +02:00
cinap_lenrek 49ac0b93d3 add tsemacquire syscall for go 2012-07-29 20:26:49 +02:00
cinap_lenrek 81d43b6f9d kernel: make mp mode and msi interrupts the default. *msi -> *nomsi 2012-07-25 23:18:26 +02:00
cinap_lenrek 15885866cb revert every commit, for great justice! 2012-07-18 21:39:06 +02:00
glenda fbb8a423e7 fix 2012-07-18 21:29:00 +02:00
aiju 21eced0e5d all your base are belong to us 2012-07-18 21:21:16 +02:00
cinap_lenrek c71c05dd64 screen: cleanup 2012-07-18 15:08:01 +02:00
cinap_lenrek b9ca8e8378 vga: softscreen
allow the shadow framebuffer (softscreen) to be used with any
vga driver, not just vesa. this removes the ugly scr->paddr = 0
hack employed by vesa driver to force softscreen and adds a
softscreen vgactl message that can switch the feature on and off
at runtime.

softscreen can greatly improve graphics performance when bus
reads are slow even tho it disables hardware acceleration.
2012-07-18 10:16:00 +02:00
aiju c612f9c41f multiboot: use initrd for config 2012-07-13 18:52:39 +02:00
aiju c03913c62d fixed multiboot booting 2012-07-13 18:09:42 +02:00
cinap_lenrek 546ee86c52 tcp: memset paranoia, synced from sources 2012-07-09 21:01:42 +02:00
cinap_lenrek a360bddee7 qio: raise critical queue bloat threshold from 2 to 10 times to queue limit
the limit for overqueueing was too small for stuff like fcp
on a fileserver connected with a standard 32K limit pipe like
ramfs.

fcp usesd 8K*16procs > 32K*2

the biggest queue limit used in the kernel is 256K making
the maximum queue bloat 2.5MB or 320K for standard pipes.
that should be big enougth to never happen in practice
unless there is a bug which we like to catch before we
exhaust all kernel memory.
2012-07-08 19:11:29 +02:00
cinap_lenrek 7417118d30 apic: fix qemu panic lapic clock xxx > cpu clock > yyy 2012-06-24 05:34:17 +02:00
cinap_lenrek ba7374508e e820: support new format 2012-06-21 04:57:27 +02:00
cinap_lenrek 447b37d838 e820: check for newer *e820= variable (old e820= might get removed in the future) 2012-06-21 01:55:56 +02:00
cinap_lenrek cf4c3e7c5c ether82563: sync with erik (fixed 82579 eeprom checksum error, adds i350 support) 2012-06-21 01:06:17 +02:00
cinap_lenrek 69470de37d acpi: work arround missing _BBN, check _HID 2012-06-19 16:30:11 +02:00
cinap_lenrek a92749485e archacpi: boot processor comment 2012-06-17 02:49:59 +02:00
cinap_lenrek b7b8be6831 fix ioapic mre off by one 2012-06-17 01:06:57 +02:00
cinap_lenrek a47521a3ed experimental acpi support for apic irq routing 2012-06-17 23:12:19 +02:00
cinap_lenrek 9b29d5be82 mp: cleanup mp code 2012-06-15 22:10:24 +02:00
cinap_lenrek 3e42a08988 acpi: format string warning for uchar* vs char* 2012-05-25 07:10:46 +02:00
cinap_lenrek a170c952ff ethervt610xx: dont assume sizeof(Ds) <= cls 2012-05-23 18:30:34 +02:00