Commit graph

5497 commits

Author SHA1 Message Date
aiju
c3d372c3da vmx(1): fix '-v text' 2017-06-18 01:51:28 +00:00
aiju
98b1a59547 vmx(1): don't zero all memory, don't abandon uart on eof, sleep before transmitting uart data 2017-06-17 23:30:23 +00:00
aiju
21669c4c97 vmx(1): fix non-vesa framebuffer mode 2017-06-17 22:52:13 +00:00
aiju
52a3502927 vmx(1): support debug instructions 2017-06-17 22:50:03 +00:00
aiju
2bb65c40ab devvmx: support debug registers; simplify assembly 2017-06-17 22:38:16 +00:00
aiju
cbcd9b1d71 vmx: VESA support and other misc I/O improvements 2017-06-17 19:47:04 +00:00
aiju
439ab7cb0e vmx: complete cmos 2017-06-15 15:59:02 +00:00
aiju
bd12cb47ce vmx: implement virtio reset 2017-06-15 15:58:52 +00:00
aiju
2fe3b28f86 vmx: obsd: load kernel symbol table and allow setting root device 2017-06-15 15:58:25 +00:00
aiju
1c4fa7b000 vmx: fix pic 'specific eoi' bug, fix kbd bug, add fake IDE and floppy controller 2017-06-15 07:42:57 +00:00
aiju
7e2771e238 vmx: openbsd support: parse more options 2017-06-15 07:41:51 +00:00
aiju
5542062dc8 vmx: fix virtio bugs 2017-06-15 07:41:26 +00:00
aiju
b7a778917d vmx: remove debugging print 2017-06-14 18:18:44 +00:00
aiju
4dad8ffb6e vmx: support EFER and PAT access 2017-06-14 17:42:25 +00:00
aiju
49261dcb40 vmx: slightly more vga support 2017-06-14 17:41:51 +00:00
aiju
3dc0a21b4a vmx: improve PIT/keyboard support 2017-06-14 17:41:32 +00:00
aiju
643991956d vmx: support loading openbsd kernels 2017-06-14 17:40:48 +00:00
aiju
74241e31aa devvmx: support pat and efer registers 2017-06-14 17:38:01 +00:00
aiju
3b123799ab add vmx documentation 2017-06-13 14:19:42 +00:00
aiju
d5e55f5140 add vmx(1) 2017-06-13 14:18:14 +00:00
aiju
8029c3d8c4 pc: add vmx device 2017-06-13 14:15:09 +00:00
aiju
13869bab11 pc/pc64: keep shadow copy of DR7 in Mach and use that to check whether we need to reset DR7 in procsave(); remove superfluous reset of DR7 in mmurelease() 2017-06-13 00:10:36 +00:00
aiju
e8082c1d1f remove accidentally committed reference to devvmx 2017-06-12 23:03:40 +00:00
aiju
dea6bc51bc pc/pc64: debugexc: ignore exception if in kernel mode and can't get hold of up->debug 2017-06-12 22:58:25 +00:00
aiju
89f71fa9ed acid(1), proc(3): document watchpoints 2017-06-12 20:31:04 +00:00
aiju
fff474d863 xd: use new bio magic to make -u more efficient 2017-06-12 19:56:57 +00:00
aiju
1a40bdeb84 add aux/icanhasvmx 2017-06-12 19:54:31 +00:00
aiju
3844090f39 pc/pc64: reset DR7 in mmurelease 2017-06-12 19:46:25 +00:00
aiju
dae0f4d28d aux/cpuid: decode family and model bitfields 2017-06-12 19:36:52 +00:00
aiju
744a4a8270 acid: fix goofup 2017-06-12 19:30:56 +00:00
aiju
68cfc786ba acid: watchpoint support 2017-06-12 19:29:20 +00:00
aiju
5dcb407add acid: provide hooks 'procattach' and 'dying' 2017-06-12 19:28:27 +00:00
aiju
7c62868a9f acid: always create proclist variable 2017-06-12 19:27:49 +00:00
aiju
0f653d0f29 acid: add getfields() builtin 2017-06-12 19:24:32 +00:00
aiju
cd1f44b5c0 kernel: reset nwatchpt in pexit 2017-06-12 19:19:05 +00:00
aiju
773be02aa1 kernel: add support for hardware watchpoints 2017-06-12 19:03:07 +00:00
aiju
1cfa405d0a pc64: set error code and trap fields in Ureg* on syscalls 2017-06-12 17:09:11 +00:00
aiju
48c5da7a64 ethervirtio: report correct length; fail gracefully if we can't initialize queues 2017-06-12 11:25:12 +00:00
aiju
45411c31dc 6l: support MOV to/from DR[1-3] 2017-06-11 22:29:33 +00:00
aiju
c94b2f32a3 8l: support MOV from/to DR[1-3] 2017-06-11 22:09:57 +00:00
cinap_lenrek
1013779e74 stats: get rid of the legacy import fallback
using legacy import is dangerious as it is unencrypted by default,
so a man in the middle can force the fallback to import protocol
and then take over the connection to the remote machine gaining
full access to is.
2017-06-08 09:08:59 +02:00
cinap_lenrek
b4a9468fdd upas: fix infinite loop in common/mkfile (thanks raiz) 2017-06-07 07:38:10 +02:00
cinap_lenrek
8bf3674983 make python subprocess module work with ape/sh 2017-06-05 17:21:42 +02:00
cinap_lenrek
94e26e7576 kernel: make statistics counters skipscheds and preempts unsigned 2017-06-03 18:59:48 +02:00
cinap_lenrek
178e05f9b7 awk: handle bad/incomplete input in maketab (thanks kenji arisawa) 2017-06-02 19:03:37 +02:00
cinap_lenrek
3d1908d762 kernel: don't preempt pager during fscache reclaim
the fscache image is the main source for pages once
the page freelist got exhausted, so delay scheduling
until they release the fscache lock.
2017-06-02 17:02:43 +02:00
aiju
04b8539ee2 plan9.ini(8): document netconsole 2017-06-01 07:07:55 +00:00
aiju
48fa332c61 pc: actually call netconsole() 2017-06-01 06:40:05 +00:00
aiju
7134d62ccb pc: add netconsole 2017-05-31 23:41:21 +00:00
cinap_lenrek
eb6bba80ef merge 2017-05-30 16:10:23 +02:00
cinap_lenrek
1bc20697ed devsegment: return proper write count for ctl message 2017-05-30 16:08:47 +02:00
stanley lieber
db46e826c2 newt: add !cmd 2017-05-28 15:45:07 -04:00
stanley lieber
9c70c81e70 newt: honor environment variables $editor and $pager 2017-05-26 11:15:35 -04:00
aiju
ce17224eaf ?a: getc() needs to increment lineno if it gets \n from peekc 2017-05-26 00:01:53 +00:00
aiju
5fb666453a libmach: add INVEPT and INVVPID instructions 2017-05-24 00:59:14 +00:00
qwx
6f63752d84 igfx: add support for haswell graphics
add support for edp, dp and hdmi on haswell and haswell ult.
vga, dvi and specific configurations like ulx are unimplemented.

