Commit Graph

166840 Commits

Author SHA1 Message Date
garbled
37e4ea684d Yank the bridge kernels from here too. 2008-02-05 19:05:40 +00:00
garbled
5219d864e2 Only build GENERIC and INSTALL 2008-02-05 19:03:38 +00:00
garbled
a72063accc Nevermind, just yank the bridge64 kernels entirely. I don't want to end
up like i386 here.
2008-02-05 19:02:52 +00:00
garbled
094e746de5 Make bridge mode standard in GENERIC, yank INSTALL_B64 2008-02-05 19:01:23 +00:00
garbled
2234198b7f Replace as much of the hardcoded CACHELINESIZE with
curcpu()->ci_ci.dcache_line_size as I can.  With this change, an ofppc kernel
compiled with both PPC_OEA and PPC_OEA64_BRIDGE defined, boots.
2008-02-05 18:52:55 +00:00
ichiro
84528b0430 regen 2008-02-05 18:22:31 +00:00
ichiro
8cf4b4059b added some devices of "PCI-Cardbus bridge" 2008-02-05 18:22:09 +00:00
garbled
cec80d7eae Because macppc shares code with ofppc, it needs oeacpufeat defined.
Other OEA ports do not yet make use of this code, so they don't require it.
2008-02-05 18:14:02 +00:00
garbled
4b513a9954 Rewrite a big chunk of the pmap and locore code for powerpc to better
deal with the 64bit bridge mode.  pmap changes by Matt Thomas, rest by myself.

Change pmap.c to work similar to exec_elf.c to allow us to compile in
multiple pmaps to a single kernel.  This allows the pmap for bridge64 to
co-exist with the 32bit pmap.

Yank __HAVE_PMAP_PHYSSEG from all the oea code.

Add a new global, "oeacpufeat", which is used early in locore to determine
certain cpu features.  This allows us to conditionalize code early in the boot
for certain CPUs that have special needs.

Yank most of the ifdef PPC_OEA_BRIDGE64 code from almost every file it was
found in.  Some of it seemed incorrect, and my 7044 booted just fine
without it.  It would appear that the bridge cpus treat BAT instructions
as nops, so they seem to be safe.

In ofppc, check the oeacpufeat, and if we are on a 64bit proc, clear
MSR[SF], and ASR[V].

With all of these changes, a kernel with both PPC_OEA and PPC_OEA_BRIDGE64
will boot on the POWERIII-2 cpu.  However, it will not yet boot on a 32bit
cpu, because of CACHELINESIZE.  Work remains to be done there to fix that.
2008-02-05 18:10:46 +00:00
drochner
992ef89b0e include bsd.init.mk so that eg USETOOLS is available to
client Makefiles, approved by jmmv
2008-02-05 17:50:47 +00:00
ad
e142a6464b Kill -r. Union makes for a poor nullfs. 2008-02-05 16:54:07 +00:00
joerg
e30c305fb5 Point to the home page of wpa_supplicant itself, not the parent. 2008-02-05 16:41:56 +00:00
joerg
a570300f03 Be pedantic and use unsigned int here as uwe@ suggested. 2008-02-05 16:39:26 +00:00
elad
5c80416b17 PR/37962: Andrew Doran: libkvm is busted due to kauth_cred redefinition
Sync structure with kernel version.
2008-02-05 15:56:01 +00:00
ad
648f07789f Do genfs_node_init() earlier. PR kern/36162. 2008-02-05 15:18:36 +00:00
ad
70c9f5392a vrevoke: if the vnode is already being cleaned out, then ignore it. We
don't need to do anything. PR kern/27622.
2008-02-05 15:13:25 +00:00
joerg
75ce084b15 Merge from pkgsrc's bmake: don't use signed short for bitfields.
This makes IBM xlc happy.
2008-02-05 15:11:50 +00:00
ad
1eba00507a Limit kva usage to 8TB and the number of inodes to 2G. Should fix
PR kern/37951.
2008-02-05 15:02:45 +00:00
chris
25f47ee584 Fix up vidcvideo to be useable on a Write-Back processor, IE StrongArm,
during boot and ddb.

This is done by routing all requests for changes to the screen into one
function.  The function can then determine if interrupts are enabled or
disabled, and either flush them to screen immediately or set them up for
the next flyback irq.

Also if we have nothing to do, disable the flyback irq, and re-enable when
we have something to do.  This avoids taking an interrupt for every vsync,
IE 50-75Hz, just to do nothing.

This makes ddb usable and the boot dmesg visable with an SA.

