]> git.lizzy.rs Git - plan9front.git/log
plan9front.git
9 years agokernel: reduce Page structure size by changing Page.cachectl[]
cinap_lenrek [Sat, 7 Feb 2015 01:52:23 +0000 (02:52 +0100)]
kernel: reduce Page structure size by changing Page.cachectl[]

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.

9 years agofplot: add modulus % operator
cinap_lenrek [Thu, 5 Feb 2015 18:55:46 +0000 (19:55 +0100)]
fplot: add modulus % operator

9 years agolibsec: add TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA client cipher suit support
cinap_lenrek [Thu, 5 Feb 2015 03:29:28 +0000 (04:29 +0100)]
libsec: add TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA client cipher suit support

9 years agoaux/vga: remove vbs/vbe from mode, use shs/ehs when sync is ment, prefer detailed...
cinap_lenrek [Thu, 5 Feb 2015 22:08:46 +0000 (23:08 +0100)]
aux/vga: remove vbs/vbe from mode, use shs/ehs when sync is ment, prefer 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.

9 years agofortunes: The NTP codebase is larger than the SSH codebase.
stanley lieber [Tue, 3 Feb 2015 02:30:07 +0000 (21:30 -0500)]
fortunes: The NTP codebase is larger than the SSH codebase.

9 years agoaux/vga: fix mistale :-)
cinap_lenrek [Mon, 2 Feb 2015 02:05:56 +0000 (03:05 +0100)]
aux/vga: fix mistale :-)

9 years agoaux/vga: use optional edid information to determine mode when vgadb fails
cinap_lenrek [Mon, 2 Feb 2015 01:58:59 +0000 (02:58 +0100)]
aux/vga: use optional edid information to determine mode when vgadb fails

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

9 years agoaux/vga: cleanup vesa code
cinap_lenrek [Sun, 1 Feb 2015 18:28:24 +0000 (19:28 +0100)]
aux/vga: cleanup vesa code

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.

9 years agomothra: people do not like it. reverting
cinap_lenrek [Sat, 31 Jan 2015 19:18:45 +0000 (20:18 +0100)]
mothra: people do not like it. reverting

9 years agomothra: wrap long text and images to fit
cinap_lenrek [Sat, 31 Jan 2015 19:01:24 +0000 (20:01 +0100)]
mothra: wrap long text and images to fit

9 years agokernel: increase size of palloc.mem[] user page bank array
cinap_lenrek [Fri, 30 Jan 2015 13:50:28 +0000 (14:50 +0100)]
kernel: increase size of palloc.mem[] user page bank array

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.

9 years agowifi: fix recvbeacon()
cinap_lenrek [Fri, 30 Jan 2015 12:41:23 +0000 (13:41 +0100)]
wifi: fix recvbeacon()

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.

9 years agowifi: ignore truncated tlv in beacon/probes
cinap_lenrek [Fri, 30 Jan 2015 01:00:07 +0000 (02:00 +0100)]
wifi: ignore truncated tlv in beacon/probes

9 years agofactotum(4): fix typo
cinap_lenrek [Thu, 29 Jan 2015 13:11:43 +0000 (14:11 +0100)]
factotum(4): fix typo

9 years agofactotum(4): document mschapv2 and wpapsk protocols
cinap_lenrek [Thu, 29 Jan 2015 12:57:27 +0000 (13:57 +0100)]
factotum(4): document mschapv2 and wpapsk protocols

9 years agotftpfs(8): fix manpage reference dhcp(8) -> dhcpd(8)
cinap_lenrek [Thu, 29 Jan 2015 12:21:12 +0000 (13:21 +0100)]
tftpfs(8): fix manpage reference dhcp(8) -> dhcpd(8)

9 years agoircrc(1): tlsclient(8) -> tlssrv(8)
cinap_lenrek [Thu, 29 Jan 2015 12:17:34 +0000 (13:17 +0100)]
ircrc(1): tlsclient(8) -> tlssrv(8)

9 years ago6in4(8): document ayiya
cinap_lenrek [Thu, 29 Jan 2015 12:16:08 +0000 (13:16 +0100)]
6in4(8): document ayiya

9 years agoircrc(8), ndb(8): fix manpage reference
cinap_lenrek [Thu, 29 Jan 2015 11:36:14 +0000 (12:36 +0100)]
ircrc(8), ndb(8): fix manpage reference

9 years agodevmnt: handle rpc buffer exhaustion on mntflushalloc()
cinap_lenrek [Tue, 27 Jan 2015 21:14:26 +0000 (22:14 +0100)]
devmnt: handle rpc buffer exhaustion on mntflushalloc()

