Commit Graph

202061 Commits

Author SHA1 Message Date
matt 0cdfe4f5e4 Make _LOCORE exclude more stuff. 2011-06-17 05:18:10 +00:00
matt 5b1bdbc507 Switch to use Makefile.powerpc by default. Include the macppc specific
stuff in Makefile.macppc.inc which Makefile.powerpc will include.
2011-06-17 05:17:30 +00:00
matt 06d8da7df3 Change from level to ipl since we aren't dealing a mask anymore, just a
simple value.
Fix intr_calculatemasks to deal with ipl isn't a mask.  Let establish
and disestablish determine the highest ipl for the interrut source being
modified.  No reason to recompute that for every source when only one changes
at a time.  Only change idepth while in the loop.
2011-06-17 05:15:22 +00:00
matt 18f5be9ac5 USPRG0 is only on BOOKE 2011-06-17 05:11:48 +00:00
matt a652aa3430 Let ext_intr adjust ci_idepth.
Remove some dead code.
Use the right register for SRR1
2011-06-17 05:10:53 +00:00
matt e9519832bc include <machine/psl.h> 2011-06-17 05:07:17 +00:00
matt fcefa704ec Note removal of Avalon A12 support from alpha. 2011-06-17 03:57:39 +00:00
matt 6cee2f02e2 Remove Avalon A12 support.
ok ross@
2011-06-17 03:55:56 +00:00
christos 23bea5092d - pass things in arguments instead of environment
- sanity check arguments
- disable extra data warning, old tests gave it too
- print more detailed errors
- use err/warn more
*some tests still fail; more than they used to*
2011-06-17 02:15:28 +00:00
rmind 3aad734e54 Improve comments on uvm_anon.c, tidy up slightly.
No functional changes.
2011-06-17 02:12:35 +00:00
yamt 26f4e9f9b1 xref link_addr for -link. 2011-06-16 23:35:35 +00:00
jdc f18c34f949 Correctly test for __ISDIRTY.
Problem noticed by (and test case provided by) blymn@.
2011-06-16 22:45:46 +00:00
christos 548c989a0b don't modify tzname unless we are the non-reentrant version. 2011-06-16 22:40:17 +00:00
wiz 71ef0adbc7 New sentence, new line. 2011-06-16 21:53:53 +00:00
njoly 6e98f89e0f typo (hieararchy -> hierarchy). 2011-06-16 21:46:28 +00:00
njoly a81689a0c4 Add fstype and unprivileged-user tests configuration variables
description. Fix PR/45038.
2011-06-16 21:42:38 +00:00
kefren d4ba594c90 Correct prefixlen->sockaddr calculation. Now ldpd may finally allow MPLS
forwarding for default route.
2011-06-16 20:42:15 +00:00
kefren 87fd7aebe4 use ETHERTYPE_MPLS only for unicast packets (RFC3032) 2011-06-16 19:47:30 +00:00
rmind 71341c3c42 amap_lookup{s}: add assert, clean-up slightly. 2011-06-16 19:42:20 +00:00
joerg df3149f5ef Don't use C versions of memcmp, memcpy, memmove, memset and strchr
on x86 for standalone code. The assembler versions are much smaller.
2011-06-16 16:47:53 +00:00
joerg 9708bada85 Refactor compiler-specific optimizer flags. Mark bootxx as supported
with clang.
2011-06-16 16:39:53 +00:00
joerg bdaa91a3a8 Add support for size optimised versions of the assembler functions in
the small subdirectory. Provide more compact versions of the functions
used by bootxx in x86.
2011-06-16 16:39:14 +00:00
joerg fd3766f71b Explicitly initialise vaddr_t and let dead store elimination remove it
later.
2011-06-16 16:20:28 +00:00
joerg afc8527716 Use proper format strings. 2011-06-16 15:33:24 +00:00
joerg 5a5f3047c5 Properly use a format string. 2011-06-16 14:57:22 +00:00
kefren c2db1af7a2 obey RFC3036 3.5.2 regarding holdtimes
wire SIGINT
2011-06-16 14:48:30 +00:00
joerg be964ea63f Add an optional MD calling convention flag for use in libsa when space
optimisation is critical. Use this on i386 to switch to register passing
calling convention for the file system entry points and most assembler
call backs that have to preserve at least 3 registers.
2011-06-16 13:44:56 +00:00
joerg c97378d081 Add an optional MD calling convention flag for use in libsa when space
optimisation is critical. Use this on i386 to switch to register passing
calling convention for the file system entry points and most assembler
call backs that have to preserve at least 3 registers.
2011-06-16 13:27:58 +00:00
joerg 9703593994 Use minimal alignment for functions in standalone code. 2011-06-16 13:16:20 +00:00
hannken d296304e60 Rename uvm_vnp_zerorange(struct vnode *, off_t, size_t) to
ubc_zerorange(struct uvm_object *, off_t, size_t, int) changing
the first argument to an uvm_object and adding a flags argument.

