Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-02-14 | page: fix compiler warning | cinap_lenrek | |
2014-02-14 | socksd: close inside udp server one we get a connection (udprelay) | cinap_lenrek | |
2014-02-14 | cifsd: fix compiler warning | cinap_lenrek | |
2014-02-14 | nusb/ether: fix pointer truncation | cinap_lenrek | |
2014-02-14 | webfs: fix compiler warning | cinap_lenrek | |
2014-02-14 | ip/torrent: remove unneeded assignment | cinap_lenrek | |
2014-02-14 | acid: add semacquire/semrelease/tsemacquire syscalls, handle _seek hack for ↵ | cinap_lenrek | |
amd64 (thanks erik) | |||
2014-02-14 | similar to my last commit, but combined the two waits for the usb devices. ↵ | Matthew Veety | |
still configurable, but with usbwait. If usbwait is not defined then it defaults to the original 2 seconds. | |||
2014-02-12 | pc64: add ahci.h to PCHEADERS so it will be removed on mk clean | mischief | |
2014-02-12 | pc64: remove ethermii.h and copy it from pc instead | mischief | |
2014-02-12 | added pccpu64 for cpuservers. also enabled etherigbe in pc64 and pccpu64 | Matthew Veety | |
2014-02-12 | acid: fix acid/network, fix address formats from X to A | cinap_lenrek | |
2014-02-12 | truss: support for amd64 | cinap_lenrek | |
2014-02-12 | pool(2): fix ulong -> uintptr | cinap_lenrek | |
2014-02-10 | ramfs: remove mainmem pool limit when called with -u flag | cinap_lenrek | |
2014-02-10 | pc64: limit memory of per processor mmu freelist to 1MB | cinap_lenrek | |
2014-02-10 | acid: remove objchar, prefering foobar.$objtype.acid | cinap_lenrek | |
acid already sets up objtype for us. | |||
2014-02-10 | pc64: return up in RUSER (BP) for devproc kregs file | cinap_lenrek | |
2014-02-10 | cc: emit right acid format for address | cinap_lenrek | |
we could use 'A' here but then it would require the new acid. | |||
2014-02-10 | acid: update acid libraries for amd64 | cinap_lenrek | |
2014-02-09 | acid: make 'a' and 'A' format to have the same size as mach->szaddr | cinap_lenrek | |
to make it easier to write portable acid code, we introduce 'A' format in the same meaning as in db(1): A Print the value of dot in hexadecimal. Dot is unaffected. both 'a' (symbolic) and 'A' will both have 64 or 32 bit size depending on the mach, so pointer array indexing works the same. | |||
2014-02-09 | pc64: pass Ureg* argument in BP to userspace note handler | cinap_lenrek | |
2014-02-09 | acid: fix memory corruption due to gc | cinap_lenrek | |
we cannot call gc() in execute() because it will gc anonyous intermediate results which happens when we construct a list and the elements are calculated by calling a function thru ocall() which calls execute(). also, the _thiscmd symbol; which is used to keep a reference to a statement so it wont get garbage collected; does not work as yyparse() is recursive (include statements). we add execrec() function which *only* gets called from yyparse() when evaluating a statement. it will keep a stack on the _thiscmd symbol handling the yyparse() recursion. we also only call gc() in execrec() before calling execute(). so execute() will never gc() while evaluating a statement which prevents the intermediate results from getting collected. | |||
2014-02-08 | pc64: handle negative file offsets when accessing kernel memory with devproc | cinap_lenrek | |
file offset is 64 bit signed integer, negative offsets are invalid and rejected by the kernel. to still access kernel memory on amd64, we unconditionally clear the sign bit of the 64 bit offset in libmach and devproc sign extends the offset back to a 64 bit address. | |||
2014-02-08 | mtrr: fix mistake | cinap_lenrek | |
2014-02-08 | jpg: center image in screen | cinap_lenrek | |
when using the jpg(1) programs interactively, draw the image in the center of it. this avoids wasting space with always on borders on small windows and looks better when used in fullscreen. | |||
2014-02-08 | reuse mtrr slots with default memory type | cinap_lenrek | |
2014-02-08 | aux/vga: fix format string error with 6c | cinap_lenrek | |
2014-02-08 | pc64: bump segment limit to 64GB | cinap_lenrek | |
2014-02-07 | pc64: dont reuse mtrr slots that are above 4GB | cinap_lenrek | |
we used to override/reuse mtrr slots over 4GB as the kernel wasnt able to use that memory. pc64 can. | |||
2014-02-06 | pc64: ensure user pc is never set to a non-canonical address through ↵ | mischief | |
setregisters on intel processors, a general protection exception is fired if a non-canonical address is loaded into PC during SYSRET. this will cause the kernel to panic. see http://www.kb.cert.org/vuls/id/649219 and the intel software developer manual for more information. | |||
2014-02-07 | pc64: fix devcons format strings for memory sizes | cinap_lenrek | |
2014-02-07 | cwfs: limit memsize() to 1GB until pool can handle huge allocations | cinap_lenrek | |
2014-02-07 | pc64: fix poolsummary() string format | cinap_lenrek | |
2014-02-06 | pool: use uintptr for pool size | cinap_lenrek | |
note, arenas and blocks still use ulong for sizes. so we have to check for overflow when attempting to merge arenas. | |||
2014-02-06 | pc64: fix note handling | cinap_lenrek | |
2014-02-06 | pc64: fix kmap() | cinap_lenrek | |
kmapindex has to be per process, not per mach, as the process can be switched to another processor while the mapping is established. to bootstrap the first process, we have to temporarily set up so the kmap MMU's can be attached to the process. previously we assumed that the first two pages for the initial process where below 2GB and could be accessed with KADDR() directly. with 16GB machine, all the 2GB above KZERO are dedicated to the kernel so the user pages returned by newpage() need to be mapped. | |||
2014-02-05 | have to use NULL instead of nil for ape programs... | cinap_lenrek | |
2014-02-05 | pc64: dont 4 byte align stack pointer for amd64 in sysexec() | cinap_lenrek | |
2014-02-05 | fix wrong type for terminating nil argument for execl() | cinap_lenrek | |
we have to use (void*)0 instead of (int)0 otherwise the upper bits are uninitialized on amd64. | |||
2014-02-04 | libpanel: remove pointless pointer casts | mischief | |
2014-02-05 | merge | cinap_lenrek | |
2014-02-05 | mothra: better handling of malformed search regex | cinap_lenrek | |
2014-02-04 | libpanel: fix pointer casts and format strings | mischief | |
2014-02-05 | mothra: dont panic on invalid regular expression in searchbox | cinap_lenrek | |
2014-02-03 | /lib/face/48x48x4/.dict: fix typos | stanley lieber | |
2014-02-03 | pc64: fix up pointer calculations and enable sdvirtio disk driver | mischief | |
2014-02-04 | pc64: remove cinaps cga screen interrupt debugger, was experiment... | cinap_lenrek | |
2014-02-04 | pc64: dont dump user registers on exception, was experiment... | cinap_lenrek | |
2014-02-04 | hjfs: fix wrong channel size for syncb (fixes amd64 crash) | cinap_lenrek | |