lmbench now reports that the A7000+ has a 14Mhz CPU, rather than 4Mhz
(it's actually 48Mhz)

Tested on SA Risc-PC and A7000+
2008-02-05 14:40:10 +00:00
ad
22c6a20ebd Lock v_knlist with the vnode interlock. PR kern/37881. 2008-02-05 14:19:52 +00:00
tsutsui
ee209d2a75 Add several late entries about some user visible changes I committed. 2008-02-05 13:37:28 +00:00
ad
b993799944 Lock p->p_klist. 2008-02-05 13:33:35 +00:00
ad
396ea241b5 vprint: print lock addresses. 2008-02-05 13:32:09 +00:00
ad
ed830de973 cryptoret: avoid a sleep/wakeup race. 2008-02-05 12:26:13 +00:00
skrll
fa0da8dc36 Revert previous as requested by yamt. 2008-02-05 10:11:19 +00:00
skrll
f867ae875e Rely on implicit PAGE_SIZE alignment and don't confuse uvm_glue.c. 2008-02-05 10:10:21 +00:00
yamt
065ed4f58b remove an unused label. (.Lin4_entry) 2008-02-05 10:02:51 +00:00
yamt
90306066c9 remove an unused prototype. (rdtsc) 2008-02-05 10:00:17 +00:00
yamt
f35baba8dd - start tcp timestamp from 1 instead of 0.
- add a comment to explain why:
+        * We start with 1, because 0 doesn't work with linux, which
+        * considers timestamp 0 in a SYN packet as a bug and disables
+        * timestamps.
2008-02-05 09:38:47 +00:00
yamt
56b9f196d7 yamt-lazymbuf-base10 2008-02-05 09:31:44 +00:00
tron
5858f60bb7 Use official file from "ftp.internic.net". 2008-02-05 09:19:06 +00:00
jmmv
2418db1a1e Remove a warning that said that the test could loop forever because ATF
will now automatically terminate it after 5 minutes of run time.
2008-02-05 08:33:50 +00:00
simonb
de8ac4a1b6 Print the "bus-master DMA support present" message out the same
other a few other SATA drivers do.  Nicer output than just a line
with ": DMA" on it...
2008-02-05 07:02:00 +00:00
simonb
d07d2923b8 Remove an extra \n from an attach message. Get's rid of a blank
line during boot.
2008-02-05 06:52:26 +00:00
spz
32d3eee2a4 AAAA at last! 2008-02-05 06:08:35 +00:00
itohy
ac4fcb473d Disable hyphenation for legal block to avoid hyphens like "http://www.open-
group.org/unix/online.html".
2008-02-05 05:33:23 +00:00
mrg
e6f4791d95 make sun2 build again with liberal use of -O0. 2008-02-05 02:41:15 +00:00
mrg
0190531f12 regen for GCC 4.1-20080202. 2008-02-05 02:23:22 +00:00
mrg
62eb13e7b7 add a NetBSD_DISABLED_foo rule for arm-tune.md. 2008-02-05 02:21:59 +00:00
tls
923a0df2bf The kthread is now MPSAFE. 2008-02-05 01:43:22 +00:00
matt
9e910bd0fa Make sure device interrupts are handled at IPL_VM 2008-02-05 00:04:24 +00:00
yamt
d5bac2f6b1 redo tcp_input.c rev.1.230 correctly.
revision 1.230
    date: 2005/06/30 02:58:28;  author: christos;  state: Exp;  lines: +20 -4
    Normalize our PAWS code with Free and Open, as mentioned in tech-security.

reviewed by christos@ and matt@.
2008-02-04 23:56:14 +00:00
rtr
1db9feaaa0 fix comment Abtract -> Abstract 2008-02-04 23:08:01 +00:00
dsl
c060191386 Regen for merging fcntl() and fcntl64(). 2008-02-04 22:24:33 +00:00
dsl
174ee4c867 Use the same function to implement linux32_sys_fcntl() and linux_sys_fcntl64().
A rather excessive amount of 'appending 64' to names seems to have happened
when linux won support for files > 4G.
technically the linux32_sys_fcntl() function should error the 64bit file
locking requests - but life is too short.
2008-02-04 22:23:43 +00:00
mlelstv
527bf7ecad Check wether interrupts originate from the bge hardware.
Fixes PR kern/33433.
2008-02-04 21:44:35 +00:00
elad
38012644ad Properly classify kauth PASSTHRU requests.
Done with much help from chuck@, thanks!
2008-02-04 21:08:13 +00:00
elad
9db39a0c09 Link to scanned Xylogics manuals, found by chuck@.
URL: http://www.bitsavers.org/pdf/xylogics/
2008-02-04 20:59:34 +00:00
jmmv
7bbabbe539 Note the import of atf 0.4. 2008-02-04 20:36:49 +00:00
jmmv
cb1adbc6e9 Adjust lists to match the import of atf 0.4. 2008-02-04 20:33:09 +00:00