]> git.lizzy.rs Git - plan9front.git/log
plan9front.git
10 years agoexportfs: reverting previous changes
cinap_lenrek [Fri, 21 Feb 2014 00:02:32 +0000 (01:02 +0100)]
exportfs: reverting previous changes

getting strange tag mismatches on some machines. needs
to be debugged. until then, reverting the change.

10 years agoexportfs: fix flush races, proc sweeping
cinap_lenrek [Tue, 18 Feb 2014 21:15:06 +0000 (22:15 +0100)]
exportfs: fix flush races, proc sweeping

10 years agoaux/cpuid: hack for amd64
cinap_lenrek [Mon, 17 Feb 2014 18:50:02 +0000 (19:50 +0100)]
aux/cpuid: hack for amd64

10 years agoprof: properly save and restore RARG for amd64
cinap_lenrek [Mon, 17 Feb 2014 12:25:24 +0000 (13:25 +0100)]
prof: properly save and restore RARG for amd64

amd64 passes first argument in RARG (BP) register
which has the be preserved duing _profin() and
_profout() calls. to handle this we introduce
_saveret() and _savearg(). _saveret() returns
AX, _savearg() returns RARG (BP). for archs other
and amd64, _saveret() and _savearg() are the
same function, doing nothing.

restoing works with dummy function:

uintptr
_restore(uintptr, uintptr ret)
{
return ret;
}

...

ret = _saveret();
arg = _savearg();
...
return _restore(arg, ret);

as we pass arg as the first argument, RARG (BP) is
restored.

10 years agogames/nes: add mapper 7 support
cinap_lenrek [Sun, 16 Feb 2014 20:40:33 +0000 (21:40 +0100)]
games/nes: add mapper 7 support

10 years agoxd: changed -s option to switch to little-endian units
aap [Sun, 16 Feb 2014 20:32:14 +0000 (21:32 +0100)]
xd: changed -s option to switch to little-endian units

10 years agoadded games/nes
aiju [Sun, 16 Feb 2014 19:51:11 +0000 (20:51 +0100)]
added games/nes

10 years agomothra: remove unused local variables from pl_nextc()
cinap_lenrek [Sun, 16 Feb 2014 18:40:50 +0000 (19:40 +0100)]
mothra: remove unused local variables from pl_nextc()

10 years agotruss: use A instead of X as address format for data dump
cinap_lenrek [Sun, 16 Feb 2014 18:20:57 +0000 (19:20 +0100)]
truss: use A instead of X as address format for data dump

10 years agotruss: fix syscall address formats
cinap_lenrek [Sun, 16 Feb 2014 18:08:49 +0000 (19:08 +0100)]
truss: fix syscall address formats

10 years agomothra: fix unicode rendering for plaintext
cinap_lenrek [Sun, 16 Feb 2014 17:50:30 +0000 (18:50 +0100)]
mothra: fix unicode rendering for plaintext

we did the utf-8 to unicode conversion in pl_nextc(),
but the plaintext handler uses pl_readc() which only
translates newlines but otherwise returns bytes.

move unicode conversion in pl_readc() fixes it.

10 years agodocumented usbwait in plan9.ini(8)
Matthew Veety [Sat, 15 Feb 2014 22:18:58 +0000 (17:18 -0500)]
documented usbwait in plan9.ini(8)

10 years agofactotum/authsrv: fix padding for mschap on amd64, use constants for structure sizes
cinap_lenrek [Sat, 15 Feb 2014 18:57:13 +0000 (19:57 +0100)]
factotum/authsrv: fix padding for mschap on amd64, use constants for structure sizes

10 years agopc64: fix mistake
cinap_lenrek [Sat, 15 Feb 2014 15:58:35 +0000 (16:58 +0100)]
pc64: fix mistake

10 years agopc64: simplify mmuwalk by factoring out mmu page table creation into separate function
cinap_lenrek [Sat, 15 Feb 2014 15:43:55 +0000 (16:43 +0100)]
pc64: simplify mmuwalk by factoring out mmu page table creation into separate function

10 years agomerge
cinap_lenrek [Sat, 15 Feb 2014 05:19:25 +0000 (06:19 +0100)]
merge