Modify tmpfs_reg_resize() to zero the backing store (aobj) instead
of the vnode.  Ubc_purge() no longer panics when unmounting tmpfs.

Keep uvm_vnp_zerorange() until the next kernel version bump.
2011-06-16 09:21:02 +00:00
kefren e043db3b96 Introduce 'show labels' command that reports about labels received from
unsolicited label-maps. Statify.
2011-06-16 08:27:28 +00:00
kefren 7102910ef8 shorten some execution paths related to check_route() and get_route()
statify a bit
don't assume AF_INET in a debug message
2011-06-16 07:11:51 +00:00
kefren 4671a6ac8d clear the error condition
KNF a little bit
2011-06-16 06:05:47 +00:00
matt 9960ebcc16 ifdef / define / endif can't be the first thing. So move that block down. 2011-06-16 04:38:21 +00:00
matt a7bfd4d42c Make sure OEA ports without __HAVE_FAST_SOFTINTS still compile. 2011-06-16 04:37:48 +00:00
matt 2d362a7a23 Make sure to set curlwp (aka r13) in cpu_hatch 2011-06-16 04:25:13 +00:00
matt 515855d909 Make __HAVE_FAST_SOFTINTS appear in assym.h so all oeas don't need to include
<powerpc/intr.h>
XXX <powerpc/intr.h> should be <powerpc/oea/intr.h>
2011-06-16 03:54:40 +00:00
yamt 62ff8c0d5c pseudo-interface -> pseudo-device 2011-06-16 03:23:08 +00:00
macallan 0315be1d74 mention fast softintrs for powerpc 2011-06-16 03:03:08 +00:00
macallan 2c6128575d we need powerpc/intr.h n order to see __HAVE_FAST_SOFTINTS 2011-06-16 02:44:38 +00:00
macallan b5ffed7530 enable FAST_SOFTINTR support for all ports that use powerpc/pic/
This has been successfully tested on macppc
TODO:
- ibm4xx needs to be adapted
- SMP doesn't work yet, 2nd CPU crashes when trying to leave the idle loop
2011-06-16 02:43:42 +00:00
matt 8f422e0fde Now that evbppc has modules this file is no longer needed 2011-06-16 01:04:15 +00:00
mrg c25406cbc7 evbppc can do modules now. 2011-06-15 23:45:45 +00:00
matt 4d4e79f08b Rework to get the inlining working right. Also make slightly more portable
among powerpc variants.
2011-06-15 22:46:39 +00:00
rmind 06b5aba5f8 Few XEN fixes:
- cpu_load_pmap: perform tlbflush() after xen_set_user_pgd().
- xen_pmap_bootstrap: perform xpq_queue_tlb_flush() in the end.
- pmap_tlb_shootdown: do not check PG_G for Xen.
2011-06-15 20:50:02 +00:00
rmind 57f2d9bddc - cpu_hatch: call tlbflushg(), just to make sure that TLB is clean.
- xen_bootstrap_tables: call xpq_queue_tlb_flush() for safety.
- Initialise cpus_attached and ci_cpumask for primary CPU.
2011-06-15 19:54:16 +00:00
rmind 155f2284da - privpgop_fault: call pmap_update() before uvmfault_unlockall().
- privcmd_ioctl, xengnt_more_entries: add missing pmap_update().
2011-06-15 19:51:50 +00:00
rmind 035445691f uvm_pagealloc_strat: fix diagnostic assert. Reported by drochner@. 2011-06-15 19:46:11 +00:00
kefren 0c4a44d22f we need to add mapping even if there is no route for the prefix 2011-06-15 18:16:48 +00:00
matt fc85e71227 Now that the generic fixup code exists, there's no to patch the interrupts
directly since the stub fixup will do that automatically.  Just need to add
stubs for the interrupt vectors and they get fixed automagically.
2011-06-15 17:47:45 +00:00