Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-04-14 | Make spstrcpy actually copy strings. | Mark Kettenis | |
2011-04-14 | Get rid if pcb_uva, like we did on hppa a while ago since it creates evil | Mark Kettenis | |
non-equivalent aliases. | |||
2011-04-14 | Sprinkle prototypes, kill unused locals, and stop contributing to global | Miod Vallat | |
warning. | |||
2011-04-14 | Fix copy_on_fault by decrementing the stack pointer before restoring the | Joel Sing | |
return pointer. | |||
2011-04-14 | Ansify. | Joel Sing | |
2011-04-13 | Export ENAMETOOLONG such that kernels compile again. | Mark Kettenis | |
2011-04-13 | Make spstrcpy() work as advertised. | Joel Sing | |
ok kettenis@ | |||
2011-04-13 | Enable siop, scsibus and sd. | Joel Sing | |
No objection from kettenis@ | |||
2011-04-13 | Remove some very noisy debug code. | Joel Sing | |
2011-04-13 | Do not use a virtual address whilst in physical mode. Instead save the sp | Joel Sing | |
and iir in the physical trap save area and copy into the trap frame once back in virtual. ok kettenis@ | |||
2011-04-13 | Unrevert the FS.base diff: the issues were actually elsewhere | Philip Guenthe | |
Additional testing by jasper@ and pea@ | |||
2011-04-13 | do not use NULL in an integer context | Theo de Raadt | |
2011-04-12 | A few, hopefully last, NULL-as-an-integer misuses. | Miod Vallat | |
2011-04-10 | Merge viapm and viaenv | Alexandr Shadchin | |
Pluses: - Add support SMBus for VT82C596, VT82C596B, VT82C686A, VT8231 - Add support ACPI timer for all VIA South Bridges ok deraadt@, tested sthen@ | |||
2011-04-10 | A last few NULL -> 0 corrections. | Miod Vallat | |
2011-04-10 | Extend the PCI memory address space to 36-bit. The first BIOSen that assign | Mark Kettenis | |
addresses >4GB to 64-bit BARs have started to appear. But as long as machines still support running 32-bit operating systems we don't expect to see BARs that aren't addressable using PAE. Fixes a panic reported by william@. ok deraadt@ | |||
2011-04-10 | Add -fno-builtin-exit to CFLAGS to silence gcc4. | Miod Vallat | |
2011-04-10 | Uninitialized local variable. | Miod Vallat | |
2011-04-10 | NULL -> 0 | Miod Vallat | |
2011-04-10 | Include <libkern.h> to get proper strrchr() prototype. | Miod Vallat | |
2011-04-10 | Revert bulk of the FS.base diff, as it causes issues on some machines | Philip Guenthe | |
and the problem isn't obvious yet. | |||
2011-04-10 | hppa64 does not have a libspmath | Theo de Raadt | |
2011-04-10 | 'kernel libraries' always get in the way of the build process. Teach | Theo de Raadt | |
autoconf how to find the spmath files. | |||
2011-04-09 | don't tell the inline assembly here it will take a 64 bit io port | Jonathan Gray | |
value when this isn't possible in practice, use a 32 bit value. ok kettenis@ miod@ oga@ | |||
2011-04-09 | Make this compile without warnings in all modes, and do not use NULL when | Miod Vallat | |
integer zero is intended. | |||
2011-04-09 | repair a 32-bit truncation in paddr_t calculation, allowing my 8GB | Theo de Raadt | |
o350 to boot once again ok miod | |||
2011-04-08 | remove uneeded inlines here as was done in rev 1.24 of | Jonathan Gray | |
the equivalent i386 file ok kettenis@ deraadt@ | |||
2011-04-07 | Make $syscall_return work for real. | Mark Kettenis | |
ok jsing@ | |||
2011-04-07 | %x->%p in various format strings, to avoid truncating values. | Miod Vallat | |
2011-04-07 | Make sure the ALIGN() macro uses u_long on all platforms for consistency, and | Miod Vallat | |
update the comment block accordingly. | |||
2011-04-07 | Do not use NULL in integer comparisons. No functional change. | Miod Vallat | |
ok matthew@ tedu@, also eyeballed by at least krw@ oga@ kettenis@ jsg@ | |||
2011-04-07 | Move a function declaration out of the function since it is used in the next | Dale Rahn | |
function too. 'you should just commit' (without looking at the diff) miod@ | |||
2011-04-07 | Sync apic code from hppa. | Joel Sing | |
ok kettenis@ | |||
2011-04-07 | Initial interrupt handling implementation for hppa64. | Joel Sing | |
ok kettenis@ | |||
2011-04-06 | Declare and initialize safepri, for the kernel to link. | Miod Vallat | |
2011-04-06 | Use bdev_decl() to get block device function prototypes instead of rolling | Miod Vallat | |
our own (sometimes incorrect). | |||
2011-04-06 | Give this a chance to compile after iopool changes. | Miod Vallat | |
2011-04-06 | Fix a typo causing a sanity check in m88110_syscall() to never trigger. | Miod Vallat | |
2011-04-06 | Sync cpu_match() and cpu_hardclock() with hppa. | Joel Sing | |
ok kettenis@ | |||
2011-04-06 | Move CPL to struct cpu_info. | Joel Sing | |
ok kettenis@ | |||
2011-04-06 | The various read*label() have stopped returning error strings for quite | Miod Vallat | |
some time, and return errnos instead. Fix or remove out-of-date comments mentioning the error strings, and make their callers check the return value against zero, not NULL. | |||
2011-04-05 | Add support for per-rthread base-offset for the %fs selector on amd64. | Philip Guenthe | |
Add pcb_fsbase to the PCB for tracking what the value for the thread is, and ci_cur_fsbase to struct cpu_info for tracking the CPU's current value for FS.base, then on return to user-space, skip the setting if the CPU has the right value already. Non-threaded processes without TLS leave FS.base zero, which can be conveniently optimized: setting %fs zeros FS.base for fewer cycles than wrmsr. ok kettenis@ | |||
2011-04-05 | Provide macros for ssm/rsm. | Joel Sing | |
2011-04-05 | Implement syscall_return. | Joel Sing | |
"Go ahead" kettenis@ | |||
2011-04-05 | Move PSW in struct cpu_info. Also ensure that we leave interrupts disabled | Joel Sing | |
when switching to virtual mode in the trap handler. Re-enabling interrupts whilst in the trap handler for an interrupt makes life interesting. ok kettenis@ | |||
2011-04-05 | Fix logic bug in debug code and enable spllower()/splraise(). | Joel Sing | |
ok kettenis@ | |||
2011-04-05 | Rename a few xbow global variable names to make them less ambiguous. | Miod Vallat | |
Remember the hub widget number of each node, instead of only the master node. Use this in xbridge to compute the proper direct DMA map configuration register value (it needs to embed the hub widget number matching the physical address range). This should allow us to pick memory from a different node than the one we booted from, as the DMA window, if wanted. | |||
2011-04-05 | Enable wide mode for PSW defaults. | Joel Sing | |
ok kettenis@ | |||
2011-04-05 | Remove unused variable. | Paul Irofti | |
2011-04-05 | Save and restore the PSW value when making a PDC call, rather than blindly | Joel Sing | |
reloading from kpsl. ok kettenis@ |