10 years agopc64: support for vmware PCnet ethernet
cinap_lenrek [Sat, 15 Feb 2014 05:17:38 +0000 (06:17 +0100)]
pc64: support for vmware PCnet ethernet

10 years agopc64: move VMAP into its own PDP (for vmware)
cinap_lenrek [Sat, 15 Feb 2014 05:17:05 +0000 (06:17 +0100)]
pc64: move VMAP into its own PDP (for vmware)

modifying the kernel pdp (CPU0PDP) hangs vmware. so
we initialize the pdp with KZERO and KZERO+1GB map
in l.s and never change it. (except when removing
the zero double map which seems to work).

VMAP has its own pdp now allowing to map 512GB of
physical address space. this simplifies the code
a bit and gives nice virtual addresses.

10 years agoadded in a way to make net.rc wait for the network hardware to come up before running...
Matthew Veety [Sat, 15 Feb 2014 03:05:25 +0000 (22:05 -0500)]
added in a way to make net.rc wait for the network hardware to come up before running ip/ipconfig. This fixes the issue with the Raspberry Pi where ip/ipconfig tried running prior to /net/etherU3 exists

10 years agolibc: remove malloc.acid and pool.acid
cinap_lenrek [Fri, 14 Feb 2014 14:20:34 +0000 (15:20 +0100)]
libc: remove malloc.acid and pool.acid

10 years agopage: fix compiler warning
cinap_lenrek [Fri, 14 Feb 2014 14:01:14 +0000 (15:01 +0100)]
page: fix compiler warning

10 years agosocksd: close inside udp server one we get a connection (udprelay)
cinap_lenrek [Fri, 14 Feb 2014 13:57:05 +0000 (14:57 +0100)]
socksd: close inside udp server one we get a connection (udprelay)

10 years agocifsd: fix compiler warning
cinap_lenrek [Fri, 14 Feb 2014 13:21:07 +0000 (14:21 +0100)]
cifsd: fix compiler warning

10 years agonusb/ether: fix pointer truncation
cinap_lenrek [Fri, 14 Feb 2014 13:18:09 +0000 (14:18 +0100)]
nusb/ether: fix pointer truncation

10 years agowebfs: fix compiler warning
cinap_lenrek [Fri, 14 Feb 2014 13:14:17 +0000 (14:14 +0100)]
webfs: fix compiler warning

10 years agoip/torrent: remove unneeded assignment
cinap_lenrek [Fri, 14 Feb 2014 13:12:02 +0000 (14:12 +0100)]
ip/torrent: remove unneeded assignment

10 years agoacid: add semacquire/semrelease/tsemacquire syscalls, handle _seek hack for amd64...
cinap_lenrek [Fri, 14 Feb 2014 13:02:33 +0000 (14:02 +0100)]
acid: add semacquire/semrelease/tsemacquire syscalls, handle _seek hack for amd64 (thanks erik)

10 years agosimilar to my last commit, but combined the two waits for the usb devices. still...
Matthew Veety [Fri, 14 Feb 2014 05:11:11 +0000 (00:11 -0500)]
similar to my last commit, but combined the two waits for the usb devices. still configurable, but with usbwait. If usbwait is not defined then it defaults to the original 2 seconds.

10 years agopc64: add ahci.h to PCHEADERS so it will be removed on mk clean
mischief [Wed, 12 Feb 2014 11:02:23 +0000 (03:02 -0800)]
pc64: add ahci.h to PCHEADERS so it will be removed on mk clean

10 years agopc64: remove ethermii.h and copy it from pc instead
mischief [Wed, 12 Feb 2014 11:00:12 +0000 (03:00 -0800)]
pc64: remove ethermii.h and copy it from pc instead

10 years agoadded pccpu64 for cpuservers. also enabled etherigbe in pc64 and pccpu64
Matthew Veety [Thu, 13 Feb 2014 02:05:04 +0000 (21:05 -0500)]
added pccpu64 for cpuservers. also enabled etherigbe in pc64 and pccpu64

10 years agoacid: fix acid/network, fix address formats from X to A
cinap_lenrek [Wed, 12 Feb 2014 19:04:07 +0000 (20:04 +0100)]
acid: fix acid/network, fix address formats from X to A

