]> git.lizzy.rs Git - plan9front.git/log
plan9front.git
6 years agonusb/*: cleanup
cinap_lenrek [Mon, 31 Jul 2017 13:29:08 +0000 (15:29 +0200)]
nusb/*: cleanup

6 years agonusb/usbd: support for usb3 hubs
cinap_lenrek [Mon, 31 Jul 2017 12:38:39 +0000 (14:38 +0200)]
nusb/usbd: support for usb3 hubs

6 years agolibregexp: fix lexer so it doesnt move past the string when it gets a \ escape
cinap_lenrek [Mon, 31 Jul 2017 04:56:22 +0000 (06:56 +0200)]
libregexp: fix lexer so it doesnt move past the string when it gets a \ escape

6 years agoxhci: experimental usb3 support
cinap_lenrek [Mon, 31 Jul 2017 01:22:23 +0000 (03:22 +0200)]
xhci: experimental usb3 support

6 years agonusb/usbd: create endpoint files for conf #1, usb3 preparation
cinap_lenrek [Mon, 31 Jul 2017 01:19:24 +0000 (03:19 +0200)]
nusb/usbd: create endpoint files for conf #1, usb3 preparation

6 years agousbehci: fix crash in cancelisoio() for highspeed device due to wrong pollival
cinap_lenrek [Mon, 31 Jul 2017 01:07:14 +0000 (03:07 +0200)]
usbehci: fix crash in cancelisoio() for highspeed device due to wrong pollival

6 years agopc, pc64: enable usbxhci in the configuration
cinap_lenrek [Fri, 28 Jul 2017 23:15:05 +0000 (01:15 +0200)]
pc, pc64: enable usbxhci in the configuration

6 years agousbxhci: simplify xecp()
cinap_lenrek [Fri, 28 Jul 2017 23:12:32 +0000 (01:12 +0200)]
usbxhci: simplify xecp()

6 years agousbxhci: implement controller handoff, ignore usb3.0 ports, honor pollival for isochr...
cinap_lenrek [Fri, 28 Jul 2017 23:02:23 +0000 (01:02 +0200)]
usbxhci: implement controller handoff, ignore usb3.0 ports, honor pollival for isochronous endpoints

6 years agousbxhci: basic iso write support (usb soundcard playback)
cinap_lenrek [Mon, 24 Jul 2017 21:48:50 +0000 (23:48 +0200)]
usbxhci: basic iso write support (usb soundcard playback)

6 years agousb: fix wrong pollival calculation in setmaxpkt()
cinap_lenrek [Mon, 24 Jul 2017 21:47:55 +0000 (23:47 +0200)]
usb: fix wrong pollival calculation in setmaxpkt()

6 years agousbxhci: handle changing maxpkt on control endpoint by reevaluating endpoint context
cinap_lenrek [Sat, 22 Jul 2017 17:35:32 +0000 (19:35 +0200)]
usbxhci: handle changing maxpkt on control endpoint by reevaluating endpoint context

while endpoints != 0 are opend after the device descriptor has been
parsed and the endpoint properties like maxpkt have been set, the
control endpoint is opend with a guessed maxpkt value. once the first
8 bytes of the descriptor have been read by usbd, maxpkt gets set and
we need to reevaluate the control endpoint 0 context to update the value.

6 years agousbxhci: use physical register addresses for matcing controllers and printing. simpli...
cinap_lenrek [Sat, 22 Jul 2017 14:37:05 +0000 (16:37 +0200)]
usbxhci: use physical register addresses for matcing controllers and printing. simplify endpoint slot initialization.

6 years agousbohci, usbuhci, usbehci: use physical address of registers for matching controllers...
cinap_lenrek [Sat, 22 Jul 2017 14:35:13 +0000 (16:35 +0200)]
usbohci, usbuhci, usbehci: use physical address of registers for matching controllers and printing

7 years agokernel: fix bounds check in screenputc()
cinap_lenrek [Thu, 20 Jul 2017 19:03:00 +0000 (21:03 +0200)]
kernel: fix bounds check in screenputc()

7 years agousbxhci: implement command timeouts and aborts, serialize unstall
cinap_lenrek [Thu, 20 Jul 2017 17:57:14 +0000 (19:57 +0200)]
usbxhci: implement command timeouts and aborts, serialize unstall

7 years agousbxhci: better approach to unstalling endpoint and fixup td ring
cinap_lenrek [Mon, 17 Jul 2017 19:10:25 +0000 (21:10 +0200)]
usbxhci: better approach to unstalling endpoint and fixup td ring

instead of guessing where the controllers dequeue pointer went,
stop the endpoint and then explicitely set te dequeue pointer to
the next write td position. that way we do not need to fix the cycle
bit in the td's and dont need to rely on if the controller
advanced the dequeue pointer after a stall or not.

add ctx and slot back pointers to ring.

7 years agohpost: delimit @filenames by newline so files with whitespace aren’t mangled
BurnZeZ [Mon, 17 Jul 2017 04:56:09 +0000 (04:56 +0000)]
hpost: delimit @filenames by newline so files with whitespace aren’t mangled

7 years agohpost: fix field content mangling when newlines are present
BurnZeZ [Mon, 17 Jul 2017 04:34:14 +0000 (04:34 +0000)]
hpost: fix field content mangling when newlines are present

7 years agopc kernel: mkfile target usbehcipc.$O needs ../port/usb.h, add usbxhci.$O
cinap_lenrek [Sun, 16 Jul 2017 20:33:24 +0000 (22:33 +0200)]
pc kernel: mkfile target usbehcipc.$O needs ../port/usb.h, add usbxhci.$O

7 years agousbxhci: commit work in progress xhci driver, no config yet
cinap_lenrek [Sun, 16 Jul 2017 20:29:29 +0000 (22:29 +0200)]
usbxhci: commit work in progress xhci driver, no config yet

7 years ago/lib/{rob, rsc, theo}: Yup.
stanley lieber [Sun, 2 Jul 2017 19:49:44 +0000 (15:49 -0400)]
/lib/{rob, rsc, theo}: Yup.

7 years agoprint(2): clean up vlong flag description
Ethan Grammatikidis [Sun, 2 Jul 2017 18:12:50 +0000 (19:12 +0100)]
print(2): clean up vlong flag description

7 years agorc(1): catch up with a change made long before 9front
Ethan Grammatikidis [Sat, 1 Jul 2017 15:10:57 +0000 (16:10 +0100)]
rc(1): catch up with a change made long before 9front

7 years agopc(1) clarification
Ethan Grammatikidis [Sat, 1 Jul 2017 15:02:18 +0000 (16:02 +0100)]
pc(1) clarification

7 years agozynq: simplify initcode stack setup (just do it in init0 when the stack is mapped)
cinap_lenrek [Wed, 28 Jun 2017 16:57:13 +0000 (18:57 +0200)]
zynq: simplify initcode stack setup (just do it in init0 when the stack is mapped)

7 years agokernel: pass bootargs also in multiboot command line, retire the bootline mechanism...
cinap_lenrek [Wed, 28 Jun 2017 16:56:16 +0000 (18:56 +0200)]
kernel: pass bootargs also in multiboot command line, retire the bootline mechanism to pass arguments to /boot/boot

7 years agochange icanhasvmx to report extra info only with -v
aiju [Tue, 27 Jun 2017 09:29:37 +0000 (09:29 +0000)]
change icanhasvmx to report extra info only with -v

7 years agovmx(1): I/O string instructions, incomplete support for IDE disks, misc fixes
aiju [Tue, 27 Jun 2017 09:21:30 +0000 (09:21 +0000)]
vmx(1): I/O string instructions, incomplete support for IDE disks, misc fixes

7 years agovmx: fix build on non-x86 architectures (switch vlong)
aiju [Mon, 26 Jun 2017 22:24:00 +0000 (22:24 +0000)]
vmx: fix build on non-x86 architectures (switch vlong)

7 years agolibfis: fix inverted CHS bit
aiju [Sun, 25 Jun 2017 23:23:56 +0000 (23:23 +0000)]
libfis: fix inverted CHS bit

7 years agodevvmx: add support for SG_STICKY segments
cinap_lenrek [Sun, 25 Jun 2017 20:57:47 +0000 (22:57 +0200)]
devvmx: add support for SG_STICKY segments

7 years agopc, pc64: support for multiboot framebuffer, common bootargs and multiboot code
cinap_lenrek [Sun, 25 Jun 2017 20:22:58 +0000 (22:22 +0200)]
pc, pc64: support for multiboot framebuffer, common bootargs and multiboot code

7 years agoaux/vga: simplify vesa by adding rgbmask2chan() function
cinap_lenrek [Sun, 25 Jun 2017 20:14:52 +0000 (22:14 +0200)]
aux/vga: simplify vesa by adding rgbmask2chan() function

7 years agomerge
cinap_lenrek [Thu, 22 Jun 2017 18:48:14 +0000 (20:48 +0200)]
merge

7 years agoupas/fs: handle plumbing for new messages for concurrent index updates
cinap_lenrek [Thu, 22 Jun 2017 18:46:04 +0000 (20:46 +0200)]
upas/fs: handle plumbing for new messages for concurrent index updates

when multiple upas/fs instances are running on the same index,
another upas/fs could have written the index, but we still want
to plumb the message.

so we introduce another cstate flag "Cnew" that is set when a
message that we havnt seen before by rdidx().

7 years agovmx(1): fix translateflat on 64-bit
aiju [Thu, 22 Jun 2017 07:31:35 +0000 (07:31 +0000)]
vmx(1): fix translateflat on 64-bit

7 years agodevvmx: add support for extrap command to configure halting on exceptions
aiju [Wed, 21 Jun 2017 22:19:14 +0000 (22:19 +0000)]
devvmx: add support for extrap command to configure halting on exceptions

7 years agovmx(1): add support for (so far) crude 9p debugging fs; add gdb stub; clean up linux...
aiju [Wed, 21 Jun 2017 22:18:26 +0000 (22:18 +0000)]
vmx(1): add support for (so far) crude 9p debugging fs; add gdb stub; clean up linux gdt code

7 years agodevvmx: error handling in clearmeminfo
aiju [Wed, 21 Jun 2017 09:59:32 +0000 (09:59 +0000)]
devvmx: error handling in clearmeminfo

7 years agodevvmx: remember segment names and free segments properly
aiju [Wed, 21 Jun 2017 09:16:43 +0000 (09:16 +0000)]
devvmx: remember segment names and free segments properly

7 years agosegment(3): document sticky segment type
cinap_lenrek [Tue, 20 Jun 2017 20:28:30 +0000 (22:28 +0200)]
segment(3): document sticky segment type

7 years agokernel: add support for sticky segments (cached, preallocated, never paged)
cinap_lenrek [Tue, 20 Jun 2017 19:53:45 +0000 (21:53 +0200)]
kernel: add support for sticky segments (cached, preallocated, never paged)

7 years agovmx(1): obsdfb: check if curmode is nil
aiju [Tue, 20 Jun 2017 18:21:47 +0000 (18:21 +0000)]
vmx(1): obsdfb: check if curmode is nil

7 years agovmx(1): round up frame buffer size to whole pages, ignore vga access in linear frameb...
aiju [Tue, 20 Jun 2017 18:20:25 +0000 (18:20 +0000)]
vmx(1): round up frame buffer size to whole pages, ignore vga access in linear framebuffer, tell openbsd about framebuffer

7 years agovmx(1): clean up region handling code; changes to support amd64
aiju [Tue, 20 Jun 2017 15:15:53 +0000 (15:15 +0000)]
vmx(1): clean up region handling code; changes to support amd64

7 years agopc, pc64: adapt devvmx to work on pc64
aiju [Tue, 20 Jun 2017 15:10:08 +0000 (15:10 +0000)]
pc, pc64: adapt devvmx to work on pc64

7 years agomerge
cinap_lenrek [Mon, 19 Jun 2017 18:58:44 +0000 (20:58 +0200)]
merge

7 years ago8l, 6l: get .frame offset right undoing $-4 hack
cinap_lenrek [Mon, 19 Jun 2017 18:56:47 +0000 (20:56 +0200)]
8l, 6l: get .frame offset right undoing $-4 hack

7 years agovmx(1), vmx(3): update manpages
aiju [Mon, 19 Jun 2017 18:41:34 +0000 (18:41 +0000)]
vmx(1), vmx(3): update manpages

7 years agoktrace(1): handle amd64 stacktraces correctly
aiju [Mon, 19 Jun 2017 17:22:41 +0000 (17:22 +0000)]
ktrace(1): handle amd64 stacktraces correctly

7 years agovmx(1): i8042: translation changes reported keyboard id
aiju [Mon, 19 Jun 2017 11:06:26 +0000 (11:06 +0000)]
vmx(1): i8042: translation changes reported keyboard id

7 years agovmx(1): linux kernel loading; PIT fixes to support linux; support VGA 0x3D4 word...
aiju [Sun, 18 Jun 2017 22:17:35 +0000 (22:17 +0000)]
vmx(1): linux kernel loading; PIT fixes to support linux; support VGA 0x3D4 word writes; support sending virtio ethernet packets to a file and prepending snoopy headers

7 years agodevvmx: fix CR0/CR4 readout; also don't exit on PAUSE instruction
aiju [Sun, 18 Jun 2017 22:13:20 +0000 (22:13 +0000)]
devvmx: fix CR0/CR4 readout; also don't exit on PAUSE instruction

7 years agoremove /sys/lib/##redacted##.##redacted## (thanks ##redacted##)
cinap_lenrek [Sun, 18 Jun 2017 20:28:45 +0000 (22:28 +0200)]
remove /sys/lib/##redacted##.##redacted## (thanks ##redacted##)

7 years agoauthsrv(6): don't say old p9any isnt in use anymore...
cinap_lenrek [Sun, 18 Jun 2017 20:21:46 +0000 (22:21 +0200)]
authsrv(6): don't say old p9any isnt in use anymore...

7 years agoauth/factotum: complete p9any v.2 server protocol, but don't enable it.
cinap_lenrek [Sun, 18 Jun 2017 19:59:16 +0000 (21:59 +0200)]
auth/factotum: complete p9any v.2 server protocol, but don't enable it.

7 years agoupas/fs: work in progress...
cinap_lenrek [Sun, 18 Jun 2017 16:52:54 +0000 (18:52 +0200)]
upas/fs: work in progress...

get plumbing logic out of mailbox drivers, all handled from
syncmbox() now. avoid reentrancy in syncmbox().

store attachment filename in index, so that we can return it
in mail info without fetching headers. (used to return blank
filename when read out of the index messing up attachments in
nedmail).

maintain Message.size for attachments.

get rid of string "refs" and just have a simple string intern
table (only used for Message.type and Message.charset).

Message.replyto and Message.filename are owned by the index,
so don't free in delmessage().

7 years agovmx(1): fix '-v text'
aiju [Sun, 18 Jun 2017 01:51:28 +0000 (01:51 +0000)]
vmx(1): fix '-v text'

7 years agovmx(1): don't zero all memory, don't abandon uart on eof, sleep before transmitting...
aiju [Sat, 17 Jun 2017 23:30:23 +0000 (23:30 +0000)]
vmx(1): don't zero all memory, don't abandon uart on eof, sleep before transmitting uart data

7 years agovmx(1): fix non-vesa framebuffer mode
aiju [Sat, 17 Jun 2017 22:52:13 +0000 (22:52 +0000)]
vmx(1): fix non-vesa framebuffer mode

7 years agovmx(1): support debug instructions
aiju [Sat, 17 Jun 2017 22:50:03 +0000 (22:50 +0000)]
vmx(1): support debug instructions

7 years agodevvmx: support debug registers; simplify assembly
aiju [Sat, 17 Jun 2017 22:38:16 +0000 (22:38 +0000)]
devvmx: support debug registers; simplify assembly

7 years agovmx: VESA support and other misc I/O improvements
aiju [Sat, 17 Jun 2017 19:47:04 +0000 (19:47 +0000)]
vmx: VESA support and other misc I/O improvements

7 years agocorrect the greatest omission
aiju [Fri, 16 Jun 2017 08:07:25 +0000 (08:07 +0000)]
correct the greatest omission

7 years agovmx: complete cmos
aiju [Thu, 15 Jun 2017 15:59:02 +0000 (15:59 +0000)]
vmx: complete cmos

7 years agovmx: implement virtio reset
aiju [Thu, 15 Jun 2017 15:58:52 +0000 (15:58 +0000)]
vmx: implement virtio reset

7 years agovmx: obsd: load kernel symbol table and allow setting root device
aiju [Thu, 15 Jun 2017 15:58:25 +0000 (15:58 +0000)]
vmx: obsd: load kernel symbol table and allow setting root device

7 years agovmx: fix pic 'specific eoi' bug, fix kbd bug, add fake IDE and floppy controller
aiju [Thu, 15 Jun 2017 07:42:57 +0000 (07:42 +0000)]
vmx: fix pic 'specific eoi' bug, fix kbd bug, add fake IDE and floppy controller

7 years agovmx: openbsd support: parse more options
aiju [Thu, 15 Jun 2017 07:41:51 +0000 (07:41 +0000)]
vmx: openbsd support: parse more options

7 years agovmx: fix virtio bugs
aiju [Thu, 15 Jun 2017 07:41:26 +0000 (07:41 +0000)]
vmx: fix virtio bugs

7 years agovmx: remove debugging print
aiju [Wed, 14 Jun 2017 18:18:44 +0000 (18:18 +0000)]
vmx: remove debugging print

7 years agovmx: support EFER and PAT access
aiju [Wed, 14 Jun 2017 17:42:25 +0000 (17:42 +0000)]
vmx: support EFER and PAT access

7 years agovmx: slightly more vga support
aiju [Wed, 14 Jun 2017 17:41:51 +0000 (17:41 +0000)]
vmx: slightly more vga support

7 years agovmx: improve PIT/keyboard support
aiju [Wed, 14 Jun 2017 17:41:32 +0000 (17:41 +0000)]
vmx: improve PIT/keyboard support

7 years agovmx: support loading openbsd kernels
aiju [Wed, 14 Jun 2017 17:40:48 +0000 (17:40 +0000)]
vmx: support loading openbsd kernels

7 years agodevvmx: support pat and efer registers
aiju [Wed, 14 Jun 2017 17:38:01 +0000 (17:38 +0000)]
devvmx: support pat and efer registers

7 years agoadd vmx documentation
aiju [Tue, 13 Jun 2017 14:19:42 +0000 (14:19 +0000)]
add vmx documentation

7 years agoadd vmx(1)
aiju [Tue, 13 Jun 2017 14:18:14 +0000 (14:18 +0000)]
add vmx(1)

7 years agopc: add vmx device
aiju [Tue, 13 Jun 2017 14:15:09 +0000 (14:15 +0000)]
pc: add vmx device

7 years agopc/pc64: keep shadow copy of DR7 in Mach and use that to check whether we need to...
aiju [Tue, 13 Jun 2017 00:10:36 +0000 (00:10 +0000)]
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()

7 years agoremove accidentally committed reference to devvmx
aiju [Mon, 12 Jun 2017 23:03:40 +0000 (23:03 +0000)]
remove accidentally committed reference to devvmx

7 years agopc/pc64: debugexc: ignore exception if in kernel mode and can't get hold of up->debug
aiju [Mon, 12 Jun 2017 22:58:25 +0000 (22:58 +0000)]
pc/pc64: debugexc: ignore exception if in kernel mode and can't get hold of up->debug

7 years agoacid(1), proc(3): document watchpoints
aiju [Mon, 12 Jun 2017 20:31:04 +0000 (20:31 +0000)]
acid(1), proc(3): document watchpoints

7 years agoxd: use new bio magic to make -u more efficient
aiju [Mon, 12 Jun 2017 19:56:57 +0000 (19:56 +0000)]
xd: use new bio magic to make -u more efficient

7 years agoadd aux/icanhasvmx
aiju [Mon, 12 Jun 2017 19:54:31 +0000 (19:54 +0000)]
add aux/icanhasvmx

7 years agopc/pc64: reset DR7 in mmurelease
aiju [Mon, 12 Jun 2017 19:46:25 +0000 (19:46 +0000)]
pc/pc64: reset DR7 in mmurelease

7 years agoaux/cpuid: decode family and model bitfields
aiju [Mon, 12 Jun 2017 19:36:52 +0000 (19:36 +0000)]
aux/cpuid: decode family and model bitfields

7 years agoacid: fix goofup
aiju [Mon, 12 Jun 2017 19:30:56 +0000 (19:30 +0000)]
acid: fix goofup

7 years agoacid: watchpoint support
aiju [Mon, 12 Jun 2017 19:29:20 +0000 (19:29 +0000)]
acid: watchpoint support

7 years agoacid: provide hooks 'procattach' and 'dying'
aiju [Mon, 12 Jun 2017 19:28:27 +0000 (19:28 +0000)]
acid: provide hooks 'procattach' and 'dying'

7 years agoacid: always create proclist variable
aiju [Mon, 12 Jun 2017 19:27:49 +0000 (19:27 +0000)]
acid: always create proclist variable

7 years agoacid: add getfields() builtin
aiju [Mon, 12 Jun 2017 19:24:32 +0000 (19:24 +0000)]
acid: add getfields() builtin

7 years agokernel: reset nwatchpt in pexit
aiju [Mon, 12 Jun 2017 19:19:05 +0000 (19:19 +0000)]
kernel: reset nwatchpt in pexit

7 years agokernel: add support for hardware watchpoints
aiju [Mon, 12 Jun 2017 19:03:07 +0000 (19:03 +0000)]
kernel: add support for hardware watchpoints

7 years agopc64: set error code and trap fields in Ureg* on syscalls
aiju [Mon, 12 Jun 2017 17:09:11 +0000 (17:09 +0000)]
pc64: set error code and trap fields in Ureg* on syscalls

7 years agoethervirtio: report correct length; fail gracefully if we can't initialize queues
aiju [Mon, 12 Jun 2017 11:25:12 +0000 (11:25 +0000)]
ethervirtio: report correct length; fail gracefully if we can't initialize queues

7 years ago6l: support MOV to/from DR[1-3]
aiju [Sun, 11 Jun 2017 22:29:33 +0000 (22:29 +0000)]
6l: support MOV to/from DR[1-3]

7 years ago8l: support MOV from/to DR[1-3]
aiju [Sun, 11 Jun 2017 22:09:57 +0000 (22:09 +0000)]
8l: support MOV from/to DR[1-3]

7 years agostats: get rid of the legacy import fallback
cinap_lenrek [Thu, 8 Jun 2017 07:08:59 +0000 (09:08 +0200)]
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.