Age | Commit message (Collapse) | Author | |
---|---|---|---|
2002-07-25 | house cleaning, also fix a couple of incorrect bit definitions in the | Jason Wright | |
(currently unused) pk engine | |||
2002-07-25 | correct MTU check. sync w/kame | Jun-ichiro itojun Hagino | |
2002-07-25 | a few breakages w/ -current, maybe some other mickey might decide to fix those | Michael Shalayeff | |
2002-07-25 | better kdbprinttrap() and copy over the frame into the db_regs when already ↵ | Michael Shalayeff | |
spl-high | |||
2002-07-25 | preserve 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-25 | kcopy 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-25 | update $NetBSD$ tags | Nathan Binkert | |
2002-07-25 | only 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-25 | sync | Nathan Binkert | |
2002-07-25 | get rid of trailing whitespace | Nathan Binkert | |
2002-07-25 | Modify lvalue only once between sequence points. ok deraadt@ | Thomas Nordin | |
2002-07-25 | Compare with the same type. ok deraadt@ | Thomas Nordin | |
2002-07-25 | sync | Nathan Binkert | |
2002-07-25 | typo | Nathan Binkert | |
2002-07-24 | sync | Nathan Binkert | |
2002-07-24 | new devices | Nathan Binkert | |
2002-07-24 | Use sizeof(array) instead of sizeof(array *) for bcopy length. ok deraadt@ | Thomas Nordin | |
2002-07-24 | use 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-24 | spaces | Theo de Raadt | |
2002-07-24 | better uid/gid tracking; okay deraadt@ | Niels Provos | |
2002-07-24 | if 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-24 | nuke debugging cruft | Jason Wright | |
2002-07-24 | add support for schizo streaming buffers (per PBM), but leave the buffers ↵ | Jason Wright | |
disabled for now | |||
2002-07-24 | Go ahead and enable schizo, you're no worse off with it than without.. | Jason Wright | |
2002-07-24 | No need to cast &thing to paddr_t* when thing IS a paddr_t | Jason Wright | |
2002-07-24 | more use of volatile on registers, cleaning | Jason Wright | |
2002-07-24 | fix header printing in show_all_procs | Michael Shalayeff | |
2002-07-24 | Use 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 use | Jason 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 if | Dale 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 if | Dale 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-24 | limit 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-24 | Support 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-24 | Support 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-24 | Pretty 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-24 | and add the things that are missing? | Theo de Raadt | |
2002-07-24 | why do i always have to mop up | Theo de Raadt | |
2002-07-23 | Do not use bcopy() when you mean ovbcopy(); found the hard way by aaron@ | Miod Vallat | |
2002-07-23 | Remove unused files now that powerpc archs use link_elf.h | Dale Rahn | |
2002-07-23 | Allow 'boot hd:,ofwboot bsd' previously it required '/bsd' instead of | Dale Rahn | |
just 'bsd'. | |||
2002-07-23 | from 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-23 | prevent double free in some error conditions; from xs@kittenz.org | Niels Provos | |
2002-07-23 | Don't use a magic constant | Jason Wright | |
2002-07-23 | Cardbus/pcmcia support for macppc. parts borrowed from NetBSD, and other | Dale Rahn | |
portions of the tree. | |||
2002-07-23 | Turn READ/WRITE into function calls (driver was getting too bloated with | Jason 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-23 | Use the proper cardbus_conf_read() rather than pci (in a cardbus driver). | Dale Rahn | |
ok fgsch@ | |||
2002-07-23 | only break in ddb if the kernel has been mapped | Michael Shalayeff | |
2002-07-23 | print page protection w/ bits in dump_table | Michael Shalayeff | |
2002-07-23 | Now that sparc64 implements reverse splassert, it make sense | Artur Grabowski | |
to add splassert(IPL_NONE) in a few strategic places. | |||
2002-07-23 | Fix 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. |