10 years agotruss: support for amd64
cinap_lenrek [Wed, 12 Feb 2014 18:27:08 +0000 (19:27 +0100)]
truss: support for amd64

10 years agopool(2): fix ulong -> uintptr
cinap_lenrek [Wed, 12 Feb 2014 17:53:03 +0000 (18:53 +0100)]
pool(2): fix ulong -> uintptr

10 years agoramfs: remove mainmem pool limit when called with -u flag
cinap_lenrek [Mon, 10 Feb 2014 03:04:51 +0000 (04:04 +0100)]
ramfs: remove mainmem pool limit when called with -u flag

10 years agopc64: limit memory of per processor mmu freelist to 1MB
cinap_lenrek [Mon, 10 Feb 2014 01:37:45 +0000 (02:37 +0100)]
pc64: limit memory of per processor mmu freelist to 1MB

10 years agoacid: remove objchar, prefering foobar.$objtype.acid
cinap_lenrek [Mon, 10 Feb 2014 00:53:26 +0000 (01:53 +0100)]
acid: remove objchar, prefering foobar.$objtype.acid

acid already sets up objtype for us.

10 years agopc64: return up in RUSER (BP) for devproc kregs file
cinap_lenrek [Mon, 10 Feb 2014 22:12:52 +0000 (23:12 +0100)]
pc64: return up in RUSER (BP) for devproc kregs file

10 years agocc: emit right acid format for address
cinap_lenrek [Mon, 10 Feb 2014 22:10:47 +0000 (23:10 +0100)]
cc: emit right acid format for address

we could use 'A' here but then it would require the new acid.

10 years agoacid: update acid libraries for amd64
cinap_lenrek [Mon, 10 Feb 2014 22:07:37 +0000 (23:07 +0100)]
acid: update acid libraries for amd64

10 years agoacid: make 'a' and 'A' format to have the same size as mach->szaddr
cinap_lenrek [Sun, 9 Feb 2014 21:43:09 +0000 (22:43 +0100)]
acid: make 'a' and 'A' format to have the same size as mach->szaddr

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.

10 years agopc64: pass Ureg* argument in BP to userspace note handler
cinap_lenrek [Sun, 9 Feb 2014 01:23:33 +0000 (02:23 +0100)]
pc64: pass Ureg* argument in BP to userspace note handler

10 years agoacid: fix memory corruption due to gc
cinap_lenrek [Sun, 9 Feb 2014 00:37:05 +0000 (01:37 +0100)]
acid: fix memory corruption due to gc

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.

10 years agopc64: handle negative file offsets when accessing kernel memory with devproc
cinap_lenrek [Sat, 8 Feb 2014 02:50:41 +0000 (03:50 +0100)]
pc64: handle negative file offsets when accessing kernel memory with devproc

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.

10 years agomtrr: fix mistake
cinap_lenrek [Sat, 8 Feb 2014 02:40:17 +0000 (03:40 +0100)]
mtrr: fix mistake

10 years agojpg: center image in screen
cinap_lenrek [Sat, 8 Feb 2014 01:33:29 +0000 (02:33 +0100)]
jpg: center image in screen

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.

10 years agoreuse mtrr slots with default memory type
cinap_lenrek [Sat, 8 Feb 2014 00:01:26 +0000 (01:01 +0100)]
reuse mtrr slots with default memory type

10 years agoaux/vga: fix format string error with 6c
cinap_lenrek [Fri, 7 Feb 2014 23:29:06 +0000 (00:29 +0100)]
aux/vga: fix format string error with 6c

10 years agopc64: bump segment limit to 64GB
cinap_lenrek [Fri, 7 Feb 2014 23:23:18 +0000 (00:23 +0100)]
pc64: bump segment limit to 64GB

10 years agopc64: dont reuse mtrr slots that are above 4GB
cinap_lenrek [Fri, 7 Feb 2014 19:04:19 +0000 (20:04 +0100)]
pc64: dont reuse mtrr slots that are above 4GB

we used to override/reuse mtrr slots over 4GB as the
kernel wasnt able to use that memory. pc64 can.