this bug happens when the kernel runs out of mount rpc
buffers when allocating a flush rpc. in this case, mntflushalloc()
will errorjump out of mountio() leaving the currently in
flight rpc in the mount. the caller of mountrpc()/mountio()
frees the rpc thats still queued in the mount leaving
to interesting results.

for the fix, we add a waserror() arround mntflushalloc() and
handle the error case like a mount rpc failure which will
properly dequeue the rpc's in flight.

9 years agowpa: fix password avp padding, recognize wpa1 authentication oui
cinap_lenrek [Tue, 27 Jan 2015 13:09:24 +0000 (14:09 +0100)]
wpa: fix password avp padding, recognize wpa1 authentication oui

we have to padd the data portion in the password avp,
not add padding after the avp.

9 years agowpa: do not forward alert tls records, close connection
cinap_lenrek [Tue, 27 Jan 2015 09:56:56 +0000 (10:56 +0100)]
wpa: do not forward alert tls records, close connection

9 years agopc, efi loaders: erase characters when backspace is pressed
mischief [Mon, 26 Jan 2015 01:21:07 +0000 (17:21 -0800)]
pc, efi loaders: erase characters when backspace is pressed

9 years agowpa: cleanup, pad eap-ttls/pap password, zero passwords and key material after use
cinap_lenrek [Mon, 26 Jan 2015 00:26:42 +0000 (01:26 +0100)]
wpa: cleanup, pad eap-ttls/pap password, zero passwords and key material after use

9 years agowpa: experimental wpa2 enterprise support
cinap_lenrek [Sun, 25 Jan 2015 06:58:20 +0000 (07:58 +0100)]
wpa: experimental wpa2 enterprise support

this adds support for eap-peap/mschapv2 and eap-ttls/pap.

code has only been tested with freeradius and a cheap
access point, not tested with actual eduroam network.

9 years agofactotum: implement proto=mschapv2 client role
cinap_lenrek [Sun, 25 Jan 2015 06:49:50 +0000 (07:49 +0100)]
factotum: implement proto=mschapv2 client role

this is used for wpa2 enterprise peap/mschapv2. server role
is not implemented as that would require changing the
wire format on the auth server.

the naming is unfortunate as we already have proto=mschap2 which
really refers to ntlmv2.

9 years agoauth(2): fix prototype for auth_getinfo() in manual page
cinap_lenrek [Sun, 25 Jan 2015 06:40:52 +0000 (07:40 +0100)]
auth(2): fix prototype for auth_getinfo() in manual page

9 years agopc: dont handle pending floating point exception in fpsave thru FPOFF
cinap_lenrek [Fri, 23 Jan 2015 13:01:56 +0000 (14:01 +0100)]
pc: dont handle pending floating point exception in fpsave thru FPOFF

the FPOFF macro that follows the FXSAVE/FSAVE instructions in l.s
used to execute WAIT instruction when the TS flag was not set. this
is wrong and causes pending exceptions to be raised from fpsave which
is called from provsave() which holds up->rlock making it deadlock
when matherror() tries to postnote() to itself.

so making FPOFF non-waiting (just set TS flag).

we handle pending exception when restoring the context.

9 years agolibdraw: fix broken eenter()
cinap_lenrek [Sun, 18 Jan 2015 09:34:05 +0000 (10:34 +0100)]
libdraw: fix broken eenter()

eenter would go into a endless loop in the redraw avoidance case
because the label was misplaced.

9 years agovgadb: use X60t without hardware cursor (broken currently)
cinap_lenrek [Sat, 17 Jan 2015 04:15:59 +0000 (05:15 +0100)]
vgadb: use X60t without hardware cursor (broken currently)

9 years agoigfx: remove hardware cursor support for X60t, does not work
cinap_lenrek [Sat, 17 Jan 2015 04:14:23 +0000 (05:14 +0100)]
igfx: remove hardware cursor support for X60t, does not work

9 years agoigfx: fix wrong cursor position register address
cinap_lenrek [Sat, 17 Jan 2015 03:00:36 +0000 (04:00 +0100)]
igfx: fix wrong cursor position register address

9 years agoiwl: add "reset" ctl message to software tigger device reset
cinap_lenrek [Sat, 17 Jan 2015 00:52:24 +0000 (01:52 +0100)]
iwl: add "reset" ctl message to software tigger device reset

