cegger
e2775dc02b
Add "options WAPBL" to Xen configs
2008-07-31 08:43:13 +00:00
simonb
dc9029a896
Regen for "options WAPBL".
2008-07-31 07:48:37 +00:00
simonb
ef38d7e5a7
Move "options WAPBL" so that it also gets added to INSTALL kernels.
2008-07-31 07:47:43 +00:00
simonb
ae9bf9b493
Regen for "options WAPBL".
2008-07-31 07:45:39 +00:00
simonb
73252465b8
Move "options WAPBL" so that it also gets added to INSTALL kernels.
2008-07-31 07:45:04 +00:00
simonb
0751ba4bff
Add "options WAPBL" to standard GENERIC/INSTALL type configs.
2008-07-31 07:40:59 +00:00
tsutsui
a8858674e9
Add a BUS_DMASYNC_PREWRITE call against tile's DMA address descriptors.
...
Fixes mangled screen on recent kernels.
Tested on my R5K IP32 and on R10K IP32 by Jorge Acereda Macia on port-sgimips.
2008-07-30 17:24:27 +00:00
cherry
b89762695b
Catchup with acpica
2008-07-30 11:57:24 +00:00
rjs
4ca1cae072
Add missing file.
2008-07-29 12:43:24 +00:00
macallan
df34d2042b
Fix remaining register offset shifting left over from proper bus_space-ification
...
done a while ago. From Marco Trillo.
This should fix PR 39176.
2008-07-28 16:54:49 +00:00
hauke
3411d8045b
Having read Frank Kardel's web page again, I think the XXX comment
...
wrt. the splhigh() guard can go.
2008-07-22 14:43:45 +00:00
matt
4886aa3da7
Implement workaround for:
...
arm11 Errata 364296:Possible Cache Data Corruption with Hit-Under-Miss
Remove hack in userret which is redundant with workaround.
workaround code from <imre.deak@teleca.com>
2008-07-22 07:07:23 +00:00
cegger
30e1bad82e
beautify dmesg with MPVERBOSE.
...
before:
pci0 at hypervisor0 bus 0: configuration mode 1hypervisor0: added to list as bus 0
pchb0 at pci0 dev 0 function 0
now:
pci0 at hypervisor0 bus 0: configuration mode 1
hypervisor0: added to list as bus 0
pchb0 at pci0 dev 0 function 0
2008-07-21 11:51:59 +00:00
matt
568e00fecc
Add PMAP_KMPAGE defintion (forgotten commit). Also add PVF_DIRTY which will
...
be used by an update pmap.c shortly (to note what pages may have dirty
cache lines).
2008-07-21 07:33:54 +00:00
martin
1f71bc27ce
Fix previous.
2008-07-20 22:57:19 +00:00
martin
4956be1f47
Make struct pcib_softc explicit in our softc.
2008-07-20 17:18:21 +00:00
martin
f3b6f1bea8
Explicitly add struct pcib_softc to the softc since the pcib functions
...
we call expect this.
2008-07-20 16:59:53 +00:00
martin
d2849ba366
Rearange softc so it starts with a struct pcib. We reuse the x86 pcib code
...
which assumes this.
2008-07-20 16:52:33 +00:00
martin
e394f32ae0
Make the softc externally visible, so other bridges reusing this code
...
don't have to "get it right" manually.
2008-07-20 16:50:29 +00:00
tsutsui
1a160ac866
Specify volatile to some pointers to access DMA registers.
2008-07-20 16:35:27 +00:00
tsutsui
471f4d63c3
No need to specify '&' to get array's address.
...
No binary changes.
2008-07-20 16:28:24 +00:00
tsutsui
b55114eae7
Fix pointer arithmetic botch in rev 1.37.
2008-07-20 16:23:38 +00:00
tsutsui
770f58015d
Revert part of previous changes:
...
> make makeiplcookie() return PSL bits via ipl2psl_table[]
> rather than IPL_FOO indexes
because ipl2psl_table[] could be updated during autoconf(9)
and we can't use it as cookie before cpu_configure(9).
2008-07-17 16:13:33 +00:00
cegger
2515b0ec09
make this compile
2008-07-17 14:43:38 +00:00
cegger
075c838a83
devive_private -> device_private
2008-07-17 14:39:26 +00:00
skrll
d2b1f0c9d9
Bump image size to deal with bloat.
2008-07-17 07:01:30 +00:00
drochner
152044172b
add a KASSERT to check the protection bits before using as array index
2008-07-16 18:56:34 +00:00
drochner
a3df0dfc03
split device/softc for scsibus
2008-07-16 18:50:58 +00:00
perry
7549434e22
Add -DM to the newvers_stand.h invocation.
...
Why is there a "Makefile.boot" used here, and a "Makefile.booters"
used one level up, with redundant stuff between both of them? This all
used to be so clean...
2008-07-16 16:13:38 +00:00
tsutsui
a3c412626c
Disable more pseudo-devices to shrink an install kernel.
2008-07-16 15:22:50 +00:00
tsutsui
6415b4ca38
Change boot messages to replace build date and maker with kernrev.
2008-07-16 14:45:17 +00:00
tsutsui
a6ea1c4a92
Change boot messages to replace build date and maker with kernrev.
2008-07-16 13:44:51 +00:00
tsutsui
fc10d3a3fc
Change boot messages to replace build date and maker with kernrev.
2008-07-16 13:19:20 +00:00
perry
ab1cc5d822
Call newvers_stand.sh with -DM so we don't include the (unused) date
...
and builder in the data segment.
2008-07-16 12:52:37 +00:00
chs
a1677d385b
in pmap_map(), use pmap_kenter_pa() instead of pmap_enter()
...
so that we don't need to allocate memory to create the mapping.
this should help with getting crash dumps more reliably.
2008-07-16 03:22:04 +00:00
matt
1f9c1ede20
Revamp bookkeeping for pages entered by pmap_kenter_pa. Keep track of them
...
on pvlists so that the cacheability can be properly tracked.
2008-07-16 00:19:57 +00:00
perry
e2eca0cfb3
make vers.c also depend on the script that builds vers.c
2008-07-16 00:16:17 +00:00
perry
ac6f476b2b
Update the version numbers following commit, and make them all identical.
2008-07-15 23:16:26 +00:00
perry
17bba44783
Change the x86 boot blocks so they don't include builder login and date.
...
For now, we include kernel revision as a way of allowing users to
notice that boot blocks have gotten very old, so the first line of the
printout looks like this (depending on the particular block):
>> NetBSD/x86 BIOS Boot, Revision 3.4 (from NetBSD 5.0)
This may be changed a bit pending feedback. (Some people think that
the kernel revision shouldn't be there at all, for example.)
Part of the project to assure that bit-identical sources produce
bit-identical release binaries.
2008-07-15 21:29:37 +00:00
cegger
fddc51df07
Configure /dev/power for domu as in src/sys/arch/i386/conf/majors.i386.
...
See discussion on port-xen for the details at http://mail-index.netbsd.org/port-xen/2008/06/14/msg003904.html
2008-07-15 06:50:02 +00:00
chris
889823f09a
Remove repeated setting of cpuctl bit for vectors being high in cpu setup
...
code.
Pointed out in private email by Kevin Lo.
2008-07-13 09:12:14 +00:00
tsutsui
ce1887dc69
- if SDA is set to low during DIR(INPUT) in gpiic_set_bits(),
...
store the SDA status into softc and enable it once after
DIR() is changed to OUTPUT in gpiic_set_dir()
- remove "Read in output mode" warning in gpiic_read_bits()
since it's a vaild operation (to read SCL during SDA output is low)
Tested by kiyohara@ on OPENBLOCKS266.
2008-07-12 02:04:07 +00:00
cube
ec7745c68a
device_t split fallout [hi joerg!]
2008-07-11 11:58:37 +00:00
tsutsui
1644c2b297
Cosmetic changes to sync with other m68k ports:
...
- rename ipl2spl_table[] to ipl2psl_table[] and make it uint16_t
- rename _spl member in ipl_cookie_t to _psl
- sort some splbio entries
2008-07-10 16:14:16 +00:00
tsutsui
4c483f361d
Remove __P().
2008-07-10 16:07:30 +00:00
nakayama
edb7368453
Use proper CCR.
2008-07-10 15:38:40 +00:00
nakayama
3eac605929
sparc64_ipi_save_fpstate:
...
- use primary MMU context for consistency with other trap/interrupt handlers.
sparc64_ipi_save_fpstate, savefpstate:
- avoid storing fp registers as we can.
sparc64_ipi_save_fpstate, savefpstate, loadfpstate:
- remove unaligned case since buffers allocated with pool_cache are ensured
64-byte aligned.
Ok by martin@.
2008-07-10 15:23:58 +00:00
nakayama
b74ec3e6b6
Switch fpstate buffer allocation from malloc to pool_cache.
...
Ok by martin@.
2008-07-10 15:04:41 +00:00
scw
d9aadb22f8
When dealing with 'cleanlist_idx == PMAP_REMOVE_CLEAN_LIST_SIZE' in
...
pmap_do_remove(), make sure to use PTE_SYNC() for each rolled-back
PTE on the list.
Fixes potential MMU inconsistencies on some ARM platforms where
page-tables are mapped write-back.
2008-07-09 23:22:15 +00:00
joerg
2f4873590d
device/softc split
...
aprint conversion
2008-07-09 21:30:04 +00:00
joerg
3f4a1f5ac4
- device/softc split
...
- ANSIfy
2008-07-09 21:25:59 +00:00
joerg
9cd21b65c4
- Statify
...
- Split device/softc.
2008-07-09 21:19:23 +00:00
joerg
0fa9592ac8
Fix syntax. *sigh*
2008-07-09 21:07:55 +00:00
joerg
ec61c372b5
Finish device/softc split.
2008-07-09 21:07:25 +00:00
joerg
b6a44bdc8a
- device/softc split
2008-07-09 21:03:42 +00:00
joerg
b92a5f0408
Constify a global variable. Split device/softc.
2008-07-09 20:59:16 +00:00
joerg
713c902ab3
Device/softc split.
2008-07-09 20:54:13 +00:00
joerg
fa4b49dc5e
device/softc split.
2008-07-09 20:50:41 +00:00
joerg
fcdefdcff8
device/softc split
2008-07-09 20:45:33 +00:00
joerg
0ae228380e
Finish device/softc split.
2008-07-09 20:41:02 +00:00
joerg
6bf2b4fab1
device/softc split
2008-07-09 20:40:16 +00:00
joerg
083ae1f6af
device/softc split
2008-07-09 20:23:50 +00:00
joerg
52c17c8946
- device/softc split for ath(4)
2008-07-09 19:47:23 +00:00
kiyohara
71d621af19
Initialize the member sc_callout before call callout_reset().
2008-07-08 17:32:56 +00:00
kiyohara
a25c030645
Remove SEM{MNI,MNS,UME,MNU} and SHMMAXPGS.
...
Add TMPFS and agr.
Enable some pseudo devices.
2008-07-07 18:30:41 +00:00
gmcgarry
5aa0bc7608
Selector registers are 16-bit and binutils 2.18 insists that only 16-bit
...
accesses are permitted on them. Therefore, change movl to movw. No change to
machine code generated.
2008-07-07 13:01:16 +00:00
skrll
d5a5ca5266
G/C HP700_SOFTINTR_*
2008-07-07 12:29:30 +00:00
skrll
a5b2972af9
Update a comment.
2008-07-07 12:18:45 +00:00
tsutsui
bc6f8d1486
Split device_t/softc with misc cosmetic changes.
2008-07-06 13:29:50 +00:00
cegger
02018c5980
ryo shimizu: gscsehci doesn't work.
...
Correctly initialize softc. Fix from PR port-i386/39109.
2008-07-06 08:01:15 +00:00
bouyer
d80637780e
xbd_map_align() can be called from interrupt context (though
...
xbd_handler()->dk_iodone()->dk_start()->xbd_start()), so don't try
to sleep in uvm_km_alloc().
2008-07-05 19:06:01 +00:00
tsutsui
0f31d9dee9
Split device_t/softc with misc related changes.
2008-07-05 08:46:25 +00:00
kiyohara
4a30efc297
Fix config error. required to include files.bluetooth.
2008-07-04 17:31:07 +00:00
bsh
928b18eabf
fix slow TOD clock.
2008-07-04 11:59:45 +00:00
skrll
0e6408c2a9
Pull in harmony_round_buffersize fix from OpenBSD.
2008-07-04 11:18:02 +00:00
skrll
f73f03c598
Only process stuff if we're playing. This fixes panic if attempting to
...
record.
Part of PR/35239.
Progress is being made on getting recording working, but it's not quite
there yet.
2008-07-04 11:14:19 +00:00
drochner
abec36fc7a
split device/softc for ioapic
2008-07-03 15:44:19 +00:00
drochner
54745077e8
Remove "struct device" from "struct pic", where it was only real
...
for ioapics and faked up for others. Add it to "struct ioapic_softc"
for now, until device/softc get split.
This required all typecasts between "struct pic" and "struct ioapic_softc"
to be replaced, I hope I got them all.
functionally tested on i386, compile-tested on xen, untested on amd64
2008-07-03 14:02:24 +00:00
matt
0b6e401be7
Use the same login in pmap_kenter_pa when removing an unmamanged mapping
...
as in pmap_kremove (otherwise kro_mappings will become incorrect).
2008-07-03 13:02:12 +00:00
matt
db24f36199
From: Andy Shevchenko <andy.shevchenko@teleca.com>
...
The OMAP2 ref timer providing a base for generic timecounting was configured
to reload at HZ similarly to the clock providing the tick interrupt at HZ.
This and the fact that the tc framework expected a full 32 bit counter range
resulted in time running ~40 times faster than normal.
Configure the ref timer as a full range counter to fix this.
2008-07-03 06:19:18 +00:00
matt
b2abaa8158
Nuke some debugging aprint's.
2008-07-03 06:18:01 +00:00
matt
74055e51f8
Nuke some remaining debug aprint
2008-07-03 06:17:24 +00:00
matt
45df48f8af
The performance counter based delay function depends on a correct frequency
...
setting, do this for H4, which runs on a known fixed core frequency.
Submitted by Irme Deak <imre.deak@teleca.com>
2008-07-03 06:16:17 +00:00
matt
6a96a3909c
For armv6(VIPT), change the rules for mapping via kenter_pa. Allow readonly
...
pages to be mapped by different cache color indexes.
2008-07-03 06:13:41 +00:00
matt
52956f334c
Fix a typo in the delay loop time delta calculation.
...
From Irme Desk <imre.deak@teleca.com>.
2008-07-03 06:12:02 +00:00
matt
c62a0ac493
Add AT91 support. (XXX need to finish timecounter support).
2008-07-03 01:15:38 +00:00
rmind
160268aca6
Remove proc_representative_lwp(), use a simple LIST_FIRST() instead.
...
OK by <ad>.
2008-07-02 19:49:58 +00:00
drochner
14071b7c24
remove some obviously obsolete definitions
2008-07-02 19:18:52 +00:00
ad
b94f79f0e8
Replce exec_map with a pool. Proposed on tech-kern@, reviewed by chs@.
2008-07-02 17:28:54 +00:00
nakayama
773fffc601
UltraSPARCs don't have floating point queue, and reading %fq regsiter
...
will cause illegal instruction trap. So remove the code handling them.
2008-07-02 12:15:19 +00:00
macallan
9403c29e8e
actually initialize sc_dmacmd and get rid of getnodebypci() - use
...
pcidev_to_ofdev() instead
noticed by Marco Trillo, tested on my iBook G4
2008-07-02 03:20:19 +00:00
bouyer
802c7519a2
Raise ci_idepth (and switch to interrupt stack on i386) becore calling
...
xenevt_event().
2008-07-01 18:49:20 +00:00
bouyer
42f814d7d2
spllower(): return immediatly if ci->ci_ilevel <= nlevel, as the asm
...
versions do.
2008-07-01 18:44:50 +00:00
mrg
1a29454088
hack around PR#38480:
...
- rename MTRR_I686_NVAR to MTRR_I686_NVAR_MAX, still set to 8
- store mtrr VCNT value into i686_mtrr_vcnt. if it is less than 8,
zero out the relevant parts of mtrr_raw[].msraddr
- replace all usage of MTRR_I686_NVAR with either i686_mtrr_vcnt or
with MTRR_I686_NVAR_MAX as appropriate
- in i686_mtrr_reload() and mtrr_init_first() don't use mtrr_raw[]
addresses of 0
still needs a bunch of reworking to handle VCNT > 8 case.
2008-07-01 15:27:34 +00:00
tsutsui
4a193f31ac
Split device_t/softc with misc cosmetic changes.
2008-07-01 15:15:34 +00:00
tsutsui
5886a7c394
- avoid extra offset calculation in region/multi ops
...
- fix swapped dist/src in copy_region ops
2008-07-01 15:14:32 +00:00
nakayama
3644fd9574
Fix commented sparc derived code.
2008-06-30 14:16:13 +00:00
nakayama
fa9b47137f
Avoid use of "<< TSTATE_PSTATE_SHIFT".
2008-06-30 14:12:20 +00:00
bsh
db59b3aaa6
KERNEL_BASE_EXT is mandatory after matt-armv6 merge
2008-06-30 08:18:11 +00:00
perry
10cfc49bff
__FUNCTION__ -> __func__
2008-06-30 00:46:41 +00:00
bouyer
fe0fcf52f5
Proper FPU exeptions support for Xen. Should fix FPU issues reported by
...
various users.
2008-06-29 21:00:08 +00:00
jdc
50c50f930f
Instead of bailing out with "Inode not directory", assume that the disk is
...
a RAIDframe mirror, apply the RAID boot offset, and try to boot again.
Fixes the problem where disks would be unbootable if partitioned normally
and then converted to RAID 1 without being zeroed first.
2008-06-29 14:13:23 +00:00
isaki
7379f550c7
Make it compilable even if FDDEBUG was defined.
2008-06-29 09:44:11 +00:00
tsutsui
2c77262457
Sync with arch/m68k/m68k/pmap_motorola.c rev 1.38:
...
> Remove ({ }) gcc extensions and use static inline functions instead.
2008-06-29 09:03:47 +00:00
nakayama
ddf9744a79
Add 32-bit kernel configuration with SMP support.
2008-06-29 08:05:43 +00:00
nakayama
733e690c2c
Wrap trapstats counters with #ifdef TRAPSTATS.
2008-06-29 07:49:10 +00:00
nakayama
1199fe2539
Constify initfpstate, and omit initialization for .fs_qsize.
2008-06-29 07:41:53 +00:00
nakayama
fe6d7e5eef
Wrap IPI calls with #ifdef MULTIPROCESSOR.
2008-06-29 07:31:55 +00:00
hamajima
df4f6f3b28
fixed some bugs.
...
- correct argument of eppcic_set_pcreg()
- add wait after set of timing register
2008-06-29 05:53:39 +00:00
hamajima
045f7eb611
Fixed addr and size of eppcic0.
2008-06-29 05:42:24 +00:00
bouyer
caba2baea2
port-i386/38935: Add appropriate x86_lfence or x86_mfence calls to
...
bus_dmamap_sync(), depending on the BUS_DMASYNC flag. This makes sure
that the kernel reads data from main memory in the intended order.
2008-06-28 17:23:01 +00:00
ad
0a11462fc2
A few more.
2008-06-28 15:09:49 +00:00
ad
698b4a3b27
Fix numerous bugs.
2008-06-28 15:03:27 +00:00
tsutsui
c8f3692590
Fix inverted logic of IXP425_GPIO_GPOER register bits in the previous.
...
Pointed out by Piotr Durlej on port-arm@.
2008-06-28 15:00:13 +00:00
ad
a122ceefb6
Noisy printf.
2008-06-28 14:56:22 +00:00
tsutsui
2bea7e173d
- use TAILQ macro
...
- use NULL rather than 0 for pointers
No binary change.
2008-06-28 13:22:14 +00:00
tsutsui
c6314a7394
Pull some fdformat fixes from sys/arch/sparc/dev/fd.c.
2008-06-28 12:15:43 +00:00
tsutsui
2c5f71cc4a
Split softc/device_t, with misc cosmetic changes.
2008-06-28 12:13:38 +00:00
isaki
3e6d14da34
Unify splraiseipl(9) implementation among m68k ports,
...
discussed with tsutsui@ on port-m68k. OK'ed by jdc@.
For atari:
- export ipl2psl_table[] and make it uint16_t
- make makeiplcookie(9) inline
- put PSL_S bit into ipl2psl_table[] rather than adding it in makeiplcookie(9)
- vme/if_le_vme.c: fix a wrong usage of IPL_NET
2008-06-28 05:26:33 +00:00
he
9a4020480e
Bump SYMTAB_SPACE so that it fits again.
2008-06-27 21:10:38 +00:00
ad
5fbf4abeea
mutex_spin_enter: xchg is usually cheaper than cmpxchg, so use it.
2008-06-27 18:16:02 +00:00
tsutsui
99644a6f1e
Remove ({ }) gcc extensions and use static inline functions instead.
2008-06-27 13:05:12 +00:00
cegger
c82e679e68
struct device * -> device_t
2008-06-27 11:03:13 +00:00
cegger
e56aa07054
ansify
2008-06-27 08:59:36 +00:00
gmcgarry
e31e503a44
Replace lines beginning with assembler-style comments with c-style comments,
...
since '#' can be interpretted as a preprocessor directive. Remove single
quote ''' from assembler-style comments, as the preprocessor may ignore
everything between them.
Fixes compilation with pcc.
2008-06-27 00:41:39 +00:00
nakayama
fe90ebb7eb
- remove unused old code.
...
- avoid use of "<< TSTATE_PSTATE_SHIFT".
2008-06-26 15:17:06 +00:00
nakayama
88b527f6d7
Ansify and follow the recent cardbus changes:
...
- split device/softc
- avoid the use of i82365var.h
2008-06-26 15:08:48 +00:00
isaki
48d12f0315
Unify splraiseipl(9) implementation among m68k ports,
...
discussed with tsutsui@ on port-m68k.
For mvme68k:
- export ipl2psl_table[] and make it uint16_t
- make makeiplcookie(9) inline
- put PSL_S bit into ipl2psl_table[] rather than adding it in makeiplcookie(9)
- define both IPL_SCHED and IPL_HIGH independently to avoid confusion
- replace the order of IPL_SOFTCLOCK and IPL_SOFTBIO according to spl(9)
2008-06-26 02:52:29 +00:00
isaki
ad81ade3ae
Unify splraiseipl(9) implementation among m68k ports,
...
discussed with tsutsui@ on port-m68k.
For next68k:
- export ipl2psl_table[] and make it uint16_t
- make makeiplcookie(9) inline
- put PSL_S bit into ipl2psl_table[] rather than adding it in makeiplcookie(9)
- define both IPL_SCHED and IPL_HIGH independently to avoid confusion
2008-06-26 02:52:03 +00:00
joerg
6c136cabc8
Mask the interrupt pin in the other places as well as reminded by
...
Jared.
2008-06-25 19:57:22 +00:00
joerg
eecefde4f0
Mask the higher bits of the interrupt pin extract from the _PTR.
...
Alan Barrett reported a system in PR 38959 that (incorrectly) uses the
higher bits and which resulted in a bad table being built.
2008-06-25 18:05:17 +00:00
isaki
b50b2ac3ed
Split device_t/softc for dmac_*_xfer().
...
Rename some variables to avoid confusing.
2008-06-25 13:30:24 +00:00
isaki
2b1a1a9c7f
Link to device_t. I had forgotten it in previous commit.
2008-06-25 12:56:40 +00:00
isaki
7afa6fc259
struct cfdata -> cfdata_t.
2008-06-25 08:19:37 +00:00
isaki
2830b81add
Split device_t/softc. Use aprint*() and device_xname().
2008-06-25 08:14:59 +00:00
isaki
13450ec873
Cosmetic change. Sort IPL_XXX as described in spl(9).
2008-06-25 07:54:47 +00:00
matt
f44158c13f
Revert last change and just use .WAIT
2008-06-25 03:33:39 +00:00
matt
0ab08b46df
Increase RAMDISK size due to ever-increasing bloat.
2008-06-25 03:33:06 +00:00
scw
b47fab2742
In pmap_deactivate(), if the process is exiting make sure the next call
...
to pmap_activate() performs a full MMU context-switch and cache flush,
which might otherwise be skipped.
Fixes ARM_LOW_VECTORS problem reported in PR port-arm/38950.
2008-06-24 22:00:32 +00:00
chris
c0b7259a50
Change $wasabi$ to $NetBSD$ so that we get version info into the file.
2008-06-24 20:19:05 +00:00
ad
aefe4cc25a
getss -> x86_getss
2008-06-24 16:32:53 +00:00
ad
c73fe0bf2d
Replace more __asm
2008-06-24 16:30:09 +00:00
ad
28c7c338ce
Replace inline assembly.
2008-06-24 16:28:44 +00:00
matt
60271c61c4
Need for machine-links to finish before building ${PROG}
2008-06-24 13:02:25 +00:00
jmcneill
72b22f7c71
Define PMAP_FORK -- this was lost in the vmlocking merge, and is required
...
by options USER_LDT.
2008-06-24 10:42:43 +00:00
gmcgarry
70603b1966
Move #ifdef/#endif outside macro arguments. Fixes compile with pcc.
2008-06-24 10:00:26 +00:00
kiyohara
b4161c5190
Change SYMTAB_SPACE=400000 from 380000.
2008-06-24 07:13:21 +00:00
matt
29731f5c84
Make acorn26 kernels build again.
2008-06-23 17:58:17 +00:00
matt
132c411a9a
Fix a race condition -j. Don't do SUBDIRS= include/arm include/arm/...
...
since the latter might be done before the former which mtree doesn't like.
Instead have arm recurse into its own subdirs.
2008-06-23 17:43:21 +00:00
reinoud
71eb4d1ddd
Fix pmap.c compilation issues when PMAP_FORK is defined. The locking code was not adapted to the indexing of pmap->pm_obj[]
2008-06-23 14:47:51 +00:00
isaki
af8a8d9630
Make intio_intr_establish() use evcnt(9),
...
instead of dynamic allocation of intrnames/intrcnt.
2008-06-23 08:33:38 +00:00
isaki
31129b82c5
Remove some unused intrnames/intrcnt.
2008-06-23 07:36:12 +00:00
isaki
1e2ea92126
Unify splraiseipl(9) implementation among m68k ports,
...
discussed with tsutsui@ on port-m68k.
For x68k:
- export ipl2psl_table[] and make it uint16_t
- make makeiplcookie(9) inline
- put PSL_S bit into ipl2psl_table[] rather than adding it in makeiplcookie(9)
- define both IPL_SCHED and IPL_HIGH independently to avoid confusion
2008-06-23 01:49:31 +00:00
tsutsui
aecc2565d0
Make cpu_intr_p() inline.
2008-06-22 17:33:41 +00:00
tsutsui
152476802f
Unify splraiseipl(9) implementation among m68k ports as per
...
suggestion from isaki@ on port-m68k.
For cesfic (compile test only):
- use static splraise4() for splvm() and remove isrcomputeipl() for IPL_VM
because this port supports only one model
- make makeiplcookie(9) return PSL bits via ipl2psl_table[] rather than
ipl indexes
- make ipl2psl_table[] uint16_t rather than int
2008-06-22 16:34:15 +00:00
tsutsui
836c01beb6
Don't recompute an ipl level for IPL_VM during or after cpu_configure(9)
...
and use a static and possible highest ipl value (ipl 5) for IPL_VM
so that we can put ipl2psl_table[] conversion into makeiplcookie(9),
which could be called before cpu_configure(9).
Fixes "panic: sbappendaddr" on NFS load.
2008-06-22 16:29:36 +00:00
kiyohara
768e748678
Fix macro KERNEL_BASE_EXT from KERNEL_EXT_BASE.
2008-06-22 08:27:18 +00:00
gmcgarry
8cb6efd4df
Add stdargs support for pcc.
2008-06-21 00:56:39 +00:00
jnemeth
5935b7361f
KNF: space after comma -- be consistent!
2008-06-20 20:23:01 +00:00
tsutsui
5bbd2ba098
Unify splraiseipl(9) implementation among m68k ports as per
...
suggestion from isaki@ on port-m68k.
For mac68k:
- rename mac68k_ipls[] to common ipl2psl_table[]
- make makeiplcookie() return PSL bits via ipl2psl_table[]
rather than IPL_FOO indexes
2008-06-19 13:56:22 +00:00
tsutsui
12a1eea55d
Make this compile.
2008-06-18 12:25:13 +00:00
dogcow
5b52b73c21
add a missing close-parenthesis. (HI CEGGER!)
2008-06-18 01:10:11 +00:00
ad
75360c7716
Use UVM_OBJ_INIT/DESTROY.
2008-06-17 21:55:49 +00:00
he
b612638bbf
Add some missing parenthesis to restore this to a buildable state.
2008-06-17 21:08:08 +00:00
he
d2ac1fe5bb
Correct minor mistakes and restore this to a buildable state.
2008-06-17 21:06:57 +00:00
he
5215d37e0a
Remove now unused local "unit" variable, so this builds again.
2008-06-17 19:47:49 +00:00
he
f7db963671
Add a missing parenthesis so that this builds again.
2008-06-17 19:46:23 +00:00
tsutsui
3de743094e
No need to terminate DMA in si_dma_poll().
2008-06-17 18:24:21 +00:00
tsutsui
36bc2e34d4
Implement si_dma_poll() properly so that crashdump works with DMA xfer.
2008-06-17 17:31:51 +00:00
chris
464e92d443
Fix two KASSERT(value | (C1|C2)) to KASSERT(value & (C1|C2)) so that it
...
tests for something, rather than always being true.
Pointed out by Andy Shevchenko in:
http://mail-index.netbsd.org/port-arm/2008/06/17/msg000255.html
2008-06-17 08:04:26 +00:00
ad
f9e99b470b
PPWAIT is now in proc::p_lflag.
2008-06-16 12:25:54 +00:00
ad
8c49cfa7b6
Make pmap_extract() lockless. Reviewed by chs@ who reports a ~1% reduction
...
in system time during a kernel build on a quad core amd64 system.
2008-06-16 10:31:03 +00:00
cegger
54a1f88f19
fix typo. should compile again.
2008-06-16 08:36:51 +00:00
tsutsui
a4f3c7efda
Don't pass fdUnit to lookup softc of iwm. It's a parent of fd, not fd itself.
2008-06-15 10:46:14 +00:00
tsutsui
9087265ab9
Make this compile (fix an unused variable).
2008-06-15 10:29:18 +00:00
tsutsui
43a0e8e404
Unify splraiseipl(9) implementation among m68k ports as per
...
suggestion from isaki@ on port-m68k.
For sun68k (sun2, sun3 and sun3x):
- export ipl2psl_table[] and make it uint16_t
- make makeiplcookie(9) inline
- put PSL_S bit into ipl2psl_table[] rather than adding it in makeiplcookie(9)
2008-06-15 07:23:26 +00:00
tsutsui
7ff875bed5
Unify splraiseipl(9) implementation among m68k ports as per
...
suggestion from isaki@ on port-m68k.
For news68k:
- export ipl2psl_table[] and make it uint16_t
- make makeiplcookie(9) inline
- put PSL_S bit into ipl2psl_table[] rather than adding it in makeiplcookie(9)
- define both IPL_SCHED and IPL_HIGH independently to avoid confusion
2008-06-15 07:20:46 +00:00
tsutsui
d8376da508
Unify splraiseipl(9) implementation among m68k ports as per
...
suggestion from isaki@ on port-m68k.
For hp300:
- use ipl2psl_table[] for makeiplcookie() conversion
- use uint16_t for ipl2psl_table[]
2008-06-15 07:15:30 +00:00
mjf
9cc4809adb
Fix build.
2008-06-14 21:27:37 +00:00
nakayama
38d5866df2
Close unterminated comment.
...
Fix unexpected behavior in case of loadfpstate from unaligned buffer.
2008-06-14 19:43:55 +00:00
isaki
661719fa0e
Fix compile errors.
2008-06-14 13:36:24 +00:00
mjf
174aeb1a59
Fix $NetBSD$ tag.
2008-06-14 12:05:39 +00:00
mjf
7e2a8aea3b
Automatically detect the amount of installed RAM by reading the memory
...
bank registers from the PCI host bridge. Previously the RAM size was
hardcoded to 64MB.
Also fill out ibm82660reg.h with more definitions from the PowerPC to
PCI Bridge and Memory Controller User's Manual.
Many thanks to Tim Rightnour for helping with this patch.
2008-06-14 12:01:28 +00:00
nakayama
874a376a83
Remove declarations of unexist variables and functions.
2008-06-14 07:51:51 +00:00
cegger
d0c2dda1a1
correct spelling in error message
2008-06-13 22:59:03 +00:00
christos
a41d00937d
pointless to compile md_root.c without md.c
2008-06-13 17:26:33 +00:00
cegger
61f21080d9
use device_lookup_private to get softc
2008-06-13 13:57:58 +00:00
rafal
3245ecab21
Let hpcarm kernels boot again after the merge of the armv6 branch. Fixes
...
PR port-hpcarm/38591
XXX: There is still a hard hang that I've seen on both shark and hpcarm in
the process exit path; I don't know much beyond that yet.
2008-06-13 13:24:10 +00:00
cegger
2dea63fe78
use device_lookup_private to get softc
2008-06-13 13:08:57 +00:00
cegger
17db90159e
use device_lookup_private to get softc
2008-06-13 12:25:37 +00:00
cegger
27309530b4
use device_lookup_private to get softc
2008-06-13 12:08:01 +00:00
cegger
175e9cfe68
use __array_count
2008-06-13 11:57:08 +00:00
cegger
2dace40230
use device_lookup_private to get softc
2008-06-13 11:54:31 +00:00
cegger
1d9f25d95a
use device_lookup_private to get softc
2008-06-13 11:36:11 +00:00
cegger
c3b5ec7f50
use device_lookup_private to get softc and uncascade if blocks
2008-06-13 10:01:32 +00:00
cegger
adcc250b0b
use device_lookup_private to get softc
2008-06-13 09:58:06 +00:00
bjs
8355d28637
"functin" -> "function" (no "functional" change, har har)
2008-06-13 09:53:46 +00:00
cegger
28f4ebad5e
use device_lookup_private to get softc
2008-06-13 09:41:15 +00:00
cegger
947c9ab610
use device_lookup_private to get softc
2008-06-13 08:49:15 +00:00
cegger
fa11f9bf6d
use device_lookup_private to get softc
2008-06-13 08:27:38 +00:00