Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-10-14 | Don't bail out after finding the first cpu. | Mark Kettenis | |
2007-10-13 | Remove leftovers art forgot to prune... | Miod Vallat | |
2007-10-13 | Fix cpu_exit() comments to be more closer to reality. | Miod Vallat | |
2007-10-10 | prepare for the future | Theo de Raadt | |
2007-10-10 | Make context switching much more MI: | Artur Grabowski | |
- Move the functionality of choosing a process from cpu_switch into a much simpler function: cpu_switchto. Instead of having the locore code walk the run queues, let the MI code choose the process we want to run and only implement the context switching itself in MD code. - Let MD context switching run without worrying about spls or locks. - Instead of having the idle loop implemented with special contexts in MD code, implement one idle proc for each cpu. make the idle loop MI with MD hooks. - Change the proc lists from the old style vax queues to TAILQs. - Change the sleep queue from vax queues to TAILQs. This makes wakeup() go from O(n^2) to O(n) there will be some MD fallout, but it will be fixed shortly. There's also a few cleanups to be done after this. deraadt@, kettenis@ ok | |||
2007-10-10 | malloc+bzero -> malloc+M_ZERO. Use 'malloc(sizeof(*p) ...' idiom. | Kenneth R Westerback | |
This completes my bzero/memset(,0,) -> M_ZERO sweep of the tree. ok kettenis@ | |||
2007-10-08 | A few trailing bzero/memset -> M_ZERO occurrences, cast removal and | Kenneth R Westerback | |
size(*p) usage. This should be the last of the simple malloc() changes. | |||
2007-10-08 | A few trailing bzero/memset -> M_ZERO occurrences, cast removal and | Kenneth R Westerback | |
size(*p) usage. | |||
2007-10-08 | enable spdmem where it matters | Theo de Raadt | |
2007-10-08 | Don't skip EEPROMs in ofw i2c scan, | Jonathan Gray | |
match on sparc64 SPD name in spdmem. Tested on a V120. ok deraadt@ | |||
2007-10-02 | Fiddle Sun traditional disklabel recognition to eliminate union and | Kenneth R Westerback | |
associated field access defines. This reverts most changes to dev/sun/disklabel.h without eliminating new functionality. Fix comments to line up and fit on 80 column line, making both tsi@ and I feel better. Simplify logic in disksubr.c. No semantic change. Tested & ok tsi@. | |||
2007-10-02 | Apply (with slight variants) this elimination of bzero() with M_ZERO: | Kenneth R Westerback | |
- if ((mapstore = malloc(mapsize, M_DEVBUF, - (flags & BUS_DMA_NOWAIT) ? M_NOWAIT : M_WAITOK)) == NULL) + if ((mapstore = malloc(mapsize, M_DEVBUF, (flags & BUS_DMA_NOWAIT) ? + (M_NOWAIT | M_ZERO) : (M_WAITOK | M_ZERO))) == NULL) return (ENOMEM); - bzero(mapstore, mapsize); | |||
2007-10-01 | More easy bzero() -> M_ZERO. Use 'p = malloc(sizeof(*p) ...' where | Kenneth R Westerback | |
obvious. | |||
2007-09-30 | Move intrpending array into 'struct cpu_info'. | Mark Kettenis | |
2007-09-22 | Add kernel locking. | Mark Kettenis | |
2007-09-22 | M_ZERO -> bzero. | Kenneth R Westerback | |
ok art@ | |||
2007-09-19 | On sparc & sparc64, change `mount -a` to recognise Linux ext2 partitions | Marc Aurele La France | |
by interpreting more fields out of a standard Sun disk label. ok krw@ | |||
2007-09-18 | Only the most obvious bzero() -> M_ZERO changes. No cast changes, no | Kenneth R Westerback | |
MALLOC/FREE, etc. Just adding M_ZERO to malloc() and deleting an immediately adjacent bzero(). | |||
2007-09-17 | Only the most obvious bzero() -> M_ZERO changes. No cast changes, no | Kenneth R Westerback | |
MALLOC/FREE, etc. Just adding M_ZERO to malloc() and deleting an immediately adjacent bzero(). | |||
2007-09-10 | Missing $OpenBSD$ tag. | Mark Kettenis | |
2007-09-10 | IPI implementation. Bits and pieces from NetBSD, but the interface has been | Mark Kettenis | |
changed to free up another 64-bit word in the interrupt transaction. This means we have two 64-bit words available for arguments, which means we probably don't need to pass arguments through structures. | |||
2007-09-10 | Introduce a md pmap hook, pmap_remove_holes(), which is supposed to mark | Miod Vallat | |
the holes a MMU may have from a given vm_map. This will be automagically invoked for newly created vmspaces. On platforms with MMU holes (e.g. sun4, sun4c and vax), this prevents mmap(2) hints which would end up being in the hole to be accepted as valid, causing unexpected signals when the process tries to access the hole (since pmap can not fill the hole anyway). Unfortunately, the logic mmap() uses to pick a valid address for anonymous mappings needs work, as it will only try to find an address higher than the hint, which causes all mmap() with a hint in the hole to fail on vax. This will be improved later. | |||
2007-09-09 | Add a few missing bits to include/cpu.h required for MULTIPROCESSOR kernels. | Mark Kettenis | |
2007-09-09 | Make fpproc per-cpu. This turns fpproc into a macro, so adjust fpu/fpu.c | Mark Kettenis | |
to avoid collisions. | |||
2007-09-09 | Remove some more goo left over from sparc. | Mark Kettenis | |
2007-09-09 | Make handled_intr_level per-cpu. | Mark Kettenis | |
2007-09-09 | uchcom(4) has been verified to work by djm@, so add it to all | Jonathan Gray | |
USB capable archs. | |||
2007-09-08 | Add prom functions to start secondary CPUs. | Mark Kettenis | |
2007-09-08 | Make the ast on sparc64 per-process instead of global. Necessary to make | Mark Kettenis | |
signal delivery more reliable once we go smp (although the code for that is still missing). "in principle, this looks good" art@ | |||
2007-09-08 | use M_ZERO. | Martin Reindl | |
input from kettenis@ | |||
2007-09-04 | UltraSPARC CPUs always have an on-chip FPU. There really is no need to have | Mark Kettenis | |
the code to detect the various FPUs of earlier SPARC V7 and V8 CPUs. ok deraadt@, miod@ | |||
2007-09-03 | Fix a few interrupt dispatch/receive register definitions. | Mark Kettenis | |
2007-09-03 | Typos from miod. 'functin' -> 'functin' in some comments. | Kenneth R Westerback | |
2007-08-25 | Real mutexes for sparc64. Some comments from henric@ and claudio@. | Mark Kettenis | |
Tested by fkr@, claudio@, nick@. | |||
2007-08-25 | Print a bit more information in the safari interrupt handler. Get rid of | Mark Kettenis | |
function names starting with an underscore while I'm there. | |||
2007-08-25 | Fix printing of more than 2G of memory. | Mark Kettenis | |
ok miod@ | |||
2007-08-25 | Real mutexes for sparc64. Some comments from henric@ and claudio@. | Mark Kettenis | |
Tested by fkr@, claudio@, nick@. | |||
2007-08-21 | Remove two out-of-date comments. | Mark Kettenis | |
2007-08-21 | Do not repeat device name in failure message printed during attachment. | Mark Kettenis | |
2007-08-15 | Kernel stacks can live beyond EINTSTACK now. | Mark Kettenis | |
ok deraadt@ | |||
2007-08-10 | Be more careful when asking for the next property. help and ok kettenis@. | Federico G. Schwindt | |
2007-08-07 | Add "dma" and "ledma" as busses that potentially have the root device on them. | Mark Kettenis | |
Makes the Ultra-1 find its root disk again. tested by nick@ and fgsch@, ok deraadt@ | |||
2007-08-04 | Enable CardBus bus support, and add ne(4). | Mark Kettenis | |
ok deraadt@ | |||
2007-08-04 | rbus for sparc64 | Mark Kettenis | |
ok deraadt@ | |||
2007-08-04 | Add sparc_bus_addr member to struct sparc_bus_space_tag. This function maps | Mark Kettenis | |
a bus_space_handle_t back to a bus_addr_t. Needed for rbus. Only implemented for mainbus(4) and psycho(4) for now; schizo(4) and pyro(4) will follow soon. ok deraadt@ | |||
2007-08-04 | Add missing pci_intr_line() implementation. | Mark Kettenis | |
ok deraadt@ | |||
2007-07-30 | Shuffle the order in which we look for header files, when doing | Thordur I. Bjornsson | |
kernel builds locally this doesnt change much but over NFS this cuts about 12% of the build time on my setup (i386). OK miod@, deraadt@. | |||
2007-07-29 | Add support for bootpaths like /pci@1f,4000/ide@3,0/ata@0,0/cmdk@0,0 | Mark Kettenis | |
in addition to paths like /pci@1f,0/ide@d,0/disk@0,0 for machines rooting off wd(4). This makes the Ultrabook 170/200 find its root disk. tested by krw@ | |||
2007-07-28 | Don't try to map interrupts that are already fully specified. Makes the | Mark Kettenis | |
onboard IDE controller on the Ultrabook 170/200 work. | |||
2007-07-24 | Remove some goo for dealing with 32-bit cpu's. | Mark Kettenis | |
"I don't mind this diff" miod@ |