9 years agovgadb: add lcd2190uxp, x60t
stanley lieber [Fri, 16 Jan 2015 19:19:45 +0000 (14:19 -0500)]
vgadb: add lcd2190uxp, x60t

9 years agoigfx: determine amount of preallocated stolen graphics memory for hw cursor
cinap_lenrek [Fri, 16 Jan 2015 12:38:52 +0000 (13:38 +0100)]
igfx: determine amount of preallocated stolen graphics memory for hw cursor

allocate the hardware cursor plane at the end of
preallocated stolen graphics memory.

9 years agodevvga: use uintptr for VGAscr.paddr and VGAscr.storage
cinap_lenrek [Fri, 16 Jan 2015 10:36:11 +0000 (11:36 +0100)]
devvga: use uintptr for VGAscr.paddr and VGAscr.storage

some vga drivers use virtual addresses in VGAscr.storage,
so has to be uintptr sized for amd64.

9 years agoigfx: support for X60t with 1400x1050 panel
cinap_lenrek [Fri, 16 Jan 2015 06:55:38 +0000 (07:55 +0100)]
igfx: support for X60t with 1400x1050 panel

program secret plane size and position registers described as "reserved"
in g45_vol_3_register_0_0.pdf that was found by inspecting vesa bios
port traces.

also, we have to set 18:19 (Cursor/Dispaly/Overlay Planes Off) in
PIPExCONF while programming the planes on this card. this is what
vesa bios does on modeset.

9 years agowebcookies: only sync the jar when dirty on clunk
cinap_lenrek [Fri, 16 Jan 2015 03:46:52 +0000 (04:46 +0100)]
webcookies: only sync the jar when dirty on clunk

avoid sync the jar file when fids get clunked.
the only reason to sync the jar on clunk is when it has
been marked dirty (cookies added or deleted) and we
want to flush the changes to disk.

9 years agowebcookies: avoid rereading and rewriting the cookie jar file all the time, dont...
cinap_lenrek [Fri, 16 Jan 2015 03:04:55 +0000 (04:04 +0100)]
webcookies: avoid rereading and rewriting the cookie jar file all the time, dont return deleted cookies on search

- rewrite when jar->dirty != 0 (caller modified the in memory jar)
- reread when the jar->qid != stat(jar->file)->qid (on disk file changed)
- ignore deleted cookies in cookiesearch()

9 years agoigfx: cursor/plane pipe assign is G45 only, add magic dsp a toggle from enable sequence
cinap_lenrek [Tue, 13 Jan 2015 17:04:33 +0000 (18:04 +0100)]
igfx: cursor/plane pipe assign is G45 only, add magic dsp a toggle from enable sequence

9 years agokbfds: delete autogenerated latin1.h file when mklatin fails
cinap_lenrek [Mon, 12 Jan 2015 23:19:18 +0000 (00:19 +0100)]
kbfds: delete autogenerated latin1.h file when mklatin fails

9 years agoplan9.ini(8) man page: update links to iwn and ral firmware blobs
stanley lieber [Mon, 12 Jan 2015 19:23:32 +0000 (14:23 -0500)]
plan9.ini(8) man page: update links to iwn and ral firmware blobs

9 years agovgadb: add x301
mischief [Mon, 12 Jan 2015 17:52:45 +0000 (09:52 -0800)]
vgadb: add x301

9 years agoigfx: set the display/overlay/cursor plane override disbale bits for G45 (like bios)
cinap_lenrek [Mon, 12 Jan 2015 15:52:49 +0000 (16:52 +0100)]
igfx: set the display/overlay/cursor plane override disbale bits for G45 (like bios)

9 years agoigfx: fix typo, initialize more lvds bits for G45, T60 testing
cinap_lenrek [Mon, 12 Jan 2015 15:40:02 +0000 (16:40 +0100)]
igfx: fix typo, initialize more lvds bits for G45, T60 testing

9 years agovgadb: alias X200s for X200
cinap_lenrek [Mon, 12 Jan 2015 03:14:01 +0000 (04:14 +0100)]
vgadb: alias X200s for X200

9 years agoigfx: reverting previous change, pci id is for the second graphics controller pci...
cinap_lenrek [Mon, 12 Jan 2015 03:07:16 +0000 (04:07 +0100)]
igfx: reverting previous change, pci id is for the second graphics controller pci device

9 years agoigfx: support for X200 (thanks bigato)
cinap_lenrek [Mon, 12 Jan 2015 02:09:58 +0000 (03:09 +0100)]
igfx: support for X200 (thanks bigato)