remaining issue: edp link training always fails (time out).
2017-05-22 18:19:24 +02:00
aiju
3cc97ac108 io(1): %llx -> %ullx 2017-05-22 09:04:51 +00:00
aiju
82f91a895a libmach: fix wrong offset bug (thanks cinap); add VMX instructions 2017-05-22 00:40:18 +00:00
cinap_lenrek
760e539811 kernel: avoid panic with segio and SG_FAULT segments
the problem is that segio doesnt check segment attributes
and it can't really in case of SG_FAULT which can be
inherited from pseg and toggle at any time.

so instead of returning -1 from fault into the fault$cputype
handler which then panics when fault happend kernel mode,
we jump into segio's waserror() block just like in the
demand load i/o error case (faulterror()).
2017-05-21 16:36:11 +02:00
cinap_lenrek
1dc5f9222a vt: don't flush while there is keyboard input available 2017-05-20 14:45:47 +02:00
BurnZeZ
f308677510 /sys/lib/acid/port: make line() also print the line number 2017-05-11 19:34:54 +00:00
cinap_lenrek
2fda77e404 /sys/doc: fix mkfile to and remove files that now can be regenerated 2017-05-09 16:23:48 +02:00
cinap_lenrek
015956ea61 troff: charlib: fix right hand special character 2017-05-09 16:10:44 +02:00
cinap_lenrek
bff4fad52a rio: implement writable and truncatable /dev/text 2017-05-07 19:05:12 +02:00
cinap_lenrek
7327bd43c0 kernel: fix namelenerror(), avoid memrchr() and make it static
make sure the loop terminates and doesnt get stuck at
name == aname. avoid memrchr() as it conflicts with
libc on unix (drawterm). declare namelenerror() as
static.
2017-05-07 18:13:37 +02:00
aiju
37567f07d1 update ape/bio.h (thanks jpm) 2017-05-06 14:33:52 +00:00
cinap_lenrek
f317d233f4 devproc: can't wait for ourselfs to stop (thanks Shamar) 2017-05-06 00:49:47 +02:00
BurnZeZ
59e8bc0e23 aux/statusmsg: use libbio for textmode output
calling write(1, "\b", 1); for each rune to be removed is a lot of
overhead, and we don’t want rio to turn each of these writes into a
draw operation.