10 years agopc64: ensure user pc is never set to a non-canonical address through setregisters
mischief [Fri, 7 Feb 2014 02:03:17 +0000 (18:03 -0800)]
pc64: ensure user pc is never set to a non-canonical address through 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.

10 years agopc64: fix devcons format strings for memory sizes
cinap_lenrek [Fri, 7 Feb 2014 22:35:27 +0000 (23:35 +0100)]
pc64: fix devcons format strings for memory sizes

10 years agocwfs: limit memsize() to 1GB until pool can handle huge allocations
cinap_lenrek [Fri, 7 Feb 2014 22:33:34 +0000 (23:33 +0100)]
cwfs: limit memsize() to 1GB until pool can handle huge allocations

10 years agopc64: fix poolsummary() string format
cinap_lenrek [Fri, 7 Feb 2014 22:02:56 +0000 (23:02 +0100)]
pc64: fix poolsummary() string format

10 years agopool: use uintptr for pool size
cinap_lenrek [Thu, 6 Feb 2014 21:47:05 +0000 (22:47 +0100)]
pool: use uintptr for pool size

note, arenas and blocks still use ulong for sizes. so
we have to check for overflow when attempting to merge
arenas.

10 years agopc64: fix note handling
cinap_lenrek [Thu, 6 Feb 2014 21:43:33 +0000 (22:43 +0100)]
pc64: fix note handling

10 years agopc64: fix kmap()
cinap_lenrek [Thu, 6 Feb 2014 21:41:42 +0000 (22:41 +0100)]
pc64: fix kmap()

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.

10 years agohave to use NULL instead of nil for ape programs...
cinap_lenrek [Wed, 5 Feb 2014 18:52:09 +0000 (19:52 +0100)]
have to use NULL instead of nil for ape programs...

10 years agopc64: dont 4 byte align stack pointer for amd64 in sysexec()
cinap_lenrek [Wed, 5 Feb 2014 18:48:36 +0000 (19:48 +0100)]
pc64: dont 4 byte align stack pointer for amd64 in sysexec()

10 years agofix wrong type for terminating nil argument for execl()
cinap_lenrek [Wed, 5 Feb 2014 18:25:24 +0000 (19:25 +0100)]
fix wrong type for terminating nil argument for execl()

we have to use (void*)0 instead of (int)0 otherwise the
upper bits are uninitialized on amd64.

10 years agolibpanel: remove pointless pointer casts
mischief [Tue, 4 Feb 2014 08:16:36 +0000 (00:16 -0800)]
libpanel: remove pointless pointer casts

10 years agomerge
cinap_lenrek [Wed, 5 Feb 2014 07:58:53 +0000 (08:58 +0100)]
merge

10 years agomothra: better handling of malformed search regex
cinap_lenrek [Wed, 5 Feb 2014 07:43:31 +0000 (08:43 +0100)]
mothra: better handling of malformed search regex

10 years agolibpanel: fix pointer casts and format strings
mischief [Wed, 5 Feb 2014 07:34:19 +0000 (23:34 -0800)]
libpanel: fix pointer casts and format strings

10 years agomothra: dont panic on invalid regular expression in searchbox
cinap_lenrek [Wed, 5 Feb 2014 07:25:01 +0000 (08:25 +0100)]
mothra: dont panic on invalid regular expression in searchbox

10 years ago/lib/face/48x48x4/.dict: fix typos
stanley lieber [Tue, 4 Feb 2014 04:55:20 +0000 (23:55 -0500)]
/lib/face/48x48x4/.dict: fix typos

10 years agopc64: fix up pointer calculations and enable sdvirtio disk driver
mischief [Mon, 3 Feb 2014 09:22:26 +0000 (01:22 -0800)]
pc64: fix up pointer calculations and enable sdvirtio disk driver

10 years agopc64: remove cinaps cga screen interrupt debugger, was experiment...
cinap_lenrek [Tue, 4 Feb 2014 01:08:26 +0000 (02:08 +0100)]
pc64: remove cinaps cga screen interrupt debugger, was experiment...

10 years agopc64: dont dump user registers on exception, was experiment...
cinap_lenrek [Tue, 4 Feb 2014 01:06:11 +0000 (02:06 +0100)]
pc64: dont dump user registers on exception, was experiment...