9 years agoigfx: properly turn vga monitor off
cinap_lenrek [Mon, 12 Jan 2015 01:10:00 +0000 (02:10 +0100)]
igfx: properly turn vga monitor off

9 years agoigfx: aaand vga support for x200s :-)
cinap_lenrek [Mon, 12 Jan 2015 01:04:13 +0000 (02:04 +0100)]
igfx: aaand vga support for x200s :-)

9 years agoigfx: vga support on x230, fix fdi link setup, LG Flatron L1730P vgadb entry
cinap_lenrek [Mon, 12 Jan 2015 00:51:51 +0000 (01:51 +0100)]
igfx: vga support on x230, fix fdi link setup, LG Flatron L1730P vgadb entry

9 years agofix missing games/gba target in mkfile (thanks qu7uux)
cinap_lenrek [Sun, 11 Jan 2015 23:02:15 +0000 (00:02 +0100)]
fix missing games/gba target in mkfile (thanks qu7uux)

9 years agoigfx: only use mmio... left from debugging
cinap_lenrek [Sun, 11 Jan 2015 03:03:14 +0000 (04:03 +0100)]
igfx: only use mmio... left from debugging

9 years agoigfx: cleanup
cinap_lenrek [Sun, 11 Jan 2015 02:44:56 +0000 (03:44 +0100)]
igfx: cleanup

9 years agomerge
cinap_lenrek [Sun, 11 Jan 2015 02:37:07 +0000 (03:37 +0100)]
merge

9 years agoigfx: get edid information from lvds
cinap_lenrek [Sun, 11 Jan 2015 02:35:30 +0000 (03:35 +0100)]
igfx: get edid information from lvds

9 years agoip/ipconfig: set ndb database file with -f argument
mischief [Sat, 10 Jan 2015 19:27:45 +0000 (11:27 -0800)]
ip/ipconfig: set ndb database file with -f argument

9 years agoxargs(1) man page: rewritten -> implemented
stanley lieber [Sat, 10 Jan 2015 18:48:18 +0000 (13:48 -0500)]
xargs(1) man page: rewritten -> implemented

9 years agoxargs(1) man page: add HISTORY (thanks, jpm_)
stanley lieber [Sat, 10 Jan 2015 18:46:47 +0000 (13:46 -0500)]
xargs(1) man page: add HISTORY (thanks, jpm_)

9 years agoigfx: use mmio to access registers instead of pio, fix wrong igfxmmio segment size
cinap_lenrek [Sat, 10 Jan 2015 02:07:29 +0000 (03:07 +0100)]
igfx: use mmio to access registers instead of pio, fix wrong igfxmmio segment size

initially, pio was used to access registers so i didnt need
a kernel driver for initial testing.

pio does not work under efi, so use mmio to access registers.

9 years agomerge
cinap_lenrek [Sat, 10 Jan 2015 01:16:50 +0000 (02:16 +0100)]
merge

9 years agoigfx: perserve frame start delay "magic" bits 27:28 in pipe conf register
cinap_lenrek [Sat, 10 Jan 2015 01:15:30 +0000 (02:15 +0100)]
igfx: perserve frame start delay "magic" bits 27:28 in pipe conf register

it turns out, the "magic" bits 27:28 are the frame start
delay setting that need to be preserved.

9 years agolibdraw: don't redraw input box in enter/eenter when mouse is moved outside the rectangle
mischief [Fri, 9 Jan 2015 23:41:00 +0000 (15:41 -0800)]
libdraw: don't redraw input box in enter/eenter when mouse is moved outside the rectangle

prevents some flickering when devdraw is used over a high latency connection.

Fixes issue 236

9 years agoigfx: vgadb entries for x230 and x200s
cinap_lenrek [Fri, 9 Jan 2015 23:19:16 +0000 (00:19 +0100)]
igfx: vgadb entries for x230 and x200s

9 years agoigfx: implement hardware cursor
cinap_lenrek [Fri, 9 Jan 2015 21:23:25 +0000 (22:23 +0100)]
igfx: implement hardware cursor

this can even be used with the vesa driver, just
enable the cursor after mode switch like:

echo hwgc igfxhwgc >/dev/vgactl

9 years agoigfx: fix some comments
cinap_lenrek [Fri, 9 Jan 2015 02:18:44 +0000 (03:18 +0100)]
igfx: fix some comments

