summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-02-20gs: backport aes support for pdf-1.6cinap_lenrek
2015-02-19gs: work arround broken xref table pdfscinap_lenrek
rebuilding the xref table does not work for pdfs with compressed object streams. as a work arround, we skip xref table verification and ignore wrong xref gen # for gen 0 objects.
2015-02-18pc, pc64: fix intrdisable() MaxIrqLAPIC -> MaxVectorAPIC (thanks mischief)cinap_lenrek
2015-02-186c: eleminate more MOV instructionscinap_lenrek
convert: x = B || W MOVxLZX a, r; MOVxQZX r, b -> MOVxQZX a, r; MOVQ r, b MOVxLSX a, r; MOVxQSX r, r -> MOVxQSX a, r; MOVQ r, r the MOVQ can then be eleminated by copy propagation. improve subprop() by accepting other mov and lea instructions as the source op.
2015-02-176l: no need to emit rex.w prefix for MOVBQZX and MOVWQZXcinap_lenrek
as with 32 bit operand size, the upper bits 63:32 are automatically zeroed in 64bit mode. this gives a shoter instruction encoding.
2015-02-17nusb/usbd: fix typo in debug prints, dont use %U format as its not installedcinap_lenrek
2015-02-17vc: eleminate strcpy in multab codecinap_lenrek
2015-02-17[125678kqv][cl]: fix sprint() and strcpy() buffer overflowscinap_lenrek
2015-02-17tlssrv: produce meaningfull error message when unable to read certificatecinap_lenrek
2015-02-17tlssrv: fix usage, dont catcinap_lenrek
2015-02-17tlssrv: fix this mess (thanks burnzez for reporting the issue)cinap_lenrek
tlsServer() closes the passed in fd, in our case fd=1 leaving it with no std output which got occupied by pipe() filedescriptor which it then closed after duping... a classic. delete all this mess. theres no reason to fork() and copy traffic on a pipe at all as tlsServer() gives us a perfectly valid filedescriptor. just dup() and exec() and we'r done.
2015-02-15wc: flags dont need to be uvlongcinap_lenrek
2015-02-15wc: bring back old wc but extended for 21 bit runescinap_lenrek
the imported wc from sources is arround 8 times slower than our old one. it is common to run wc on large log files to count lines. so i think the implementation complexity is justified. (just like with grep)
2015-02-14wc: import new wc from sourcescinap_lenrek
2015-02-14usbehci: initial support for usb on zynq, remove uncached.hcinap_lenrek
the following hooks have been added to the ehci Ctlr structore to handle cache coherency (on arm): void* (*tdalloc)(ulong,int,ulong); void* (*dmaalloc)(ulong); void (*dmafree)(void*); void (*dmaflush)(int,void*,ulong); tdalloc() is used to allocate descriptors and the periodic frame schedule array. on arm, this needs to return uncached memory. tdalloc()ed memory is never freed. dmaalloc()/dmafree() is used for io buffers. this can return cached memory when when hardware maintains cache coherency (pc) or dmaflush() is provided to flush/invalidate the cache (zynq), otherwise needs to return uncached memory. dmaflush() is used to flush/invalidate the cache. the first argument tells us if we need to flush (non zero) or invalidate (zero). uncached.h is gone now. this change makes the handling explicit.
2015-02-14zynq: do fixed mapping for ocm memory on boot and make kaddr() and paddr() ↵cinap_lenrek
work with it map the whole ocm memory on boot so we can translate physical to virtual addresses and back for uncached memory using KADDR() and PADDR(). replace ualloc() with ucalloc() returning virtual address. physical address can be acquired with PADDR() now. as ocm is now always mapped, use KADDR() instead of tmpmap() for mp bootstrap.
2015-02-12ircrc: dont require nick and user to be the same for auth/userpasswd (thanks ↵cinap_lenrek
spew)
2015-02-12ircrc(1): remove auth/userpasswd complaint from BUGS sectioncinap_lenrek
2015-02-12build and document auth/userpasswdcinap_lenrek
2015-02-11libc: check name in getvent()/putenv()cinap_lenrek
passing "", "." or ".." as name caused a crash in getenv() as it would open the directory; then seek() to determine the file size would fail and return -1. now checking for these special names and set error string when its bad. doing a single read() will not work when /env has a 9p fileserver mounted onto it and the file size is bigger than the i/o unit. so doing incremental reads until we get eof.
2015-02-09igfx: displayport support for ivy bridgecinap_lenrek
2015-02-08mothra: add side scrolling, controlled by left and right buttons on the ↵stanley lieber
keyboard. if desired, x-scrollbar can be set visible via the visxbar variable in mothra.c. (thanks, jpm_)
2015-02-07vga/igfx: add 0x2a02 for GM965/GL960/X3100; comment vid/did with name of chipsetstanley lieber
2015-02-07vgadb: add vid=0x8086 did=0x2a02 for Intel GM965/GL960/X3100; comment recent ↵stanley lieber
igfx ctlr definitions with the names of specific chipsets instead of the model numbers of laptops they may ship in
2015-02-07pc64: enable uartisa in default configstanley lieber
2015-02-07games/c64: map : to \ keyaiju
2015-02-07games/c64: fix -2/-3aiju
2015-02-07games/mkfile: add c64aiju
2015-02-07games/c64: oopsaiju
2015-02-07added games/c64aiju
2015-02-07zynq: fix print format warning in screeninit()cinap_lenrek
2015-02-07kernel: make pagereclaim() a bit less stupidcinap_lenrek
put recently used pages at the head of ther image hash chains, and reclaim pages from the tail first.
2015-02-07kernel: reduce Page structure size by changing Page.cachectl[]cinap_lenrek
there are no kernels currently that do page coloring, so the only use of cachectl[] is flushing the icache (on arm and ppc). on pc64, cachectl consumes 32 bytes in each page resulting in over 200 megabytes of overhead for 32gb of ram with 4K pages. this change removes cachectl[] and adds txtflush ulong that is set to ~0 by pio() to instruct putmmu() to flush the icache.
2015-02-05fplot: add modulus % operatorcinap_lenrek
2015-02-05libsec: add TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA client cipher suit supportcinap_lenrek
2015-02-05aux/vga: remove vbs/vbe from mode, use shs/ehs when sync is ment, prefer ↵cinap_lenrek
detailed timing in edid vbs/vbe members in Mode was only used in the vesadb and cannot be changed from vgadb. use shs/ehs in drivers when refering to the horizontal sync pulse. clarify the matter in a comment. link detailed timing modes at the head of the edid modelist. these are the modes we'r interested in, not the ones from vesadb.
2015-02-02fortunes: The NTP codebase is larger than the SSH codebase.stanley lieber
2015-02-02aux/vga: fix mistale :-)cinap_lenrek
2015-02-02aux/vga: use optional edid information to determine mode when vgadb failscinap_lenrek
igfx and vesa can determine monitor timing information from ddc and store the edid info for connected monitors in vga->edid[]. when monitor type cannot be found in vgadb, we consult the edid information and make a mode based on the edid info. this avoids having to maintain a vgadb entry for each monitor. monitor can be set to "[width]x[height]@[freq]Hz" for a specific edid setting. when not found, a mode is searched based on the size. so the following should work: aux/vga -m 1366x768@60Hz -l 1366x768x32 aux/vga -m auto -l 1366x768x32
2015-02-01aux/vga: cleanup vesa codecinap_lenrek
dbvesamode() modified the passed in size string in the process of option parsing. this is a no-go because the string might be constant in the read only section. provide cracksize() function for the parsing and make a static copy. do the vendor specific monitor detection in vbesnarf() instead of vbecheck(). vbecheck()'s purpose is to check if vesa bios service is avialable, not snarf graphics card state. nvidiascale() was a no-op because it missed the vbecall() at the end of the function. this means it was never tested so i add the missing vbecall(), but disable nvidiascale for now until someone tests this. keep fancy stuff out of the Vbe structure. it is just there for making bios calls, not keep state about the graphics card.
2015-01-31mothra: people do not like it. revertingcinap_lenrek
2015-01-31mothra: wrap long text and images to fitcinap_lenrek
2015-01-30kernel: increase size of palloc.mem[] user page bank arraycinap_lenrek
we'r hitting the limit of user page banks on some asrock mainboard, so doubling the size of the array twice to make running out unlikely.
2015-01-30wifi: fix recvbeacon()cinap_lenrek
we used to read beyond the boundaries of the becon because of the end pointer was offset by the beacon header. this is also what caused the double entries.
2015-01-30wifi: ignore truncated tlv in beacon/probescinap_lenrek
2015-01-29factotum(4): fix typocinap_lenrek
2015-01-29factotum(4): document mschapv2 and wpapsk protocolscinap_lenrek
2015-01-29tftpfs(8): fix manpage reference dhcp(8) -> dhcpd(8)cinap_lenrek
2015-01-29ircrc(1): tlsclient(8) -> tlssrv(8)cinap_lenrek
2015-01-296in4(8): document ayiyacinap_lenrek