mrg
40f1a24e2d
make pkg-config files be cleaned by "make clean"
2014-03-31 01:59:36 +00:00
matt
e36fff3bda
tag a variable with __diagused
2014-03-31 01:49:04 +00:00
matt
b3a99624aa
For ARM_MMU_EXTENDED, a KERNEL_BASE >= 0x80000000 is ok but a
...
VM_USER_MAXADDRESS can not be more than 0x80000000 - PAGE_SIZE.
2014-03-31 01:48:37 +00:00
matt
5a13c87289
Add a missing 0 to an #error
2014-03-31 01:35:05 +00:00
christos
ef020f85b5
say why we can't use the password or the group databases.
2014-03-31 00:00:22 +00:00
christos
1d3f7461f3
Say how big the buffer should be.
2014-03-30 23:28:14 +00:00
christos
5bdbb846e0
provide a buffer for pci_intr_string()
2014-03-30 23:25:20 +00:00
matt
a20a41e7b8
arm11 ARM_MMU_EXTENDED support (setting CPU_CONTROL_XP_ENABLE)
2014-03-30 23:20:14 +00:00
matt
14c6f75817
Include newer arm options (ARM_HAS_VBAR, etc.)
2014-03-30 23:14:15 +00:00
matt
385b94e0e6
Deal with ARM_MMU_EXTENDED.
2014-03-30 23:12:26 +00:00
htodd
85550bc7a9
Fix typo.
2014-03-30 22:39:29 +00:00
christos
58dbdf3810
Allow -1 values in the -s <sysid>/<start>/<size> indicate use the previous
...
values. For example:
fdisk -f -i /dev/rsd0d # initialize mbr and create an msdos partition.
fdisk -f -u -0 -a -s 169/-1/-1 /dev/rsd0d # converts the msdos partition
to a netbsd one, and makes it active.
2014-03-30 22:18:13 +00:00
htodd
22a4cbbb3e
Fix typo.
2014-03-30 21:52:09 +00:00
macallan
381c27a747
catch up with *_intr_string() changes
2014-03-30 20:06:50 +00:00
matt
430f11e825
Note ARMv6 MMU & SMP support
2014-03-30 16:03:56 +00:00
matt
b1c2295a83
Make this MP by default
2014-03-30 16:01:46 +00:00
matt
880ecf60c1
Update list of kernels
2014-03-30 16:00:48 +00:00
matt
42ff670225
Fix debug code in fault_fixup
2014-03-30 15:55:08 +00:00
tsutsui
124e6bcb96
Fix "Error: unrecognized option -mcpu68030".
2014-03-30 15:54:37 +00:00
matt
19ce479fbc
fix KERNHIST_DUMP
2014-03-30 15:53:37 +00:00
matt
74093d697b
Make the ARM pmap use ASIDs, split TTBRs, and MP safe. This only happens for
...
ARMv6 or later CPUs. This means that on context switch that the TLBs and
caches no longer to cleaned/flushed. Also, eXecute Never (XN) protection has
been added so non-exec pages can not be run. Change the page size for ARMv6+
to be 8KB while allows a L1PT to be a normal page. This means that the L1PT
is not special. Use the XN support to only sync pages that are executed from.
2014-03-30 15:50:51 +00:00
matt
1627c0ae4a
Allow this to handle H/W tlbs. Some ARM allow for a cheap way to flush all
...
entries using an ASID from the TLB. Add support for taking advantage of it.
Most ARMs don't have an easy way to find out what's in the TLB so make
record_asids can just say all ASIDs are in use. Fix some off by 1 errors.
2014-03-30 15:26:15 +00:00
christos
8701607453
fixes for gcc-4.8 (John D. Baker)
2014-03-30 15:20:54 +00:00
matt
1aa5302419
Improve MP startup code. We now use a two stage startup, after creating
...
the initial L1PT and turning on the MMU/caches, we spinup the secondary CPUs
waiting for them to get the same state as the boot processor. Once the
real L1PT is initialized and used, the secondary CPUs are kicked so they can
use it (and the initial L1PT is discarded). Finally, wait until NetBSD
kicks the secondary CPUs then load the stack from the idlelwp and then hatch
the cpu and then jump to idle_loop.
2014-03-30 15:20:53 +00:00
skrll
2f6c45da9f
Make this compile
...
- Fix pci_intr_string usage
- Remove ununsed
- define variables with their usage
kern/48690: ixg* driver doesn't compile
Untested.
2014-03-30 13:14:40 +00:00
skrll
eec6f7013a
Remove unused.
2014-03-30 09:11:50 +00:00
skrll
0e6f386031
Use arm11_setttb for arm1176 as well.
2014-03-30 08:36:21 +00:00
skrll
027821c56c
Provide a DDB_REGS in the same way to others. Makes crash buildable.
2014-03-30 08:00:34 +00:00
skrll
217c0eb552
Build everything on all arm variants
2014-03-30 07:29:22 +00:00
dholland
9cdcb5fdab
Use bool (not int) for a boolean return type.
2014-03-30 05:53:12 +00:00
dholland
f2f2077532
Use the curses beep function instead of writing a beep to stdout.
2014-03-30 05:48:35 +00:00
dholland
3d0af5d09f
curses has printw, use it.
2014-03-30 05:46:54 +00:00
dholland
7a606e3ec4
don't use the preprocessor to rename curses functions, just call them
2014-03-30 05:44:55 +00:00
dholland
290fd62765
fix off-by-one
2014-03-30 05:41:50 +00:00
dholland
ea57ad9ea1
Instead of #define STDIN 0, use STDIN_FILENO.
2014-03-30 05:38:13 +00:00
dholland
c560d1b163
Remove SHORTLEN and LONGLEN defines; use sizeof() properly instead.
...
Fix two semi-compensating size bugs in wire transmission affecting
64-bit machines.
2014-03-30 05:30:28 +00:00
dholland
b57df0f022
Naming reform for socket pieces, akin to what I did in huntd earlier.
...
(but not as comprehensive)
2014-03-30 05:14:47 +00:00
dholland
5c657efd0e
I wish the socket API didn't require casts. Easy to mess them up.
2014-03-30 04:57:37 +00:00
dholland
e25cca1c03
fix obvious mistake (seems to have been there since 4.4)
2014-03-30 04:40:50 +00:00
dholland
90606027c5
Tidy up list of broadcast addresses.
2014-03-30 04:39:40 +00:00
dholland
319c22dff7
Clean up the handling of the list of hunt daemons.
2014-03-30 04:31:21 +00:00
dholland
2509088ed2
use fewer globals
2014-03-30 03:35:26 +00:00
dholland
78a2d83843
more cleanup
2014-03-30 03:26:19 +00:00
dholland
15043e8a8f
unexpose some globals that server.c previously required
2014-03-30 02:58:25 +00:00
dholland
3d3dd0d453
name reform, fewer file statics
2014-03-30 02:53:11 +00:00
dholland
61623de9c7
goto considered harmful
2014-03-30 02:46:57 +00:00
dholland
082c40f53a
split off a bunch of the nastier network code into its own file
2014-03-30 02:26:09 +00:00
dholland
38f4986ae9
When indexing an array with a char, cast it to unsigned char, not int,
...
to not only silence the compiler warning but also get the correct
behavior.
2014-03-30 02:11:25 +00:00
dholland
9e2af583dd
Remove all the conditional compilation for INTERNET. Now you can run
...
this on either a local or internet socket (including via inetd on
either) and it will, or is supposed to, DTRT.
Does not really support ipv6 yet, but in a number of places will no
longer vomit or exhibit UB if it encounters an ipv6 address.
2014-03-30 01:44:37 +00:00
christos
8443916807
wrap a few lines
2014-03-30 01:19:20 +00:00