9 years agoigfx: aaaand the kernel part :(
cinap_lenrek [Fri, 9 Jan 2015 02:03:23 +0000 (03:03 +0100)]
igfx: aaaand the kernel part :(

9 years agoigfx: just kidding, heres the code :)
cinap_lenrek [Fri, 9 Jan 2015 01:58:14 +0000 (02:58 +0100)]
igfx: just kidding, heres the code :)

9 years agoigfx: work in progress intel graphics driver
cinap_lenrek [Fri, 9 Jan 2015 01:55:12 +0000 (02:55 +0100)]
igfx: work in progress intel graphics driver

this driver can modeset lvds on x200s and x230.
everything else is completely untested.
no hardware cursor implemented.
no vgadb entries are provided.

9 years agomerge
cinap_lenrek [Fri, 9 Jan 2015 01:45:14 +0000 (02:45 +0100)]
merge

9 years agovncs: add -A for no auth to usage
mischief [Wed, 7 Jan 2015 04:13:16 +0000 (20:13 -0800)]
vncs: add -A for no auth to usage

9 years agovncs: turn off auth with -A, do not require -c for -x
mischief [Tue, 6 Jan 2015 04:21:40 +0000 (20:21 -0800)]
vncs: turn off auth with -A, do not require -c for -x

9 years agovnc: put newlines in verbose messages
mischief [Tue, 6 Jan 2015 04:02:01 +0000 (20:02 -0800)]
vnc: put newlines in verbose messages

9 years agopool: more strict checktree() for poolcheck
cinap_lenrek [Mon, 5 Jan 2015 13:23:01 +0000 (14:23 +0100)]
pool: more strict checktree() for poolcheck

check that Free.next and Free.prev pointers are not nil.

check that Free.left and Free.right are Poison in non-tree nodes.

check that Free.left and Free.right are *not* Poison in tree nodes.

change Poison to 0xffffffffcafebabe for 64bit machines.

9 years agosdide: add vid/did for 82801IIH Intel Q35 IDE controller (thanks kenji)
cinap_lenrek [Sun, 4 Jan 2015 11:49:44 +0000 (12:49 +0100)]
sdide: add vid/did for 82801IIH Intel Q35 IDE controller (thanks kenji)

9 years agosdiahci: sanitize ahci pci bar
cinap_lenrek [Sun, 4 Jan 2015 03:26:58 +0000 (04:26 +0100)]
sdiahci: sanitize ahci pci bar

make sure the ahci pci bar is not in i/o space and has
the right size. also make sure Aport registers are within
the ahci bar range.

9 years agodevvga: disable hardware blanking when switching drivers, check softscreen
cinap_lenrek [Sat, 3 Jan 2015 17:33:35 +0000 (18:33 +0100)]
devvga: disable hardware blanking when switching drivers, check softscreen

we have to reset hwblank when switching drivers to
prevent the generic vgablank() to be called by
blankscreen().

remove code setting hwblank from vga drivers as
devvga will always force hwblank to be 1 or 0
depending on if the driver provides a native blanking
routine.

set hwaccel to 1 when the driver provides native fill
and scroll routines independent of softscreen being
disabled. this allows hw acceleration to be used when
softscreen gets switched off.

9 years agolucidasans font: restore remaining truncated *unicode.*.font files
stanley lieber [Sat, 3 Jan 2015 03:56:12 +0000 (22:56 -0500)]
lucidasans font: restore remaining truncated *unicode.*.font files

9 years agolucidasans font: restore truncated unicode.*.font files (thanks, mischief)
stanley lieber [Sat, 3 Jan 2015 03:53:59 +0000 (22:53 -0500)]
lucidasans font: restore truncated unicode.*.font files (thanks, mischief)

9 years agobin(2): fix tab formatting
mischief [Thu, 1 Jan 2015 07:45:05 +0000 (23:45 -0800)]
bin(2): fix tab formatting

9 years agoaux/realemu: remove unused global
ftrvxmtrx [Fri, 2 Jan 2015 18:07:40 +0000 (19:07 +0100)]
aux/realemu: remove unused global

9 years agoaux/vga: revert vbegetmode
ftrvxmtrx [Fri, 2 Jan 2015 18:07:01 +0000 (19:07 +0100)]
aux/vga: revert vbegetmode

9 years agodevdraw: remove broken color palette blanking
cinap_lenrek [Fri, 2 Jan 2015 17:48:22 +0000 (18:48 +0100)]
devdraw: remove broken color palette blanking

the code did not work as drawactive() was called with
the drawlock held. instead of fixing, the code for
palette blanking has been removed.