10 years agohjfs: fix wrong channel size for syncb (fixes amd64 crash)
cinap_lenrek [Tue, 4 Feb 2014 00:58:17 +0000 (01:58 +0100)]
hjfs: fix wrong channel size for syncb (fixes amd64 crash)

10 years agodoom: port to amd64
cinap_lenrek [Tue, 4 Feb 2014 00:09:46 +0000 (01:09 +0100)]
doom: port to amd64

10 years agorealemu: cleanup opidiv
cinap_lenrek [Mon, 3 Feb 2014 21:55:45 +0000 (22:55 +0100)]
realemu: cleanup opidiv

no need for switch here, just calculate the values. also fixes
6l warning about uninitialized min/max (compiler assumes none
of the case statements could match).

10 years agolibmach: change mach pgsize back from 4K to 2MB for amd64
cinap_lenrek [Mon, 3 Feb 2014 21:39:07 +0000 (22:39 +0100)]
libmach: change mach pgsize back from 4K to 2MB for amd64

the Mach page size is used to calculate segment alignment. its
not the real effective page size used by the kernel.

this fixes acid.

10 years agoipmux: fix 6c complaints
cinap_lenrek [Mon, 3 Feb 2014 19:14:19 +0000 (20:14 +0100)]
ipmux: fix 6c complaints

10 years agomerge
cinap_lenrek [Mon, 3 Feb 2014 19:06:12 +0000 (20:06 +0100)]
merge

10 years agokernel: dont double ptemap size in newseg()
cinap_lenrek [Mon, 3 Feb 2014 19:04:43 +0000 (20:04 +0100)]
kernel: dont double ptemap size in newseg()

this doubling affects all segment types, not just bss.
(tho text/data are usually small...)

and theres no telling if the segment will actually
grow in the future justifying the reduction of memmove
overhead in ibrk().

some ape programs are approaching the 16mb ssegmap size
so that code might trigger.

removing the smarts...

10 years agopc/pc64: move common code to pc/devarch.c
cinap_lenrek [Mon, 3 Feb 2014 05:24:31 +0000 (06:24 +0100)]
pc/pc64: move common code to pc/devarch.c

10 years agopc64: implement shutdown and idlehands
cinap_lenrek [Mon, 3 Feb 2014 04:29:53 +0000 (05:29 +0100)]
pc64: implement shutdown and idlehands

just copies from pc kernel. should refactor into common
pc code.

10 years agomerge
mischief [Sun, 2 Feb 2014 15:41:56 +0000 (07:41 -0800)]
merge

10 years agopc64: enable sdide driver
mischief [Sun, 2 Feb 2014 15:34:54 +0000 (07:34 -0800)]
pc64: enable sdide driver

10 years agoacid: fix memory leak in fundefs (from 9atom)
mischief [Sun, 2 Feb 2014 11:17:48 +0000 (03:17 -0800)]
acid: fix memory leak in fundefs (from 9atom)

10 years agolibdraw: fix typo: 0xfffff -> 0xffff
cinap_lenrek [Mon, 3 Feb 2014 02:56:01 +0000 (03:56 +0100)]
libdraw: fix typo: 0xfffff -> 0xffff

10 years agolibdraw: work arround devdraw truncating screenid as 16bit
cinap_lenrek [Mon, 3 Feb 2014 02:53:18 +0000 (03:53 +0100)]
libdraw: work arround devdraw truncating screenid as 16bit

10 years agodevdraw: screenid is BGLONG, not BGSHORT
cinap_lenrek [Mon, 3 Feb 2014 02:52:27 +0000 (03:52 +0100)]
devdraw: screenid is BGLONG, not BGSHORT

10 years agopc64: track per process kmap page tables in separate MMU list.
cinap_lenrek [Sun, 2 Feb 2014 17:01:13 +0000 (18:01 +0100)]
pc64: track per process kmap page tables in separate MMU list.

we have to keep kmap page tables in ther own list
because user tables are subject to (virtual) tlb flushing.

we never free kmap page tables except in mmurelease()
where we just link the kmap mmu list in front of the user
mmus and call mmufree() which will free all the mmu's
of the process.

