Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-07-01 | Oops! Revert previous commit. | Mark Kettenis | |
2007-07-01 | Add PDC_IO. | Mark Kettenis | |
2007-06-20 | b_cylinder does not need to be set on the callpath down into drivers. | Theo de Raadt | |
cpu_disklabel can go away, since nothing anymore needs to use it; ok miod | |||
2007-06-18 | Don't use cpu_disklabel as local storage. Use local variables and discard | Kenneth R Westerback | |
the unneeded info when done with it. Another empty struct cpu_disklabel. ok deraadt@ | |||
2007-06-17 | Eliminate a few straggling 'labelsector' field declarations from | Kenneth R Westerback | |
cpu_disklabel's. 'labelsector' is not used anywhere according to grep. 'go for it' deraadt@ | |||
2007-06-17 | significantly simplified disklabel infrastructure. MBR handling becomes MI | Theo de Raadt | |
to support hotplug media on most architectures. disklabel setup and verification done using new helper functions. Disklabels must *always* have a correct checksum now. Same code paths are used to learn on-disk location disklabels, to avoid new errors sneaking in. Tested on almost all cases, testing help from todd, kettenis, krw, otto, dlg, robert, gwk, drahn | |||
2007-06-07 | Eliminate unnecessary duplicate defines *_LABELSECTOR and | Kenneth R Westerback | |
*_LABELOFFSET. Don't use osdep->labelsector since it will always be LABELSECTOR, since we don't support extended DOS partitions holding the OpenBSD disk label. No functional change. Now only Alpha and Vax bounds_check_with_label differ by more than comments. | |||
2007-05-27 | Dynamically allocate irq's for pci devices on elroy(4). | Mark Kettenis | |
ok martin@ | |||
2007-05-23 | Add proper bus_space_vaddr() implementation. | Mark Kettenis | |
ok miod@ | |||
2007-05-21 | Ask firmware for reset before trying ourselves; needed for four-digit b/c/j | Mark Kettenis | |
workstations. tested by otto@, krw@; ok deraadt@ | |||
2007-05-16 | splassert_ctl defaults to 1 now, so dont wrap the checks for | Thordur I. Bjornsson | |
splassert_ctl > 0 in __predict_false(). ok deraadt@ | |||
2007-05-16 | The world of __HAVEs and __HAVE_NOTs is reducing. All architectures | Artur Grabowski | |
have cpu_info now, so kill the option. eyeballed by jsg@ and grange@ | |||
2007-05-15 | Userland has the right to compile, too; not sure this will be enough yet | Miod Vallat | |
but deraadt@ insists this goes in now. | |||
2007-05-15 | Remove the MI implementation of mutexes and remove the __HAVE_MUTEX | Artur Grabowski | |
option. Every architecture implements mutexes now. | |||
2007-05-15 | kill __HAVE_DEVICE_REGISTER by requiring all architectures to have a | Theo de Raadt | |
device_register() function -- even if it does nothing. reduces the cpp-based blather different between architectures idea ok'd by miod; tested on all architectures (except a few miod will need to cleanup because he has them) | |||
2007-05-14 | move hppa to __HAVE_CPUINFO | Martin Reindl | |
input from miod@, ok kettenis@ | |||
2007-05-05 | Define MUTEX_OLDIPL where they were missing, will be used (reasonably) shortly. | Miod Vallat | |
2007-05-05 | Simple single-processor only mutex implementation. | Miod Vallat | |
2007-05-01 | Provide <machine/lock.h> on all platforms, so that MI code may #include it | Miod Vallat | |
unconditionnaly. | |||
2007-04-26 | Proper atomic_{set,clear}bits_{int,long} implementation, and use it for | Miod Vallat | |
softintr(); ok mickey@ | |||
2007-03-15 | Since p_flag is often manipulated in interrupts and without biglock | Artur Grabowski | |
it's a good idea to use atomic.h operations on it. This mechanic change updates all bit operations on p_flag to atomic_{set,clear}bits_int. Only exception is that P_OWEUPC is set by MI code before calling need_proftick and it's automatically cleared by ADDUPC. There's no reason for MD handling of that flag since everyone handles it the same way. kettenis@ ok | |||
2007-02-19 | only make this interface available to the kernel for now, discussed witha | Theo de Raadt | |
rt and such; tested and ok miod drahn | |||
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-01-17 | new shorter version of userret() as surely miod ment it to be like (; miod@ ok | Michael Shalayeff | |
2006-10-20 | Try again with local variable to avoid alignment issues. | Kenneth R Westerback | |
"The dosparts member of cpu_disklabel was not used for any persistant data. Eliminate it, and just use the data being read in while processing MBR and EBR records. Should be no functional change. ok weingart@ deraadt@" | |||
2006-10-18 | back out disksubr changes ... since they violate strict alignment on | Theo de Raadt | |
some architectures (kaboom); that will be fixed in the next iteration hopefully! | |||
2006-10-17 | The dosparts member of cpu_disklabel was not used for any persistant | Kenneth R Westerback | |
data. Eliminate it, and just use the data being read in while processing MBR and EBR records. Should be no functional change. ok weingart@ deraadt@ | |||
2006-10-04 | Zap bad144 bad sector info in disklabels. Sparsely used if at all for | Kenneth R Westerback | |
a few obsolete and easily replaced disk models. And didn't work anyway according to Bob, who has tried. ok beck@ | |||
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-07-07 | Unroll DLT_* logic into simple 'look for native disklabel, then try | Kenneth R Westerback | |
DOS MBR' logic. Leave DOS MBR logic inside #if defined(DISKLABEL_I386) blocks until impact on install media can be evaluated. Eliminates most remnants of cross-endian, cross-architecture disklabel processing attempts. Fix some mips64 issues with last commit, found by kettenis@. No functional change. | |||
2006-07-03 | Eliminate most of the #if/#endif maze in alpha, hppa, hppa64, and mips64 | Kenneth R Westerback | |
disklabel code that was intended to support cross-endian and cross-architecture use of disklabels. Never actually used except for Alpha<->Amiga moves that now can't happen anyway. Leave native and DOS MBR disklabel code. Tested on alpha and hppa. No functional change. | |||
2006-06-26 | Clean up some inconsistancies in definitions around DOS MBR code. No | Kenneth R Westerback | |
functional change. ok deraadt@ | |||
2006-06-19 | Zap Amiga bits of disklabel.h now that Amiga bits of readdisklabel() are | Kenneth R Westerback | |
gone. 'go ahead' deraadt@ | |||
2006-06-11 | Amiga is no longer amoung us. Some architectures were too sentimental | Kenneth R Westerback | |
to cut all ties when it left for the attic. Eliminate (theoretical) ability to read Amiga disklabels on those architectures. mips64 compile tested by miod@ "whack away" deraadt@ "my amiga runs 3.2" niklas@ | |||
2006-06-04 | Shrink VM_PHYSSEG_MAX to 1 on platforms where physical memory is contiguous | Miod Vallat | |
and there is only one call to uvm_page_physload(). | |||
2006-04-09 | #ifdef lint wraps for va_start | Theo de Raadt | |
2006-03-19 | remove unused bdbtofsb(bn) macro | Martin Reindl | |
found by drahn@ | |||
2006-03-12 | remove splimp. | Brad Smith | |
2006-01-13 | Make size_t, ssize_t, intptr_t and uintptr_t consistent amongst our | Todd C. Miller | |
architectures. They are now defined as unsigned long, long, long and unsigned long respectively. | |||
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-22 | Bad commit, breaks hppa64. Prompted by deraadt@ | Marco Peereboom | |
2005-12-21 | Add MACHINE_STACK_ALIGN define. | Marco Peereboom | |
2005-12-19 | Fix hppa ldcw alignment issue. | Marco Peereboom | |
Help deraadt, tedu, kettenis Ok tedu, kettenis | |||
2005-12-14 | make va_arg() map to nothing; ok millert | Theo de Raadt | |
2005-12-14 | convert _FOO_SOURCE -> __FOO_VISIBLE in machine. OK deraadt@ | Todd C. Miller | |
2005-12-14 | Make clock_t consistent across platforms as a 32 bit int. OK deraadt@ | Todd C. Miller | |
2005-12-13 | nuke unused BTOPKERNBASE define | Martin Reindl | |
pointed out by miod@ |