9 years agodevvga: better way to prevent blank hwaccel race
cinap_lenrek [Fri, 2 Jan 2015 16:07:47 +0000 (17:07 +0100)]
devvga: better way to prevent blank hwaccel race

don't hold drawlock duing vga enable and disable, but just zero
the function pointers under drawlock *before* disabling the vga
device.

holding the drawlock while calling out into enable and disable
is not a good idea. with vgavesa, this might deadlock when
userspace realemu tries to print in a rio window with vgavesa.

9 years agovgavesa: get rid of the vesa kproc
cinap_lenrek [Fri, 2 Jan 2015 14:29:15 +0000 (15:29 +0100)]
vgavesa: get rid of the vesa kproc

in 9front, screen blanking is always initiated from process context,
so there is no need for a kproc anymore.

care has been taken for the race between vesadisable() and vesablank()
by acquiering the drawlock prior calling scr->dev->enable() and
scr->dev->disable(). this also has the side effect of accelerated
fills and scrolls not being called during device disable.

9 years agoaux/vga: do not set mode 3 unless connected
ftrvxmtrx [Fri, 2 Jan 2015 12:29:58 +0000 (13:29 +0100)]
aux/vga: do not set mode 3 unless connected

9 years agoaux/vga: fix switching with different mode
ftrvxmtrx [Fri, 2 Jan 2015 12:24:27 +0000 (13:24 +0100)]
aux/vga: fix switching with different mode

Prior to switching display, switch to text mode 3, which
is supported by anything, then set display, search for the
desired mode, load it if found. If not found, set the display
to the old one and switch to the old mode back.

9 years agonedmail: do not recursively plumb email multipart attachments in print command
cinap_lenrek [Fri, 2 Jan 2015 11:05:35 +0000 (12:05 +0100)]
nedmail: do not recursively plumb email multipart attachments in print command

9 years agonusb/kb: fix alt/altgr being swapped for some reason
ftrvxmtrx [Thu, 1 Jan 2015 21:53:17 +0000 (22:53 +0100)]
nusb/kb: fix alt/altgr being swapped for some reason

9 years agoaux/vga: display switching for Intel adapters
ftrvxmtrx [Thu, 1 Jan 2015 15:19:24 +0000 (16:19 +0100)]
aux/vga: display switching for Intel adapters

Magic was discovered by abusing INT 10 on several machines
while switching cables back and forth and watching the end result.

9 years agozynq: differentiate various pagefault types in faultarm()
cinap_lenrek [Thu, 1 Jan 2015 10:32:00 +0000 (11:32 +0100)]
zynq: differentiate various pagefault types in faultarm()

9 years agotcs: update charsets. Fixes issue #214
ftrvxmtrx [Thu, 1 Jan 2015 10:20:23 +0000 (11:20 +0100)]
tcs: update charsets. Fixes issue #214

9 years agohjfs: fix missing superblock dirty mark when reaming
cinap_lenrek [Thu, 1 Jan 2015 22:18:07 +0000 (23:18 +0100)]
hjfs: fix missing superblock dirty mark when reaming

9 years agohjfs: make -m default 4 MB instead of 40 KB
aiju [Wed, 31 Dec 2014 19:04:10 +0000 (20:04 +0100)]
hjfs: make -m default 4 MB instead of 40 KB

9 years agoterminus font: update .font files, remove references to old vga bitmaps
stanley lieber [Tue, 30 Dec 2014 06:17:26 +0000 (01:17 -0500)]
terminus font: update .font files, remove references to old vga bitmaps

9 years agolucidasans font: update font files, remove references to old vga bitmaps
stanley lieber [Wed, 31 Dec 2014 04:44:06 +0000 (23:44 -0500)]
lucidasans font: update font files, remove references to old vga bitmaps

9 years agogermgoth/unicode.12.font: update mappings, remove references to old vga bitmaps
stanley lieber [Tue, 30 Dec 2014 23:27:25 +0000 (18:27 -0500)]
germgoth/unicode.12.font: update mappings, remove references to old vga bitmaps

9 years agobring back nice control character glyphs in vga font
cinap_lenrek [Tue, 30 Dec 2014 17:58:59 +0000 (18:58 +0100)]
bring back nice control character glyphs in vga font

9 years agozynq: enable branch prediction
cinap_lenrek [Tue, 30 Dec 2014 14:49:44 +0000 (15:49 +0100)]
zynq: enable branch prediction

9 years agozynq: implement µs()
cinap_lenrek [Tue, 30 Dec 2014 14:17:27 +0000 (15:17 +0100)]
zynq: implement µs()