10 years agomalloctag: only store lower 32bit of malloc tag, fix getrealloctag
cinap_lenrek [Sun, 2 Feb 2014 15:03:59 +0000 (16:03 +0100)]
malloctag: only store lower 32bit of malloc tag, fix getrealloctag

as erik quanstro suggests, theres not much of a point in
storing the full 64bit pc as one cannot get a code segment
bigger than 4G and amd64 makes it hard to use a pc that
isnt 64bit sign extension of 32bit.

instead, we only store ulong (as originally), but sign
extend back when returning in getmalloctag() and
getrealloctag().

getrealloctag() used to be broken. its now fixed.

10 years agokernel: fix bogus free in sysexec.
cinap_lenrek [Sun, 2 Feb 2014 14:11:19 +0000 (15:11 +0100)]
kernel: fix bogus free in sysexec.

we free the wrong pointer in the waserror() block.

10 years agonewuser: dont bark when we cannot bind $home/bin/$objtype after /bin, create $home...
cinap_lenrek [Sun, 2 Feb 2014 09:59:05 +0000 (10:59 +0100)]
newuser: dont bark when we cannot bind $home/bin/$objtype after /bin, create $home/bin/amd64

10 years agokernel: do not pass user address of fd[2] array to newfd2()
cinap_lenrek [Sun, 2 Feb 2014 09:41:51 +0000 (10:41 +0100)]
kernel: do not pass user address of fd[2] array to newfd2()

access to user memory can pagefault and newfd2() holds
fgrp spinlock while writing to it. make temporary copy
on the stack in syspipe().

10 years agokernel: use uintptr when appropriate in syssegflush()
cinap_lenrek [Sun, 2 Feb 2014 08:59:54 +0000 (09:59 +0100)]
kernel: use uintptr when appropriate in syssegflush()

10 years agopc64: dont dump registers for user process on pagefault error, was experiment
cinap_lenrek [Sun, 2 Feb 2014 08:39:58 +0000 (09:39 +0100)]
pc64: dont dump registers for user process on pagefault error, was experiment

10 years agopc64: no need to flush tlb in kunmap(), was experiment
cinap_lenrek [Sun, 2 Feb 2014 08:22:23 +0000 (09:22 +0100)]
pc64: no need to flush tlb in kunmap(), was experiment

10 years agoadd acid library for amd64
cinap_lenrek [Sun, 2 Feb 2014 07:41:13 +0000 (08:41 +0100)]
add acid library for amd64

10 years agopc64: fix mmu structure leakage, implement global pool
cinap_lenrek [Sun, 2 Feb 2014 07:12:08 +0000 (08:12 +0100)]
pc64: fix mmu structure leakage, implement global pool

10 years agopc64: print only 8 hex chars dumpstack sp/pc
cinap_lenrek [Sun, 2 Feb 2014 04:49:30 +0000 (05:49 +0100)]
pc64: print only 8 hex chars dumpstack sp/pc

kernel addresses are sign extended to 64 bit. upper bits
are not really helpfull.

10 years agomallocalign: make sure alignptr offset is modulo align when -offset > align
cinap_lenrek [Sun, 2 Feb 2014 04:47:13 +0000 (05:47 +0100)]
mallocalign: make sure alignptr offset is modulo align when -offset > align

10 years agopc64: fix vmap
cinap_lenrek [Sun, 2 Feb 2014 04:10:58 +0000 (05:10 +0100)]
pc64: fix vmap

VMAP address calculation was all wrong resulting
in vmaps get mapped into KZERO map.

10 years agopc64: enable iahci support
cinap_lenrek [Sat, 1 Feb 2014 19:27:54 +0000 (20:27 +0100)]
pc64: enable iahci support

10 years agocwfs: use pragma pack for on disk structures for amd64
cinap_lenrek [Sat, 1 Feb 2014 19:26:36 +0000 (20:26 +0100)]
cwfs: use pragma pack for on disk structures for amd64

10 years agorootstub: create amd64 directories for acme
cinap_lenrek [Sat, 1 Feb 2014 19:19:06 +0000 (20:19 +0100)]
rootstub: create amd64 directories for acme