Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-08-20 | When spoofing an MSDOS disklabel, don't create partitions with a final | Kenneth R Westerback | |
block past d_secperunit. Fixes devices where bogus partitions with a starting offset > d_secperunit were created. e.g. floppies formatted by Caldera DR-DOS. ok pedro@ | |||
2006-08-18 | Oops. If you don't use a label, remove it. | Kenneth R Westerback | |
2006-08-17 | Check d_secpercyl in all readdisklable() functions, and have all of | Kenneth R Westerback | |
them return 'invalid geometry' when d_secpercyl == 0. While there move the check to a consistant location (after the check of d_secperunit) and use a consistant idiom (i.e. some readdisklabel()'s have no 'done' label). prodded by thib@ after a bad macppc experience. ok deraadt@ | |||
2006-08-11 | Use d_secperunit rather than 0x1fffffff as the default value for | Kenneth R Westerback | |
RAW_PART's p_size. Since d_secperunit is initialized to 0x1fffffff if not specified there should be no need to use the magic number again. And if d_secperunit was specified then that value should be used instead of the magic number. This was already being done for hp300, luna88k, mac68k, mvme68k, mvme88k. Should be a no-op. | |||
2006-07-29 | fix typo in comment | Jasper Lievisse Adriaanse | |
ok miod | |||
2006-07-09 | DISKLABEL_ALL was never used in hppa, hppa64, mips64 config files so | Kenneth R Westerback | |
just eliminate the check to set DISKLABEL_I386 with it. If you want DISKLABEL_I386, use that option. | |||
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-07-01 | Eliminate redundant get_le() in favour of letoh32(). Add letoh32() | Kenneth R Westerback | |
calls in alpha, hppa, hppa64 and mips63 when accessing the two DOS MBR u_int32_t fields dp_size and dp_start. 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-20 | Define an empty pmap_collect(). | Miod Vallat | |
2006-06-19 | Allocate bus_dma memory from kernel_map, not kmem_map. | Miod Vallat | |
2006-06-19 | move clock_subr.c to a better place, and now it is always in the kernel | Theo de Raadt | |
so that things can use it; tested on all architectures; ok kettenis | |||
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-06 | Define R5k/R10k extra trap codes. | Miod Vallat | |
2006-06-06 | In pmap_enter(), when deciding to flush the icache for a page, invoke the | Miod Vallat | |
TLB-friendly cache function. From NetBSD. | |||
2006-05-31 | Reset pcb_onfault before invoking uvm_fault(). | Miod Vallat | |
2006-05-29 | clean userland namespace a bit more; ok miod | Theo de Raadt | |
2006-05-27 | Eradicate the type 'bus_dmasync_op_t'. Unused. Sporadically | Kenneth R Westerback | |
implemented. Use int. ok mickey@ miod@ | |||
2006-05-14 | use __mips64__ | Robert Nagy | |
2006-05-11 | One more (!foo & BAR), tested deraadt@ | Miod Vallat | |
2006-03-19 | remove unused bdbtofsb(bn) macro | Martin Reindl | |
found by drahn@ | |||
2006-03-15 | Nuke dk_establish(), no longer used. | Miod Vallat | |
2006-03-09 | Do not include <lib/libkern/libkern.h> explicitely, get it via <sys/systm.h>. | Miod Vallat | |
2006-03-04 | Typos grab bag of the month, eyeballed by jmc@ | Miod Vallat | |
2006-02-27 | mips requires strict alignment; spotted after a discussion on undeadly; | Miod Vallat | |
ok deraadt@ kettenis@ | |||
2006-01-22 | b_cylin -> b_cylinder; no functional change. | Miod Vallat | |
2006-01-15 | Print cache instructions correctly. | Miod Vallat | |
2006-01-14 | Revert 1.12 and go back to 32K MAXPHYS; 64k MAXPHYS exposes subtle bugs | Miod Vallat | |
and is not reliable enough. | |||
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-10 | Remove duplicate _C_LABEL define. OK miod@ | Todd C. Miller | |
2006-01-09 | Use protected version of register_t in struct sigcontext for the | Todd C. Miller | |
case where _XOPEN_SOURCE was defined but BSD-specific types are not visible. | |||
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. | |||
2006-01-04 | Crank MAXPHYS to 64KB again and remove bogus comment. | Miod Vallat | |
2006-01-04 | Initialize virtual_end to a decent value, so that VM_MAX_KERNEL_ADDRESS is | Miod Vallat | |
meaningful before pmap_bootstrap() is invoked; gets us valid buffer numbers computation. | |||
2006-01-02 | Kill enablertclock. | Miod Vallat | |
2005-12-22 | 'spoofonly' does not mean what I thought it meant. The whole point is | Kenneth R Westerback | |
to read non-OpenBSD label information like MBRs and populate ('spoof') the OpenBSD disk label appropriately. So avoiding an I/O when doing 'spoofonly' is to miss the whole point. Backout all Sept. 26 and subsequent changes to disksubr.c files. The original CD problem with I/O errors on blank media will be addressed another way. Should fix the ext3 vs amd64 problems discussed on misc@. Thanks to steven@ for finally putting it terms that I understood. ok deraadt@ | |||
2005-12-20 | Since we are allowed to rely on the fact that the pcb is the first element | Miod Vallat | |
of struct user, use syntactic sugar in genassym.cf and use PCB_xxx defines instead of U_PCB_xxx, like all other platforms do; no functional change. | |||
2005-12-20 | 01 -> SA_ONSTACK in sigreturn. | Miod Vallat | |
2005-12-20 | Trim include files list. | Miod Vallat | |
2005-12-20 | __attribute__ ((__packed_)) -> __packed | Miod Vallat | |
2005-12-17 | Remove duplicate definition of machFPCurProcPtr. | Mark Kettenis | |
ok pefo@, miod@ | |||
2005-12-17 | Let the xtlb refill handler fault if the userland va is out of the supported | Miod Vallat | |
address space instead of using the tlb of the va modulo the address space size. ok pefo@ | |||
2005-12-17 | Rename ``dofault'' label to ``fault_common'', it just looks too close to | Miod Vallat | |
``default'' and thus can make your code reading experience more difficult... | |||
2005-12-17 | Fix handling of floating-point registers in PT_{GET|SET}REGS. | Mark Kettenis | |
ok miod@ | |||
2005-12-16 | do not use a label_t in the pcb. label_t may not exist in all contexts, | Theo de Raadt | |
and causes a real pain with _KERNEL that we wish to avoid for sys/user.h so clone a label_t thingy here |