also, it now prints to stderr before exiting if initdraw() fails
2017-05-05 21:43:30 +00:00
cinap_lenrek
74b6d9bda3 ssh: add -h flag to pass host (for compatibility) 2017-05-05 21:04:31 +02:00
aiju
7ade57b678 sed: add -u flag that flushes output buffers before reading in further input 2017-05-05 08:22:13 +00:00
aiju
20b945a382 bio(2): manpage typo 2017-05-04 17:47:03 +00:00
aiju
f681cf835a bio: add support for custom I/O handler via Biofn 2017-05-04 17:42:12 +00:00
cinap_lenrek
414d29e98f ssh(1): document -T tries option, #subsys cmd behaviour 2017-05-03 20:56:20 +02:00
cinap_lenrek
710d4982b7 ssh: quote cmd arguments with unix shell single quotes, request tty even with TERM=dumb 2017-05-03 20:55:32 +02:00
cinap_lenrek
38d421ec00 ctime(2): fix example (thanks raiz)
raiz → the reason that the manpage example works not because
it's a correct timezone file format, but because readtimezone()
(in libc) fails and defaults to GMT.
2017-05-03 20:47:46 +02:00
cinap_lenrek
cd694c6016 upas/fs: handle partial fetches (imap server returning less messages than available) 2017-05-02 04:07:21 +02:00
cinap_lenrek
295c0071c3 dist/ndb: move sources auth server to ndb/common, list root dns servers in ndb/local as a fallback 2017-05-01 22:49:35 +02:00
cinap_lenrek
d63cc467d8 5e: fix special bitshift and rotations 2017-05-01 20:22:23 +02:00
cinap_lenrek
359955ee4b vt(1): the "send" menu became "paste" 2017-05-01 02:31:50 +02:00
cinap_lenrek
f6b68dd79b sshfs(4): fix bad cross reference 2017-05-01 02:18:09 +02:00
cinap_lenrek
fa94532c08 vgamach64xx: remove drawdebug reference 2017-05-01 02:15:03 +02:00
cinap_lenrek
0b85c859f5 merge 2017-05-01 00:03:01 +02:00
cinap_lenrek
2713779ee6 ip/torrent: avoid requesting same chunks
instead of always just requesting the missing range
of the current piece, remember the workpiece offset
and request sequential chunks from the workpiece.

this avoids double requests of the same ranges when
the peer does not respond with the data immidiately.
2017-05-01 00:01:14 +02:00
spew
ff8ae67b70 libregexp: miscellaneous little cleanups 2017-04-30 15:08:36 -05:00
cinap_lenrek
c00c60d327 sshfs: fix -r / retulting in "//foo" paths, memory leaks, use estrdup9p()
just use cleanname() to implement pathcat(), which
handles double slashes and ".." elements already.

have to free the partial dir structue on error in
parsedir().

use estrdup9p() instead of strdup().
2017-04-30 18:28:06 +02:00
cinap_lenrek
607e651c06 vnc: substitute iprint() with fprint(2, (gone from libmemdraw) 2017-04-30 04:06:03 +02:00
cinap_lenrek
24420ab9eb kernel: fix rewinding in directories with pread() offset
reading directories with pread() offset has to work the same
way as read(), otherwise exportfs breaks rewinding in directories.
2017-04-30 01:51:07 +02:00
cinap_lenrek
f8478eb4c4 lib9p: allow rewinding in 9pfile directories 2017-04-30 01:49:21 +02:00
cinap_lenrek
56611ced39 libmemdraw: get rid of kernel iprint() emulation 2017-04-29 21:13:48 +02:00
cinap_lenrek
9a5e55782d libmemdraw/libmemlayer: get rid of drawdebug prints 2017-04-29 21:10:28 +02:00
cinap_lenrek
3c894ece0c devdraw: ignore drawdebug command 2017-04-29 21:09:11 +02:00
cinap_lenrek
d4a6dc8910 libdraw: get rid of _drawdebug variable 2017-04-29 21:03:52 +02:00
aiju
ca2fa9596b sshfs: add -r and -M options 2017-04-29 18:44:01 +00:00
cinap_lenrek
b4b2cd72b0 cwfs: allow "none" user to rename files 2017-04-29 17:28:35 +02:00
cinap_lenrek
51eaebf4f0 sshfs: don't crash when no /etc/password file could be read on the remote side
in a cygwin environment, theres no /etc/passwd file to
translate numeric uid/gid's. changing passwdparse() to
ignore nil string argument.
2017-04-29 16:25:48 +02:00
aiju
f00488ec70 sshfs: check correctly for directory bits; calculate parent directory correctly 2017-04-28 20:42:38 +00:00
aiju
7cc9d944df sshfs: reset SReq->reqid field to fix double-free of request ids 2017-04-28 18:45:32 +00:00
aiju
5ce3f70f72 sshfs: remove debug print 2017-04-28 18:32:04 +00:00
aiju
825ab5d286 sshfs: don't cache directory contents 2017-04-28 18:21:03 +00:00
aiju
31ff4f925d add sshfs(4) manpage 2017-04-28 17:15:20 +00:00