Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-11-16 | fix the bus_space #define nightmare, so that amd64 and i386 are much more | Theo de Raadt | |
uniform. as a result shared code like acpi needs less #ifdef's ok marco kettenis | |||
2007-11-16 | Remove microtime calls and RNG benchmarking from the pchb attachment | Mike Belopuhov | |
code. This is due to the fact that we do timecounter initialization after autoconf(9). ok deraadt | |||
2007-11-16 | something has to go, unfortunately | Theo de Raadt | |
2007-11-16 | do not make up a device name for interrupts.. give it the dv_xname | Theo de Raadt | |
2007-11-15 | enable most acpi functionality by default. now instead of 'enable acpi', | Theo de Raadt | |
you use 'disable acpi' or 'disable apm' withn you encounter problems (depending on which kind of problems). if we work hard enough, this can remain the situation by the time we ship the next release. otherwise, we will re-disable acpi... so let's crackin' | |||
2007-11-15 | remove the #ifdef ACPI_ENABLE. the EC codepath is either safe enough (and | Theo de Raadt | |
will be improved), or it is unsafe because AML assumes it must be there ok almost everyone | |||
2007-11-15 | Check for curcpu()->ci_softintr being nonzero before invoking dosoftint(), | Miod Vallat | |
in the common case, this saves us two potentially expensive setipl() calls. | |||
2007-11-15 | Make a few end-of-trap-handling symbols global, to get better ddb traces. | Miod Vallat | |
Also, pick better symbol names in the sir/ast processing. | |||
2007-11-15 | At last, port the mvme88k eh.S r1.66 fixes to aviion. | Miod Vallat | |
2007-11-15 | Resolve the struct trapframe tf_mode/tf_flags duality by getting rid of | Miod Vallat | |
the tf_mode name. This field only contains flags used internally by the exception processing code. | |||
2007-11-15 | Stop referring the initial kernel stack as the ``interrupt stack''. It's | Miod Vallat | |
been years since it has last been used for that purpose, so name it the initialization/startup stack. While there, do not store the initialization stack in cpu_info, and have secondary_pre_main() return its value so that the bootstrap code does not need to fetch it from cpu_info. This might be reconsidered when the startup stacks will be freed after they are not used anymore, but there are more things to do first. | |||
2007-11-15 | Attach to "rsc-console". Hopefuly this will give us a proper console on | Mark Kettenis | |
the Sun Fire 280R/V480/V880 when the console is directed to the RSC card. | |||
2007-11-15 | in MP kernels, use smbios to count number of cpus. if > 1 disable apm, so | Theo de Raadt | |
that acpi can get a chance at controlling the machine. done with marco, and even tested on the nastiest case: smbios <2.5 w/ HTT | |||
2007-11-15 | Split CPUID into 2 32 bit fields. | Marco Peereboom | |
ok deraadt | |||
2007-11-15 | ``stastic'' is a fantastic typo. | Miod Vallat | |
2007-11-15 | Clarify when smbios added multi core support and add the missing string | Marco Peereboom | |
designations. ok deraadt | |||
2007-11-15 | oops, processor structs need to be __packed. | Marco Peereboom | |
prompted by deraadt | |||
2007-11-15 | Add struct for processors. | Marco Peereboom | |
ok deraadt | |||
2007-11-14 | Cache curcpu() value into a local variable when it is used more than once in | Miod Vallat | |
a function, so that it does not get reloaded from cr17 every time. | |||
2007-11-14 | No need to check whether we are the primary processor in m188_{clock,stat}intr, | Miod Vallat | |
since the corresponding interrupt source is enabled on the primary processor only. | |||
2007-11-14 | Merge the ci_alive and ci_primary boolean values of struct cpu_info into | Miod Vallat | |
a single ci_flags bitfield. Also, set_cpu_number() will no longer set CIF_PRIMARY on the primary processor, it's up to the initialization code to do this. | |||
2007-11-14 | When processing a data access fault, keep the kernel lock while invoking | Miod Vallat | |
data_access_emulation() to complete the interrupted pipeline operations, as data_access_emulation() can fault in turn. | |||
2007-11-14 | When servicing an exception, do not enable interrupts if they were not | Miod Vallat | |
enabled when the exception occured. This should not happen in practice, but better be safe than sorry. | |||
2007-11-14 | prettify the RCS id (less whitespace) | Thordur I. Bjornsson | |
2007-11-14 | Remove eeprom.h. | Mark Kettenis | |
2007-11-14 | Turn the spl* macros into functions. | Thordur I. Bjornsson | |
Shaves a few bytes of the kernel. No measurable performance loss. ok drahn@, kettenis@ | |||
2007-11-14 | do not process requests linked to unused sessions. (crypto_freesession | Markus Friedl | |
might happen between enqueuing a crypto request and scheduling of the crypto thread); ok hshoexer | |||
2007-11-14 | Let ``machine cpu #'' hop to the given cpu. | Miod Vallat | |
2007-11-14 | Be consistent in db_cmd_loop_done declaration. | Miod Vallat | |
2007-11-13 | Fix printf format string. | Mark Kettenis | |
2007-11-13 | Remove bsd_openprom.h. | Mark Kettenis | |
2007-11-13 | Expose mace_bus_dma_tag and extend the crimebus extent. This allows the | Joel Sing | |
existing bus interfaces to be used to access the GBE hardware found in the SGI O2. ok miod@ | |||
2007-11-13 | Give wscons_machdep.c half a spanking. This allows wsdisplay to compile on | Joel Sing | |
OpenBSD/sgi and prevents it from stealing the console. ok miod@ | |||
2007-11-12 | Restart clock before invoking hardclock() and statclock(), otherwise they | Miod Vallat | |
drift in MP kernels. | |||
2007-11-12 | Use isa_intr_establish() to establish the SCI interrupt handler; this makes | Mark Kettenis | |
sure that interrupt overrides from the MADT are applied. ok marco@, toby@ | |||
2007-11-12 | Split handling of unmaskable vs maskable ipi to make the core simpler, | Miod Vallat | |
no functional change. | |||
2007-11-12 | /dev/openprom | Mark Kettenis | |
ok miod@, deraadt@ | |||
2007-11-12 | fix some problems with lazy fpu context handling: | Todd C. Miller | |
put the "fninit" where it belongs logically deal with XMM exceptions From NetBSD (drochner) | |||
2007-11-12 | Select the right GDT entry for interrupt handlers on i386 systems when | Christopher Pascoe | |
using ioapics, so that interrupt time is accounted correctly. This fixes the problem that 0% interrupt time is always shown when running MP. ok dlg@, suspect this is correct art@, just an oversight niklas@ | |||
2007-11-11 | Rework ipi handling to delay acking the maskable ipi interrupt, so that it | Miod Vallat | |
gets handled like a real hardware interrupt (which it is supposed to mimic anyway). | |||
2007-11-11 | Give more information in ``machine cpu'' under ddb. | Miod Vallat | |
2007-11-11 | Replace next_tick() with simpler C code that I can actually understand. | Mark Kettenis | |
2007-11-11 | Add spurious interrupt detection to macebus. This allows for the detection | Joel Sing | |
of interrupt storms and enables the user to "boot poweroff" from ddb, instead of pulling the powercord. Initial code heavily reworked by miod@ ok miod@ | |||
2007-11-11 | Use two software interrupt sources per processor for IPIs, instead of only | Miod Vallat | |
one, so that we can have maskable and unmaskable IPIs. Make the clock ipis maskable, and masked at IPL_CLOCK and above. This allows us to get rid of the retrig hack in setipl(). | |||
2007-11-11 | In dma_cachectl(), flush unconditionnaly on all processors, regardless of the | Miod Vallat | |
cpu bitmask of the pmap. | |||
2007-11-10 | weel -> well | Joel Sing | |
2007-11-10 | Activate umbg(4) on macppc. | Marc Balmer | |
ok jsg, dlg. | |||
2007-11-10 | Activate umbg(4) in i386. | Marc Balmer | |
ok dlg. | |||
2007-11-10 | Remove a fair amount of duplicated code by making cpu_mp_startup call | Mark Kettenis | |
cpu_initialize. | |||
2007-11-10 | For single-processor kernels, only match the CPU we're running on. | Mark Kettenis | |