summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2003-05-13The sab driver sometimes gets out of sync with the hardware. This canHenric Jungheim
cause the serial console to hang. ok jason@
2003-05-13Add option NO_PROPOLICE, which explicitely disables the use of the propoliceMiod Vallat
stack protection when building kernels. Intended to be used on installation media, with tight space constraints - currently, only added where SMALL_KERNEL was already defined. Not thoroughly tested, but requested by deraadt.
2003-05-13Nuke a few simple commons.Miod Vallat
2003-05-13snprintfTheo de Raadt
2003-05-13Make the "slot" and "offset" locators for sbus drivers optional inMiod Vallat
configuration lines.
2003-05-13remove -fno-stack-protector (enable propolice)Ted Unangst
ok deraadt@
2003-05-13The current solution to handle the protection fault trap is notArtur Grabowski
correct. It breaks down if we're trying to jump through a function pointer. The protection fault trap on i386 must be one of the most braindead traps ever invented in the history of humankind. It doesn't give you any information about what went wrong except the instruction that faulted. Since the problem we're trying to deal with is a segmentation problem, we don't get the desitination that we want to jump to, we just get the instruction and we won't add a disassembler to trap handling just to try to figure out what went wrong. What we want to do is to handle this as a normal fault to let noexec accounting in pmap_enter deal with the changes to the code segment. Unfortunately that's impossible. We don't know the faulting address, so we need to change how the exec accounting works. Basically the code segment must already cover the address we want to execute before we can fault it in. New scheme: o Start with conservative code segment. o If we get a protection fault, go through all mappings in the process and find the highest executable mapping, fix up the code segment and record that address. If the code segment didn't change, the protection fault wasn't fixable - just die. o If the highest executable mapping is removed, just reset the code segment to something conservative and let the next protection fault deal with it. We can't read all the vm mappings of the process from the pmap because of locking hell. This should allow floating code segment whenever someone implements that. Also, fix the pmap_protect function to behave more like the other pmaps we have and be slightly more agressive to force more proper protection changes. ok:ed by various people.
2003-05-13kill a stupid warningJason Wright
2003-05-13nuke curproc common (yes this will need revisiting in smp land, but whatJason Wright
doesn't).
2003-05-12use new display types; ok miodJason Wright
2003-05-12use new display typesJason Wright
2003-05-12Initial work to bring this driver in par with other sparc frame buffers:Miod Vallat
- do not reprogram the colormap to black and white, after programming the rasops one (oops). This gives us back a black on white display with colour support. - if the screen resolution would cause the switch from the prom font to a reasonably sized wsfont to leave text in the margins, clear the screen (cut and paste from similar code in vigra.c) - try and use more symbolic constants rather than magical values all over the place. Thanks to millert@ for bringing a sparcbook here.
2003-05-12Enable Intrepid's mac-io match.Thierry Deval
Ok drahn@
2003-05-12kill another common; drahn okJason Wright
2003-05-12add a few more trap typesJason Wright
2003-05-11nuke another common: want_reschedJason Wright
2003-05-11nuke common: physmemJason Wright
2003-05-11don't run off end of strings and use bad pointersMarcus Watts
iterate boot list at most once allow kernel names with - in them complain about option strings that do not start with - distinguish between short read & bad read don't quit if a file can be opened but can't be booted
2003-05-11string cleaning; krw okTheo de Raadt
2003-05-11nuke debugging stuffJason Wright
2003-05-11get the offset of the config space correct, now to figure out why the rtc is ↵Jason Wright
unhappy.
2003-05-11check done for NULL before dereferencing. ok drahn@Ted Unangst
2003-05-10string cleaning; ok beck dhartmeiTheo de Raadt
2003-05-10Remove some exec mappings in the pmap test code (ifdef DEBUG).Artur Grabowski
2003-05-09Map page tables non-exec.Artur Grabowski
deraadt@ ok.
2003-05-09No need to map the message buffer executable.Artur Grabowski
fries@ niklas@ ok
2003-05-09No need to map framebuffers executable. Really.Artur Grabowski
fries@ niklas@ ok.
2003-05-09'found' variable was not used correctly, simplify the logic.Dale Rahn
2003-05-09sprintf() removal for ppc disassembler. ok millert@Dale Rahn
2003-05-09Remove dead (ifdef 0) code that pollutes my greps.Artur Grabowski
2003-05-08'branch absolute linking' instruction is 'bla', not 'bal'.Dale Rahn
2003-05-08KNFDale Rahn
2003-05-08Change extract_field() arguments, eliminates the nasty '31 -' all over theDale Rahn
file. Remove NetBSD tag, this file is not used by NetBSD. Copyright cleanup.
2003-05-08Put newline on end of disasm so that x /i <addr>,<cnt> works correctly.Dale Rahn
2003-05-08EXAMPLE -> EXAMPLES in .Sh section, as per mdoc template.Jason McIntyre
crunch stuff still needs a bit of work.
2003-05-07string cleaningTheo de Raadt
2003-05-07double semicolon in local var declMichael Shalayeff
2003-05-07disable profiling for tlb fault handlersMichael Shalayeff
2003-05-07selecet pa-level and scheduling separatelyMichael Shalayeff
2003-05-07double memsize as there might be prom as wellMichael Shalayeff
2003-05-07exit stack is not used anymore. fpemu and emergency are fine w/ just a page ↵Michael Shalayeff
per face
2003-05-06allow programming dma block bus transaction length on 710 and set to 8 words ↵Michael Shalayeff
for hppa/osiop; krw@ ok
2003-05-06Declare the major number for wd, so that a custom kernel can specific explicitMiod Vallat
root on wd0a. Problem spotted by Denis A. Doroshenko.
2003-05-05Move exec base to 0x1c000000, exe/data gap to 512MB. Allows betterDale Rahn
interleave of exe/shared libs. Raise MAXDSIZ back to 1G. This change REQUIRES a binary update on i386.
2003-05-05Write explicit scsibus at controller attachment, rather than scsibus at scsiMiod Vallat
attribute.
2003-05-04mop-mop squeek-squeekMichael Shalayeff
2003-05-04snprintfTheo de Raadt
2003-05-04Set code segment register according to nxpages, copied from machdep.cDale Rahn
2003-05-04When a protection fault occurs, force %cr2 to contain the pc asDale Rahn
the fault address.
2003-05-04string cleaning. ok deraadt@Ted Unangst