Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-02-06 | Add machine/atomic.h to all architectures and define two operations | Artur Grabowski | |
right now that are supposed to be atomic with respect to interrupts and SMP: atomic_setbits_int and atomic_clearbits_int. All architectures other than i386 and amd64 get dummy implementations since at first we'll be replacing operations that are done with "a |= bit" and "a &= ~bit" today. More proper implementations will follow kettenis@, miod@ ok | |||
2007-02-03 | Simple single-processor mutex implementation, simpler than the MI code by | Miod Vallat | |
use of MD spl code bowels. No functional change. | |||
2007-01-12 | Move kernel virtual address space to make sure it doesn't overlap with | Mark Kettenis | |
physical memory to avoid problems on UltraSPARC-III and III+. | |||
2006-12-30 | Remove __BUS_SPACE_HAS_STREAM_METHODS, the stream methods are a netbsd-ism. | Claudio Jeker | |
discussed with miod@ who has the same changes hiding in one of his trees. | |||
2006-12-24 | Define PROC_PC. Then, since profiling information is being reported in | Miod Vallat | |
statclock(), do not bother doing this in userret() anymore. As a result, userret() does not need its pc and ticks arguments, simplify. | |||
2006-12-23 | Provide sparc64-specific DT_XXX constant. | Mark Kettenis | |
ok miod@ | |||
2006-12-14 | Add defines for several SPARC-V9 implementations. | Mark Kettenis | |
2006-11-29 | Remove cpu_swapin() and cpu_swapout(), they are no longer necessary (except | Miod Vallat | |
for cpu_swapin() on hppa* which is kept). | |||
2006-10-27 | Add a few UltraSPARC-III ASI's. | Mark Kettenis | |
2006-08-31 | Fix handling of 64-bit quantities in Open Firmware's client interface. | Mark Kettenis | |
Spotted by tsi@, and shamelessly stolen from his diff. Fixes several UltraSPARC-III machines wich have more than one memory bank filled. ok deraadt@ | |||
2006-08-12 | Make all DEV_BSIZE definitions consistant by using (1 << DEV_BSHIFT) | Kenneth R Westerback | |
in the six cases using "512". As DEV_BSHIFT is always 9, this should be a no-op. "no objections" miod@ "I can't see any problem doing this." pedro@ | |||
2006-06-29 | Fix PMAP_PREFER and make it use VA_ALIAS_MASK to prevent me from breaking | Mark Kettenis | |
it again. ok miod@, jason@ | |||
2006-06-21 | add the machdep.kbdreset logic to sparc64 (stuff to use it is coming) | Jason Wright | |
2006-06-21 | grr... missed this... nuke SUN4U stuff here, too | Jason Wright | |
2006-06-07 | Remove unused bus_space_probe(). | Miod Vallat | |
2006-06-02 | All I wanted was to fix the bogus PG_SZ macro, but this is better: | Miod Vallat | |
Do not try to map the message buffer with large pages, it's just as easy to simply use as many 8KB pages as necessary. From NetBSD. | |||
2006-06-02 | feild -> field | Miod Vallat | |
2006-05-31 | It's bit 13 that's causing the address aliasing in the cache, not bit 14. | Mark Kettenis | |
ok jason@ | |||
2006-05-31 | extend the bootpath values to 64bits, and deal with fallout | Jason Wright | |
extend str2hex to handle long's, and teach it that strings starting with 'w', consisting of hex digits are really just hex digits match fp to scsibus (fiber port) match fiber channel portwwn/lun to it's bootpath variables result: with a small change to isp(mailed to mjacob) we can correctly autoconf with a boot path of: /pci@8,600000/SUNW,qlc@4/fp@0,0/disk@w21000004cf948498,0:a/bsd ie. schizo/ isp/ scsisbus/disk with port WWN of 21...98, lun 0, partition a | |||
2006-05-20 | Put explicit barriers in in-line spl functions. | Miod Vallat | |
2006-05-07 | Missing license block; from art@ | Miod Vallat | |
2006-04-09 | #ifdef lint wraps for va_start | Theo de Raadt | |
2006-03-19 | rev 1.86 | Brad Smith | |
make the "generic" PCI bus enumeration code the standard case which gets used if nothing else is defined in MD headers, introduce a "PCI_MACHDEP_ENUMERATE_BUS" CPP definition which can be used by MD headers (just 1 port atm) to plug in special code rev 1.62 * Implement a machine-dependent pci_enumerate_bus() for sparc64 which uses OFW device nodes to enumerate the bus. When a PCI bus that is behind a bridge is attached, pci_attach_hook() allocates a new PCI chipset tag for the new bus and sets it's "curnode" to the OFW node of the bridge. This is used as a starting point when enumerating that bus. Root busses get the OFW node of the host bridge (psycho). rev 1.59 Split the code that enumerates the PCI bus and that actually probes for a device into two functions: * pci_probe_device() actually probes/attaches the device specified by the provide pcitag_t. * pci_enumerate_bus() enumerates the bus, and calls pci_probe_device() for each device on the bus. A pci_enumerate_bus_generic() is provided which implements the old method of doing this: If something found at dev0/func0, determine number of functions and probe each one. From NetBSD ok kettenis@ Tested on a good number of amd64/i386/macppc/sparc64 systems | |||
2006-03-19 | remove unused bdbtofsb(bn) macro | Martin Reindl | |
found by drahn@ | |||
2006-03-12 | Previous fix was half-done, move the wsscreen_list array into the softc | Miod Vallat | |
as well. | |||
2006-03-12 | When attaching a wsdisplay, the wsscreen_list structure can not be on the | Miod Vallat | |
stack; found the hard way by Stefano <stefano@merlinobbs.net>. | |||
2006-03-12 | remove splimp. | Brad Smith | |
2006-03-04 | <sparc64/dev/upavar.h> is unused except for struct upa_reg for autoconf, so | Miod Vallat | |
move it to <machine/autoconf.h>. | |||
2006-02-22 | Remove unused probeset() function. | Miod Vallat | |
2006-02-22 | Remove long unused ELF{32,64}_MACHDEP macros. | Miod Vallat | |
2006-01-08 | Expose struct sigcontext, struct sigstat and struct sigaltstack for XPG4.2 | Todd C. Miller | |
2006-01-06 | Don't redefine SIZE_MAX | Todd C. Miller | |
2006-01-06 | Adapt things to use __type_t instead of _BSD_TYPE_T_ | Todd C. Miller | |
Add new sys/_types.h header Include machine/_types.h or sys/_types.h where applicable | |||
2006-01-06 | Merge machine/ansi.h and machine/types.h into machine/_types.h and | Todd C. Miller | |
rename the types using the __ protected namespace (e.g. __size_t). Idea from FreeBSD. | |||
2005-12-30 | Remove unused COMPAT_NETBSD32 block and get rid of register{32,64}_t | Todd C. Miller | |
which are now unused. Tested and OK miod@ | |||
2005-12-28 | Remove dead cruft. | Miod Vallat | |
2005-12-18 | Don't include cdefs.h if _LOCORE is defined and hide some more defines | Todd C. Miller | |
unless __BSD_VISIBLE or _LOCORE are set. OK deraadt@ | |||
2005-12-14 | convert _FOO_SOURCE -> __FOO_VISIBLE in machine. OK deraadt@ | Todd C. Miller | |
2005-12-13 | First step in include files overhaul. Use __FOO_VISIBLE (as defined | Todd C. Miller | |
in sys/cdefs.h) instead of _FOO_SOURCE. Also fix several namespace pollution issues, including the byte order defines. OK deraadt@ | |||
2005-12-12 | Nuke unused pmap_from_phys_address(). | Miod Vallat | |
2005-11-24 | add lint-specific hacks. at the same time, clean out a lot of ancient | Theo de Raadt | |
cruft for old compilers and environments. there may be a 2nd round of polishing after this; ok miod and others | |||
2005-11-11 | Remove machdep.booted_kernel sysctl of questionable usefulness. | Miod Vallat | |
ok deraadt@ | |||
2005-10-24 | Mach-macro free | Martin Reindl | |
2005-09-21 | isbad() is only used on SMD disks on sparc; remove it on other platforms. | Miod Vallat | |
2005-09-12 | Change the NKMEMPAGES range to 4-64MB for 32bit arches, and 8-128MB for 64bit | Miod Vallat | |
arches; except on sparc where the range is 4-8 for !sun4m and 4-64 for sun4m, selected at runtime. | |||
2005-09-08 | make comments match the fact that we are on sun4u, plus minor cleanup | Martin Reindl | |
ok mickey@ | |||
2005-09-04 | remove unused NetBSD pci_intr_evcnt() function. | Brad Smith | |
2005-07-31 | Get rid of unused SINCR and SSIZE constants. | Miod Vallat | |
2005-07-10 | remove two unused flags | Brad Smith | |
2005-07-09 | Implement _bus_dmamem_mmap instead of just calling panic(); | Robert Nagy | |
This is needed by bktr(4). ok mickey@ miod@ |