summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2002-07-25house cleaning, also fix a couple of incorrect bit definitions in theJason Wright
(currently unused) pk engine
2002-07-25correct MTU check. sync w/kameJun-ichiro itojun Hagino
2002-07-25a few breakages w/ -current, maybe some other mickey might decide to fix thoseMichael Shalayeff
2002-07-25better kdbprinttrap() and copy over the frame into the db_regs when already ↵Michael Shalayeff
spl-high
2002-07-25preserve t4 as a saviour for the rp for the vfork() syscall. idea from fredette@Michael Shalayeff
unroll the tmp copy loop in the trap return and take care of the frame. remove unused altlabel in copy_on_fault
2002-07-25kcopy is a space-to-space copy from kernel space, to guess where, -- to the ↵Michael Shalayeff
same kernel space, just error on fault
2002-07-25update $NetBSD$ tagsNathan Binkert
2002-07-25only one trap generates exec fault and fetches the fault address from the pc ↵Michael Shalayeff
queues, also supply fault_type (not that it is used that much)
2002-07-25syncNathan Binkert
2002-07-25get rid of trailing whitespaceNathan Binkert
2002-07-25Modify lvalue only once between sequence points. ok deraadt@Thomas Nordin
2002-07-25Compare with the same type. ok deraadt@Thomas Nordin
2002-07-25syncNathan Binkert
2002-07-25typoNathan Binkert
2002-07-24syncNathan Binkert
2002-07-24new devicesNathan Binkert
2002-07-24Use sizeof(array) instead of sizeof(array *) for bcopy length. ok deraadt@Thomas Nordin
2002-07-24use properly sized regs for the prefix, only matters w/ picky binutils, old ↵Michael Shalayeff
gas knows what to do; it's a ddb prettiness anyway
2002-07-24spacesTheo de Raadt
2002-07-24better uid/gid tracking; okay deraadt@Niels Provos
2002-07-24if it appears we are disassembling insn at the pc do not cause an extra ↵Michael Shalayeff
memory fetch (and possibly a fault loop) get one from the iir in the frame
2002-07-24nuke debugging cruftJason Wright
2002-07-24add support for schizo streaming buffers (per PBM), but leave the buffers ↵Jason Wright
disabled for now
2002-07-24Go ahead and enable schizo, you're no worse off with it than without..Jason Wright
2002-07-24No need to cast &thing to paddr_t* when thing IS a paddr_tJason Wright
2002-07-24more use of volatile on registers, cleaningJason Wright
2002-07-24fix header printing in show_all_procsMichael Shalayeff
2002-07-24Use host order when adding packet size to interface statistics counter.Daniel Hartmeier
Only affects pfctl -si output for IPv6. And some whitespace KNF.
2002-07-24- don't need mmio or io registers mapped for console useJason Wright
- can't map expansion rom this way, remove it until we find a safe way - use less magic constants
2002-07-24- change pte_spill_X() to take an extra parameter to determine ifDale Rahn
the fault is a EXE fault or R/W fault. - mask/or the SR_NOEXEC bit into the segment register value when the number of executable pages becomes 0/non-zero. - create segments with SR_NOEXEC set, will be cleared when first exec mapping in the segment is created. - allow pte_spill_X() to deal with a new type of fault, page mapped but non executable, when execute was requested. Adds up to - non-exec stack support. [keep mvmeppc in sync]
2002-07-24- change pte_spill_X() to take an extra parameter to determine ifDale Rahn
the fault is a EXE fault or R/W fault. - mask/or the SR_NOEXEC bit into the segment register value when the number of executable pages becomes 0/non-zero. - create segments with SR_NOEXEC set, will be cleared when first exec mapping in the segment is created. - allow pte_spill_X() to deal with a new type of fault, page mapped but non executable, when execute was requested. Adds up to - non-exec stack support for powerpc.
2002-07-24limit user code up to below the user stack, making stack addresses, ↵Michael Shalayeff
effectively, unexecutable. signal trampoline is mapped elesewhere now, 10x to art@
2002-07-24Support for non-exec mappings on sun4m.Artur Grabowski
- support exec traps and deal with them correctly. - Instead of pretending that the pte permissions are a bit-mask, just make two stupid 8-entry tables (one for kernel, one for userland) that provides translation between VM_PROT* masks and pte permissions. This gives sun4m a non-exec stack.
2002-07-24Support for non-exec page mappings.Artur Grabowski
- split the one TSB into two - one for dmmu, one for immu. - don't load pages without PG_EXEC into the immu TSB. - support for setting correct permissions on exec faults.
2002-07-24Pretty nasty hack to make non-exec mappings work.Artur Grabowski
Instead of using FOE for just emulating references, we also keep track of a pages executability and don't remove the FOE bit if the page is not executable. This is implmented with horrible hacks. Maybe when I have time, I'll reimplment the whole pmap to allow this without ugly hacks (read: probably not this decade). The stack on alpha is now non-exec.
2002-07-24and add the things that are missing?Theo de Raadt
2002-07-24why do i always have to mop upTheo de Raadt
2002-07-23Do not use bcopy() when you mean ovbcopy(); found the hard way by aaron@Miod Vallat
2002-07-23Remove unused files now that powerpc archs use link_elf.hDale Rahn
2002-07-23Allow 'boot hd:,ofwboot bsd' previously it required '/bsd' instead ofDale Rahn
just 'bsd'.
2002-07-23from reading sam@errno.com's code:Jason Wright
- TRDY and RETRY register definitions were backwards - move TRDY/RETRY setup into its own function
2002-07-23prevent double free in some error conditions; from xs@kittenz.orgNiels Provos
2002-07-23Don't use a magic constantJason Wright
2002-07-23Cardbus/pcmcia support for macppc. parts borrowed from NetBSD, and otherDale Rahn
portions of the tree.
2002-07-23Turn READ/WRITE into function calls (driver was getting too bloated withJason Wright
inline macro's; if hifn wanted to make it possible to write a very efficient driver they would have fixed the bugs in the chips). Also, invalidate the burst write checks when a read is executed.
2002-07-23Use the proper cardbus_conf_read() rather than pci (in a cardbus driver).Dale Rahn
ok fgsch@
2002-07-23only break in ddb if the kernel has been mappedMichael Shalayeff
2002-07-23print page protection w/ bits in dump_tableMichael Shalayeff
2002-07-23Now that sparc64 implements reverse splassert, it make senseArtur Grabowski
to add splassert(IPL_NONE) in a few strategic places.
2002-07-23Fix yet another braino.Artur Grabowski
Just because the pool allocates from intrsafe memory doesn't mean that the pool has to be protected by splvm. We can have an intrsafe pools at splbio or splsoftnet. pool_page_alloc and pool_page_free must du their own splvm protection.