Age | Commit message (Collapse) | Author | |
---|---|---|---|
2002-02-19 | correct extended partition botch; gluk, in PR 1449 | Theo de Raadt | |
2002-02-18 | change the dma memory allocation to use kernel_map, not kmem_map. | Dale Rahn | |
suggestion by art. | |||
2002-02-17 | Patch from Daniel Lucq <daniel@lucq.org> | Mats O Jansson | |
The patch allows you to change the value of NMBCLUSTERS, BUFCACHEPERCENT and NKMEMPAGES using the config command, instead of recompiling the kernel. This is the kernel part of the patch. I have compiled it on i386, sparc64, alpha and macppc. -moj ok art@ maja@ | |||
2002-01-30 | A bit of hacking on awacs to try to get audio input working. | Dale Rahn | |
interrupts and buffer handling seems to be occurring correctly. All audio samples are zero'ed however. Dont know if the problem is with audio source control or with DMA. audio output still works. A few changes were other changes from netbsd which seemed to make sense. | |||
2002-01-26 | Kludge, protect against bus faults during pci probes. allows OpenBSD | Dale Rahn | |
to boot on a B&W G3. | |||
2002-01-26 | splclock() should block SPL_BIO - SPL_IMP. | Dale Rahn | |
2002-01-23 | move mb_map allocation to mbinit() | Artur Grabowski | |
2002-01-23 | move definition of mb_map from zillions of machdep.c to uipc_mbuf.c | Artur Grabowski | |
2002-01-23 | Pool deals fairly well with physical memory shortage, but it doesn't deal | Artur Grabowski | |
well (not at all) with shortages of the vm_map where the pages are mapped (usually kmem_map). Try to deal with it: - group all information the backend allocator for a pool in a separate struct. The pool will only have a pointer to that struct. - change the pool_init API to reflect that. - link all pools allocating from the same allocator on a linked list. - Since an allocator is responsible to wait for physical memory it will only fail (waitok) when it runs out of its backing vm_map, carefully drain pools using the same allocator so that va space is freed. (see comments in code for caveats and details). - change pool_reclaim to return if it actually succeeded to free some memory, use that information to make draining easier and more efficient. - get rid of PR_URGENT, noone uses it. | |||
2002-01-21 | Respect db_console for "progammer button", for improved physical security. | Dale Rahn | |
2002-01-20 | use new allocm, round_buffersize decl's | Eric Jackson | |
missed this one. | |||
2002-01-17 | Allow nested interrupts on the mac interrupt controllers, previously | Dale Rahn | |
the external interrupt was never enabled during interrupt handling. | |||
2002-01-16 | Don't include <sys/map.h> when you don't need what's in it. | Miod Vallat | |
2002-01-14 | The return value of lcsplx is used in locore. however at some point | Dale Rahn | |
the function was changed to be void. return the cpl value at the time the function is called as locore.S expects. | |||
2002-01-08 | correct altivec support enable for gas 2.11. (still in comment) | Dale Rahn | |
2002-01-07 | Paranoia on my part, do not let the condition exist where kvm space could | Dale Rahn | |
be claimed by the pre kvm init stealing process and kvm. | |||
2002-01-07 | On cache flushing, if start is not cacheline aligned, add to the lenght | Dale Rahn | |
to make sure the whole region is flushed. from conversation with pefo. | |||
2002-01-03 | Use STRIPFLAGS=-g -X -x rather than =-d on all ELF arches. | Miod Vallat | |
2002-01-03 | Proper va_end calling (no double calls) | Jason Wright | |
2002-01-03 | If the dma decides to perform I/O on memory that is not mapped, panic | Dale Rahn | |
immediately instead of writing on random memory addresses. Could the mapping be faulted in, no? | |||
2002-01-02 | On the road to serial console support. stage one, if of console is serial | Dale Rahn | |
force to display, zs(macppc) doesn't support console yet... | |||
2001-12-31 | Fix a glitch in _dmamap_load_buffer introduced in the last commit. | Miod Vallat | |
jason@ ok | |||
2001-12-24 | Harmonize and complete wrt cross-compilation. | Miod Vallat | |
2001-12-21 | Unbreak gm0. regression test should be done next time... | Dale Rahn | |
2001-12-18 | Recognize newer uni-n chips. | Dale Rahn | |
2001-12-17 | Comment out abtn, since it is the cause of the function key crashes | Dale Rahn | |
on powerbook/ibook machines. It currently doesn't work anyway. Pointed out by Alexander Guy. | |||
2001-12-15 | document exit command at Boot: prompt; pvalchev tested | Theo de Raadt | |
2001-12-14 | Add gem (disabled) and hme (...) | Dale Rahn | |
gem works, but is not overly stable yet, sometimes recieves one packet and stops. hme works fine, if the interrupts are connected properly (not yet). | |||
2001-12-14 | From NetBSD: | Dale Rahn | |
Attempt to deal with pci-pci bridges and the irq handling. It is incorrect, but allows one port of a 4 port hme card to work. | |||
2001-12-14 | hme can build on macppc, and and would work if the pci-pci bridge would | Dale Rahn | |
route the interrupts correctly. | |||
2001-12-14 | garbage collect some unused stuff. | Jason Wright | |
2001-12-14 | gem wants BUS_DMA_READ define. | Dale Rahn | |
2001-12-12 | add hifn and dc at pci | Jason Wright | |
2001-12-12 | add /dev/crypto support | Jason Wright | |
2001-12-12 | Full suite of bus_dma functions (except bus_dmamap_load_raw)... this allows | Jason Wright | |
the crypto layer and drivers using bus_dmamap_load_mbuf() to work (tested with hifn and dc); Mostly from NetBSD | |||
2001-12-11 | Remove declarations that already exist in <sys/conf.h> | Miod Vallat | |
2001-12-08 | Sprinkle pmap_update calls where relevant and some other | Artur Grabowski | |
misc pmap usage fixes. | |||
2001-12-07 | In uni_n_config(), only return a base address if a base address was found. | Miod Vallat | |
2001-12-05 | Enable rootdev auto-configuration by device drivers during boot. | Thierry Deval | |
Add support for "raid" devices (prepare future raidframe changes). OK deraadt@, Reviewed by drahn@, jason@, mickey@ and miod@ | |||
2001-12-05 | Put back to the old KMEM size, until we can increase this and have it work | Dale Rahn | |
on large memory machines. | |||
2001-12-05 | VM_KMEM_SIZE no longer needed. | Artur Grabowski | |
2001-12-05 | make nkmempages dynamic based on memory. okay art@ from netbsd: | Niels Provos | |
date: 2000/02/11 19:22:52; author: thorpej; Add some very simple code to auto-size the kmem_map. We take the amount of physical memory, divide it by 4, and then allow machine dependent code to place upper and lower bounds on the size. Export the computed value to userspace via the new "vm.nkmempages" sysctl. NKMEMCLUSTERS is now deprecated and will generate an error if you attempt to use it. The new option, should you choose to use it, is called NKMEMPAGES, and two new options NKMEMPAGES_MIN and NKMEMPAGES_MAX allow the user to configure the bounds in the kernel config file. | |||
2001-12-04 | enable uplcom on macppc GENERIC. tested by myself, and okay'd by drahn@ | lebel | |
2001-12-01 | change to WSEMUL_NO_DUMB | Theo de Raadt | |
2001-11-30 | Now that pmaps can have vm_page_md, make pmap_physseg optional. | Artur Grabowski | |
2001-11-28 | more typedef zapping vm_page_t -> struct vm_page * | Artur Grabowski | |
2001-11-28 | zap some typedefs. | Artur Grabowski | |
vm_map_t -> struct vm_map * vm_map_entry_t -> struct vm_map_entry * simple_lock_data_t -> struct simplelock (uvm not done yet, coming in the next commit) | |||
2001-11-28 | Sync in more uvm changes from NetBSD. | Artur Grabowski | |
This time we're getting rid of KERN_* and VM_PAGER_* error codes and use errnos instead. | |||
2001-11-19 | Use netisr_dispatch instead of handcoded list. | Dale Rahn | |
In this instance it actually is completely identical, but had ATM been added, or something else added to netisr_dispatch, this would have been incorrect. Currently generated asm code is identical. | |||
2001-11-16 | _load_uio returns an error now until a real implementation is in place. | Jason Wright | |