]> git.lizzy.rs Git - plan9front.git/log
plan9front.git
7 years agoupas/common: deliver mail to mdir as .tmp file and rename after it has been fully...
cinap_lenrek [Sat, 8 Apr 2017 20:50:17 +0000 (22:50 +0200)]
upas/common: deliver mail to mdir as .tmp file and rename after it has been fully written

theres a race condition when mail delivery to mdir is slow,
then upas/fs sees partial mail file and caches the truncated
file size.

to avoid this, delivery will create the new mail file with
the .tmp extension (which is ignored by upas/fs) and after
everything has been written, rename it to the final name.

7 years agokernel: avoid waserror() botch in devwalk (from drawterm, thanks aiju)
cinap_lenrek [Tue, 4 Apr 2017 22:34:07 +0000 (00:34 +0200)]
kernel: avoid waserror() botch in devwalk (from drawterm, thanks aiju)

calculate alloc flag before waserror(), as compilers like
gcc will not notice the value changing later because
setjump() restores the old value due to callee-saves.

change is applies here to make it easier to merge with
drawterm.

thanks to aiju for debugging this; used to cause drawterm
memory leak until compiled with gcc -O0.

7 years agokernel: fix memory leak in checkpagerefs() debug function (thanks aiju)
cinap_lenrek [Tue, 4 Apr 2017 18:13:31 +0000 (20:13 +0200)]
kernel: fix memory leak in checkpagerefs() debug function (thanks aiju)

7 years agotlshand: simplify tlsReadN()
cinap_lenrek [Tue, 4 Apr 2017 17:01:57 +0000 (19:01 +0200)]
tlshand: simplify tlsReadN()

7 years agotlshand: fix mpint to bytes conversion, reorganize send/recv buffer, check for overfl...
cinap_lenrek [Mon, 3 Apr 2017 23:59:17 +0000 (01:59 +0200)]
tlshand: fix mpint to bytes conversion, reorganize send/recv buffer, check for overflow in msgSend()

when converting mpint to bytes, always pad it to the size of
the modulus (RSA,DHE,ECDHE). mptobytes() now takes a byte len
parameter which the caller usually calculates from the group
modulus using mpsignif(). this bug sometimes caused "bad record mac"
after the handshake.

use a shared buffer, given that msgSend()/msgRecv() don't overlap
we can use the first half for sending, and the top half for
receiving, shifting down as neccesary. the space beween sendp and
recvp is free.

explicitely check for overflow in msgSend().

7 years agomerge
cinap_lenrek [Mon, 3 Apr 2017 00:50:36 +0000 (02:50 +0200)]
merge

7 years agotlshand: fix ECDHE and DHE for SSLv3
cinap_lenrek [Mon, 3 Apr 2017 00:48:47 +0000 (02:48 +0200)]
tlshand: fix ECDHE and DHE for SSLv3

7 years agofix typo in 9p(2) manpage
aiju [Mon, 3 Apr 2017 00:11:40 +0000 (00:11 +0000)]
fix typo in 9p(2) manpage

7 years agodevvga: remove unused copy of checkport() function
cinap_lenrek [Sun, 2 Apr 2017 18:17:44 +0000 (20:17 +0200)]
devvga: remove unused copy of checkport() function

7 years agodevvga: fix mistake
cinap_lenrek [Sun, 2 Apr 2017 18:10:44 +0000 (20:10 +0200)]
devvga: fix mistake

7 years agodevvga: include hwgc in vgactl file
cinap_lenrek [Sun, 2 Apr 2017 18:08:15 +0000 (20:08 +0200)]
devvga: include hwgc in vgactl file

7 years agoaux/wpa: go to background when not prompting, handle open networks
cinap_lenrek [Sun, 2 Apr 2017 17:05:56 +0000 (19:05 +0200)]
aux/wpa: go to background when not prompting, handle open networks

7 years agopc(1): fix memory leak and add clog() function
aiju [Sun, 2 Apr 2017 14:47:23 +0000 (14:47 +0000)]
pc(1): fix memory leak and add clog() function

7 years agonusb/lib: make usbcmd() return value symmetic; returning size of data phase (if any...
cinap_lenrek [Sat, 1 Apr 2017 20:19:58 +0000 (22:19 +0200)]
nusb/lib: make usbcmd() return value symmetic; returning size of data phase (if any) (thanks aiju)

usbcmd() with Rh2d used to return the command size (8+ndata) wile returning
only ndata for Rd2h. this changes it to always return ndata for Rh2d. it
mostly doesnt matter as Rh2d callers only check r < 0 for error, but this
makes the interface symmetic.

7 years agohjfs: avoid 8c "non-interruptable temporary" warning
cinap_lenrek [Sat, 1 Apr 2017 13:21:28 +0000 (15:21 +0200)]
hjfs: avoid 8c "non-interruptable temporary" warning

7 years agochgrp: remove unused function declaration (thanks archeus)
aiju [Sat, 1 Apr 2017 09:01:26 +0000 (09:01 +0000)]
chgrp: remove unused function declaration (thanks archeus)

7 years agogames/blit: remove strange debugging line
aiju [Sat, 1 Apr 2017 08:57:03 +0000 (08:57 +0000)]
games/blit: remove strange debugging line

7 years agondb/dns: double Maxretries for long cname redirection chains
cinap_lenrek [Sat, 1 Apr 2017 01:35:30 +0000 (03:35 +0200)]
ndb/dns: double Maxretries for long cname redirection chains

7 years agonusb/serial: pl2303: better error handling
aiju [Fri, 31 Mar 2017 20:20:25 +0000 (20:20 +0000)]
nusb/serial: pl2303: better error handling

7 years agomerge
cinap_lenrek [Thu, 30 Mar 2017 21:39:03 +0000 (23:39 +0200)]
merge

7 years agosdnvme: enable in pcf, pccpuf, pc64 kernel configuration
cinap_lenrek [Thu, 30 Mar 2017 21:37:28 +0000 (23:37 +0200)]
sdnvme: enable in pcf, pccpuf, pc64 kernel configuration

7 years agosdnvme: don't write completion queue doorbell register when nothing has been processed
cinap_lenrek [Thu, 30 Mar 2017 21:33:46 +0000 (23:33 +0200)]
sdnvme: don't write completion queue doorbell register when nothing has been processed

turns out on real hardware, the front falls off if we write
the completion queue doorbell registers without consuming
an entry. so only write the register when we have processed
something.

7 years agohjfs: disable hjfs check until more functionality is complete
spew [Wed, 29 Mar 2017 18:54:50 +0000 (13:54 -0500)]
hjfs: disable hjfs check until more functionality is complete

7 years agohjfs: improve error messaging around blocks that are not found
spew [Wed, 29 Mar 2017 04:04:28 +0000 (23:04 -0500)]
hjfs: improve error messaging around blocks that are not found

7 years agohjfs: Fix bugs in ref count scan check. Enable as a console command (caveat: command...
spew [Wed, 29 Mar 2017 01:39:14 +0000 (20:39 -0500)]
hjfs: Fix bugs in ref count scan check. Enable as a console command (caveat: command arguments will change as I implement more functionality)

7 years agomove blit roms to /sys/lib/blit
cinap_lenrek [Tue, 28 Mar 2017 23:33:16 +0000 (01:33 +0200)]
move blit roms to /sys/lib/blit

7 years agoblit: fix mkfile
cinap_lenrek [Tue, 28 Mar 2017 23:20:13 +0000 (01:20 +0200)]
blit: fix mkfile

7 years agokernel: fix twakeup()/timerdel() race condition
cinap_lenrek [Tue, 28 Mar 2017 22:30:53 +0000 (00:30 +0200)]
kernel: fix twakeup()/timerdel() race condition

timerdel() did not make sure that the timer function
is not active (on another cpu). just acquiering the
Timer lock in the timer function only blocks the caller
of timerdel()/timeradd() but not the other way arround
(on a multiprocessor).

this changes the timer code to track activity of
the timer function, having timerdel() wait until
the timer has finished executing.

7 years agosdnvme: NVMe controller driver (work in progress)
cinap_lenrek [Tue, 28 Mar 2017 22:21:35 +0000 (00:21 +0200)]
sdnvme: NVMe controller driver (work in progress)

basic NVMe controller driver, reads and writes work.
"namespaces" show up as logical units.
uses pin/msi interrupts (no msi-x support yet).
one submission queue per cpu, shared completion queue.
no recovery from fatal controller errors.
only tested in qemu (no hardware available).

commiting this so it can be found by someone who has
hardware.

7 years agogames/blit: mkfile: install into /bin/games
aiju [Tue, 28 Mar 2017 19:48:50 +0000 (19:48 +0000)]
games/blit: mkfile: install into /bin/games

7 years agoadd games/blit
aiju [Tue, 28 Mar 2017 19:43:09 +0000 (19:43 +0000)]
add games/blit

7 years agohjfs: fix broken dprint
spew [Tue, 28 Mar 2017 03:05:53 +0000 (22:05 -0500)]
hjfs: fix broken dprint

7 years agohjfs: simplify dprinting
spew [Tue, 28 Mar 2017 02:38:12 +0000 (21:38 -0500)]
hjfs: simplify dprinting

7 years agohjfs: add simple scan check of directory entry blocks
spew [Tue, 28 Mar 2017 02:27:45 +0000 (21:27 -0500)]
hjfs: add simple scan check of directory entry blocks

7 years agohjfs: check: check a block if its ref count is _not_ zero. Also check all the ref...
spew [Mon, 27 Mar 2017 22:57:10 +0000 (17:57 -0500)]
hjfs: check: check a block if its ref count is _not_ zero. Also check all the ref counts of blocks of a directory and clean up messages

7 years agovarious fortune corpuses: Nil means nothing.
stanley lieber [Mon, 27 Mar 2017 17:33:09 +0000 (13:33 -0400)]
various fortune corpuses: Nil means nothing.

7 years agohjfs: merge start of hjfs check implementation
spew [Mon, 27 Mar 2017 14:57:08 +0000 (09:57 -0500)]
hjfs: merge start of hjfs check implementation

7 years agohjfs: start implementation of checking a directory
spew [Mon, 27 Mar 2017 14:55:56 +0000 (09:55 -0500)]
hjfs: start implementation of checking a directory

7 years agodevsd: handle case where theres no ifc->enable() function
cinap_lenrek [Sun, 26 Mar 2017 14:53:19 +0000 (16:53 +0200)]
devsd: handle case where theres no ifc->enable() function

7 years agomerge
cinap_lenrek [Sun, 26 Mar 2017 14:46:58 +0000 (16:46 +0200)]
merge

7 years agodevsd: check return value of ifc->enable(), don't leak unit name/user strings
cinap_lenrek [Sun, 26 Mar 2017 14:45:34 +0000 (16:45 +0200)]
devsd: check return value of ifc->enable(), don't leak unit name/user strings

7 years agosdvirtio: return 1 for success in vioenable()/viodisable()
cinap_lenrek [Sun, 26 Mar 2017 14:43:32 +0000 (16:43 +0200)]
sdvirtio: return 1 for success in vioenable()/viodisable()

7 years agofile(1): recognise Xilinx bitstreams
aiju [Sat, 25 Mar 2017 22:29:29 +0000 (22:29 +0000)]
file(1): recognise Xilinx bitstreams

7 years agogames/galaxy: fix exit race condition by pausing the galaxy before threadexitsall
spew [Sat, 25 Mar 2017 18:51:33 +0000 (13:51 -0500)]
games/galaxy: fix exit race condition by pausing the galaxy before threadexitsall

7 years agohjfs: Add comment to change the OFF size to 8 when given the chance
spew [Sat, 25 Mar 2017 18:49:13 +0000 (13:49 -0500)]
hjfs: Add comment to change the OFF size to 8 when given the chance

7 years agogames/galaxy: parallelize gravitational force calculations
spew [Sat, 25 Mar 2017 18:05:47 +0000 (13:05 -0500)]
games/galaxy: parallelize gravitational force calculations

Once the Barnes-Hut tree is constructed, the gravitational
force calculations can be done in parallel by dividing the
bodies up between a number of procs.

7 years agopc kernel: handle PCMP and RSD being in low (kaddr) or reserved (vmap) memory
cinap_lenrek [Sat, 25 Mar 2017 03:08:14 +0000 (04:08 +0100)]
pc kernel: handle PCMP and RSD being in low (kaddr) or reserved (vmap) memory

on thinkpad x1v4, the PCMP structure resides in upper reserved memory
pa=0xd7f49000 - while system memory ends at 0x0ffff000; so we have to
vmap() it instead of KADDR().

the RSD structure for ACPI might reside in low memory, so we sould
KADDR() in that case.

7 years agoupas/smtp: fix cram-md5 auth, simplify doauth(), check varargs for dBprint()
cinap_lenrek [Thu, 23 Mar 2017 00:31:35 +0000 (01:31 +0100)]
upas/smtp: fix cram-md5 auth, simplify doauth(), check varargs for dBprint()

- smtpcram() was replying with the challenge instead of the response... m(
- simplify doauth, use error string for auth_getuserpasswd() error logging
- enable #pragma varargck for dBprint()

7 years agoupas/smtp: generate 128-bit random message id (was 32 bit), use dBprint(), cleanup...
cinap_lenrek [Wed, 22 Mar 2017 23:36:57 +0000 (00:36 +0100)]
upas/smtp: generate 128-bit random message id (was 32 bit), use dBprint(), cleanup unused variables

7 years agoplumb(2): Fix typo in description of Plumbdelattr (thanks sam-d)
spew [Wed, 22 Mar 2017 23:13:51 +0000 (18:13 -0500)]
plumb(2): Fix typo in description of Plumbdelattr (thanks sam-d)

7 years agowebfs(4): timeout is in milliseconds not seconds (thanks sam-d)
spew [Wed, 22 Mar 2017 23:11:23 +0000 (18:11 -0500)]
webfs(4): timeout is in milliseconds not seconds (thanks sam-d)

7 years agoupas/smtp: Revert smtp dial string behavior to match that of old upas (thanks sam-d)
spew [Wed, 22 Mar 2017 22:10:35 +0000 (17:10 -0500)]
upas/smtp: Revert smtp dial string behavior to match that of old upas (thanks sam-d)
Also do some cleanup around buffers and memory management

7 years ago[012568kqv]a: correctly lex full range of integers in the assemblers (thanks Ori_B)
spew [Wed, 22 Mar 2017 05:04:24 +0000 (00:04 -0500)]
[012568kqv]a: correctly lex full range of integers in the assemblers (thanks Ori_B)
The Plan 9 assemblers use strtoll to parse the integer literals
in their input. It turns out that this is almost correct, but
VLONG_MIN is clamped. This patch changes to use strtoull
in order to allow the full range of integers.

7 years agoremove accidentally commited binary /sys/src/cmd/upas/fs/chkidx file (thanks mischief)
cinap_lenrek [Tue, 21 Mar 2017 19:31:15 +0000 (20:31 +0100)]
remove accidentally commited binary /sys/src/cmd/upas/fs/chkidx file (thanks mischief)

7 years agohjfs: Clear all refs to zero when reaming.
spew [Tue, 21 Mar 2017 19:07:18 +0000 (14:07 -0500)]
hjfs: Clear all refs to zero when reaming.
And a couple clarity/formatting changes

7 years agoip/torrent: exit immidiately when file is complete after verification and not being...
cinap_lenrek [Mon, 20 Mar 2017 18:15:40 +0000 (19:15 +0100)]
ip/torrent: exit immidiately when file is complete after verification and not being in seed mode

7 years agoip/torrent: avoid peerid collision using truerand() instead of time(0)
cinap_lenrek [Mon, 20 Mar 2017 18:11:03 +0000 (19:11 +0100)]
ip/torrent: avoid peerid collision using truerand() instead of time(0)

7 years agofortune: avoid buffer overflow for lines >= 2K, make sure index has at least one...
cinap_lenrek [Sun, 19 Mar 2017 21:04:26 +0000 (22:04 +0100)]
fortune: avoid buffer overflow for lines >= 2K, make sure index has at least one entry, use nrand()/ntruerand() for uniform distribution

7 years ago5l,6l,8l,kl,ql,vl: allow duplicate GLOBAL symbols (from Ori Bernstein)
cinap_lenrek [Sun, 19 Mar 2017 02:05:24 +0000 (03:05 +0100)]
5l,6l,8l,kl,ql,vl: allow duplicate GLOBAL symbols (from Ori Bernstein)

The plan 9 assemblers support the DUPOK flag on text symbols. They parse and
ignore it on GLOBL symbols. This patch makes it work in the linkers.

The reason I ran into this is because my programming language (Myrddin) uses
data symbols to generate type information, and it's useful to avoid
duplicating all of the type info in every file that gets generated.

7 years agoinst: make command window not overlap stats window in glendas riostart
cinap_lenrek [Sat, 18 Mar 2017 18:35:06 +0000 (19:35 +0100)]
inst: make command window not overlap stats window in glendas riostart

7 years agocdproto: make mdir for glenda
cinap_lenrek [Sat, 18 Mar 2017 18:07:29 +0000 (19:07 +0100)]
cdproto: make mdir for glenda

7 years agodiskparts(8), prep(8): add edisk in NAME section
cinap_lenrek [Sat, 18 Mar 2017 17:08:30 +0000 (18:08 +0100)]
diskparts(8), prep(8): add edisk in NAME section

7 years agomus(1): fix manpage references
cinap_lenrek [Sat, 18 Mar 2017 16:56:34 +0000 (17:56 +0100)]
mus(1): fix manpage references

7 years agovga(3): complete list of vga controllers and software cursors
cinap_lenrek [Sat, 18 Mar 2017 16:13:09 +0000 (17:13 +0100)]
vga(3): complete list of vga controllers and software cursors

7 years agodevmouse: refactor screen blanking logic
cinap_lenrek [Sat, 18 Mar 2017 15:58:27 +0000 (16:58 +0100)]
devmouse: refactor screen blanking logic

devmouse controls the screen blanking timeout, so move the
code there avoiding cross calls between modules. the only
function that needs to be provided is blankscreen(), which
gets called with drawlock locked.

the blank timeout is set thru /dev/mousectl now, so kernels
without devvga can set it.

blanking now only happens while /dev/mouse is read. so this
avoids accidentally blanking the screen on cpu servers that
do not have a mouse to unblank it.

7 years agogames/doom: don't spawn midi process when opening /dev/audio failed (thanks qwx)
cinap_lenrek [Fri, 17 Mar 2017 00:02:01 +0000 (01:02 +0100)]
games/doom: don't spawn midi process when opening /dev/audio failed (thanks qwx)

7 years agotapefs: handle more cpio formats (thanks qrstuv)
cinap_lenrek [Thu, 16 Mar 2017 23:45:48 +0000 (00:45 +0100)]
tapefs: handle more cpio formats (thanks qrstuv)

7 years agoupas/fs: tls sni support for pop3/imap
cinap_lenrek [Thu, 16 Mar 2017 21:06:31 +0000 (22:06 +0100)]
upas/fs: tls sni support for pop3/imap

7 years agoupas/fs: fix memory leaks in tls code, handle tls in a common wraptls() function
cinap_lenrek [Wed, 15 Mar 2017 23:05:08 +0000 (00:05 +0100)]
upas/fs: fix memory leaks in tls code, handle tls in a common wraptls() function

7 years agoupas/fs: getting rid of the fine-grain locking...
cinap_lenrek [Wed, 15 Mar 2017 18:30:33 +0000 (19:30 +0100)]
upas/fs: getting rid of the fine-grain locking...

now that locking works, its time to get rid of it.
given that the only concurrency is between the periodic reader
process and the filesystem code, just make sure the filesystem
rpc handlers do not run concurrenty while syncing is in progress
with a single qlock.

7 years agoupas/fs: more cleanup...
cinap_lenrek [Tue, 14 Mar 2017 22:46:35 +0000 (23:46 +0100)]
upas/fs: more cleanup...

7 years agoupas/fs: remove more debugging crap
cinap_lenrek [Tue, 14 Mar 2017 22:31:10 +0000 (23:31 +0100)]
upas/fs: remove more debugging crap

7 years agoupas/fs: remove unused segbrk memory allocator
cinap_lenrek [Tue, 14 Mar 2017 22:21:38 +0000 (23:21 +0100)]
upas/fs: remove unused segbrk memory allocator

7 years agoupas/fs: remove idx semaphore, cannot happen as symcmbox() always called with mailbox...
cinap_lenrek [Tue, 14 Mar 2017 22:19:17 +0000 (23:19 +0100)]
upas/fs: remove idx semaphore, cannot happen as symcmbox() always called with mailbox locked

7 years agoupas/fs: fix more locking bugs, remove debugging clutter, remove planb mbox code
cinap_lenrek [Tue, 14 Mar 2017 22:06:39 +0000 (23:06 +0100)]
upas/fs: fix more locking bugs, remove debugging clutter, remove planb mbox code

7 years agoupas/fs: make sure mbox is locked during msgdecref() in rclunk()
cinap_lenrek [Tue, 14 Mar 2017 18:32:20 +0000 (19:32 +0100)]
upas/fs: make sure mbox is locked during msgdecref() in rclunk()

7 years agogs: validate parameter is dict in .initialize_dsc_parse
mischief [Tue, 14 Mar 2017 07:48:50 +0000 (00:48 -0700)]
gs: validate parameter is dict in .initialize_dsc_parse

gs bug 697190, upstream commit 875a0095

also check gs_alloc_struct return value from upstream commit a2afc66d

7 years agogs: check for sufficient params in .sethalftone5
mischief [Tue, 14 Mar 2017 01:12:17 +0000 (18:12 -0700)]
gs: check for sufficient params in .sethalftone5

ghostscript bug 697203, upstream commit f5c7555c303

7 years agogs: fix dangleing pointer crash with "lock" (ghostscript Bug 697204)
cinap_lenrek [Mon, 13 Mar 2017 17:56:52 +0000 (18:56 +0100)]
gs: fix dangleing pointer crash with "lock" (ghostscript Bug 697204)

7 years agogames/galaxy: fix creation of new bodies
spew [Sun, 12 Mar 2017 23:52:36 +0000 (18:52 -0500)]
games/galaxy: fix creation of new bodies
I accidentally deleted the line that sets the initial
position of the vector

7 years agogames/galaxy: avoid unnecessary calculations
spew [Sun, 12 Mar 2017 23:33:54 +0000 (18:33 -0500)]
games/galaxy: avoid unnecessary calculations
It is not necessary to recalculate the center of the
screen every time.

7 years agogames/galaxy: fix zoom
spew [Sun, 12 Mar 2017 23:24:45 +0000 (18:24 -0500)]
games/galaxy: fix zoom

Zooming when far away from the center of gravity
of the galaxy would zoom the center of the screen
out of view. Now adjust the origin so that the
center of the screen stays centered

7 years agoupas/fs: lock mbox in syncallmboxes() to avoid assert crash
cinap_lenrek [Sun, 12 Mar 2017 20:29:28 +0000 (21:29 +0100)]
upas/fs: lock mbox in syncallmboxes() to avoid assert crash

7 years agoupas/fs: remove useless syncsem, make sure mbox is locked when fetching / syncing
cinap_lenrek [Sun, 12 Mar 2017 20:23:21 +0000 (21:23 +0100)]
upas/fs: remove useless syncsem, make sure mbox is locked when fetching / syncing

7 years agoimap4d: simplify auth with encodefmt (backport from 9front)
cinap_lenrek [Sun, 12 Mar 2017 17:50:27 +0000 (18:50 +0100)]
imap4d: simplify auth with encodefmt (backport from 9front)

7 years agonupas: delete okcidr(); always trust spf records
aiju [Sun, 12 Mar 2017 17:19:20 +0000 (17:19 +0000)]
nupas: delete okcidr(); always trust spf records

7 years agosend(8): document new reject behaviour with -r flag
cinap_lenrek [Sun, 12 Mar 2017 16:36:04 +0000 (17:36 +0100)]
send(8): document new reject behaviour with -r flag

7 years agoadd mdir(6), splitmbox(8) and update upasfs(4)
cinap_lenrek [Sun, 12 Mar 2017 16:32:01 +0000 (17:32 +0100)]
add mdir(6), splitmbox(8) and update upasfs(4)

7 years agomerge
cinap_lenrek [Sun, 12 Mar 2017 16:20:13 +0000 (17:20 +0100)]
merge

7 years agochange listener from ip/imap4d to upas/imap4d
cinap_lenrek [Sun, 12 Mar 2017 16:18:56 +0000 (17:18 +0100)]
change listener from ip/imap4d to upas/imap4d

7 years agomerging erik quanstros nupas
cinap_lenrek [Sun, 12 Mar 2017 16:15:03 +0000 (17:15 +0100)]
merging erik quanstros nupas

7 years agomerge
cinap_lenrek [Sat, 11 Mar 2017 19:42:25 +0000 (20:42 +0100)]
merge

7 years agokernel: get rid of active.Lock and active.thunderbirdsargo
cinap_lenrek [Sat, 11 Mar 2017 15:30:51 +0000 (16:30 +0100)]
kernel: get rid of active.Lock and active.thunderbirdsargo

7 years agopc kernel: give cpu servers as many image cache strctures as processes
cinap_lenrek [Sat, 11 Mar 2017 15:28:11 +0000 (16:28 +0100)]
pc kernel: give cpu servers as many image cache strctures as processes

7 years agopc kernel: avoid AP's spinning in syncclock(), don't wait for thunderbirdsargo
cinap_lenrek [Sat, 11 Mar 2017 15:24:56 +0000 (16:24 +0100)]
pc kernel: avoid AP's spinning in syncclock(), don't wait for thunderbirdsargo

7 years agopc kernel: assume tsc and lapic clock rate on application processors is the same...
cinap_lenrek [Sat, 11 Mar 2017 15:18:01 +0000 (16:18 +0100)]
pc kernel: assume tsc and lapic clock rate on application processors is the same as on bootrap processor

7 years agopc kernel: don't use active.thunderbirdsargo in vunmap() tlb flush code
cinap_lenrek [Sat, 11 Mar 2017 15:13:58 +0000 (16:13 +0100)]
pc kernel: don't use active.thunderbirdsargo in vunmap() tlb flush code

7 years agoteg2: fix format string warning in mmu.c
cinap_lenrek [Sat, 11 Mar 2017 15:07:48 +0000 (16:07 +0100)]
teg2: fix format string warning in mmu.c

7 years agogames/galaxy: simplify zoom loop
spew [Fri, 10 Mar 2017 16:37:12 +0000 (10:37 -0600)]
games/galaxy: simplify zoom loop

7 years agogames/galaxy: new mouse behavior
spew [Fri, 10 Mar 2017 15:57:23 +0000 (09:57 -0600)]
games/galaxy: new mouse behavior
MB1 moves the galaxy. MB2 zooms the galaxy. New body creation
moved to the menu