Commit Graph

227272 Commits

Author SHA1 Message Date
martin
c93b05fd84 Force -O1 when compiling this, it doesn't work with -O2 (need to investigate
later)
2014-05-24 07:38:42 +00:00
rmind
d998acdb58 ip_input(), ip_savecontrol(): cache m->m_pkthdr.rcvif in a variable. 2014-05-23 23:38:48 +00:00
riastradh
16cc43868d Fix GTT PTE flag bits. 2014-05-23 23:02:47 +00:00
riastradh
0db82c270c Implement intel_gtt_chipset_flush correctly. 2014-05-23 22:59:23 +00:00
riastradh
824cf4b929 Implement Intel AGP chipset flush.
While here, fix the use of the I915 PCI MSAC register: it lies on the
bridge device (bus 0 dev 0 func 0), not the graphics device (bus 0
dev 2 func 0).  I'm not sure we ever need to consult this register,
really -- the PCI BARs should be sized.  But I'll leave a rototill of
this mess for another day.
2014-05-23 22:58:56 +00:00
alnsn
08d17fbe34 Enable ABC optimization when one branch returns 0. 2014-05-23 22:04:09 +00:00
dholland
ecb4fe8383 PR bin/48829 Thomas Schmitt: vnconfig pretends to succeed on
nonexistent files
2014-05-23 20:50:16 +00:00
dholland
94efa53a98 PR toolchain/48833: Ilia Zykov: nvi build fails if under /common
When autogenerating headers from source (yuck) use a more selective
pattern to avoid selecting anything if part of the current absolute
path happens to match part of the nvi source tree.
2014-05-23 19:59:17 +00:00
alnsn
a9f8710044 Loads at offsets UINT32_MAX or greater are unreachable. 2014-05-23 19:51:16 +00:00
rmind
28e5c2a160 Make ip_forward() static, there is no need to expose it. 2014-05-23 19:35:24 +00:00
msaitoh
310e8863ad No functional change:
- KNF
- Sort in PCI capability ID order.
- Add comments.
2014-05-23 19:31:23 +00:00
rmind
79cab7f409 Make ip_input() static, there is no need to expose it. 2014-05-23 19:27:48 +00:00
alnsn
1bf51582a4 Implement unconditional jump to "return 0" for loads at UINT32_MAX+1 or greater. 2014-05-23 19:11:22 +00:00
martin
02d91c9194 #ifdef a variable like its only use 2014-05-23 19:05:35 +00:00
matt
acf5e54066 Since the majority of architectures uses GCC 4.8, make it the default.
Only ia64, m68k, 32-bit powerpc, and sh3 still use GCC 4.5
2014-05-23 18:51:31 +00:00
skrll
3d91f85ed1 Under "switch it" instructions from matt@ make mips use gcc 4.8 2014-05-23 18:35:36 +00:00
msaitoh
3b80c7044f - Add some register definitions (subclass, power management, etc.)
- Print some information (subclass, power management)
- Use macro.
2014-05-23 18:32:13 +00:00
msaitoh
ad8cb99d83 PME# clock is not bit 2 but bit 3. Use the macro! 2014-05-23 17:54:08 +00:00
pooka
d5b308ef63 do previous the right way to avoid rumpuser linkage dependency on librump 2014-05-23 16:57:42 +00:00
joerg
a8b7899cfa Fix use of getline and friends in C++ code. 2014-05-23 16:48:52 +00:00
msaitoh
c45e77159f Print the type of serial port from the interface field in the PCI class
register.
2014-05-23 14:16:39 +00:00
msaitoh
5ac82b4202 Add aprint_naive("\n") for boot -q 2014-05-23 13:57:04 +00:00
kiyohara
b2818818a0 Call arm32_*_init() and initarm_common().
OVERO work fine.  GUMSTIX build only now.
2014-05-23 13:56:18 +00:00
matt
bc43ee9904 Add LEGITIMATE_PIC_OPERAND_P(X) to prevent global symbol + offset from
being a legitimate pic operand (because it's not).
2014-05-23 13:35:26 +00:00
kiyohara
c99c404c51 Fix build failed with GUMSTIX(pxa2x0). build test only now. 2014-05-23 13:24:15 +00:00
njoly
4e4bef8a08 Add missing specific LINUX_SOCK_NONBLOCK value for alpha. 2014-05-23 12:30:12 +00:00
njoly
bf70618478 Add a funtion that translate socket type value from Linux to NetBSD.
Use it for socket and socketpair syscalls.
2014-05-23 12:28:51 +00:00
martin
798dfc7221 If mounting the various tmpfs instances fails, we do not have enough
RAM installed. Tell the user about it and exec a single user shell
(instead of randomly failing later and hanging the machine.)
2014-05-23 12:25:46 +00:00
alnsn
de2c6dc51a Update copyright year. 2014-05-23 11:48:26 +00:00
alnsn
02f87fcd70 Test Array Bounds Check Elimination (ABC) and test bpf programs from bpf(4). 2014-05-23 11:47:59 +00:00
pooka
5fbc8e741c Create remote clients with standard file descriptors open. Fixes at
least editing a new file with ed in rumpremote (because ed calls
isatty(0) in case a file does not exist).
2014-05-23 11:04:03 +00:00
pooka
984f14ab1c Permissions work better if you specify them in octal ...
Also, do an explicit chmod of /tmp to account for cmask getting in the way.
2014-05-23 10:56:36 +00:00
skrll
541b82dfe4 Make this compile. Hi rmind! 2014-05-23 08:17:08 +00:00
msaitoh
37c9494dfa No functional change:
- sort in PCI capability ID order.
- add comments.
2014-05-23 06:18:54 +00:00
uebayasi
19ef5b5b0b Put missing END() markers to set ELF symbol size. 2014-05-23 03:17:31 +00:00
uebayasi
d3e9bed41f Fix previous. 2014-05-23 03:05:56 +00:00
uebayasi
0d34bfa26d Put missing END() markers to set ELF symbol size. 2014-05-23 02:34:19 +00:00
uebayasi
d6b02e86d1 Put missing END() markers to set ELF symbol size. 2014-05-23 02:17:43 +00:00
uebayasi
44f0e5275c Define hacked version of END() in addition to ENTRY(). 2014-05-23 02:03:41 +00:00
christos
ef2e77d3d6 PR/48831: Jörg Grundmann: Synaptics Touch pad (ClickPad) and
Klick-by-tap-gestures do not work
2014-05-23 01:11:29 +00:00
rmind
92bd82246b Fix the assert in the previous commit. 2014-05-23 00:02:14 +00:00
rmind
8086b5d55a - Make ip_setmoptions(), ip_getmoptions() and ip_pcbopts() static.
- ip_output: eliminate 7th variadic argument; IP_RETURNMTU is flag
  always used to store MTU size into struct inpcb::inp_errormtu.
- Clean up these routines: reduce #ifdefs, variable scopes, etc.
2014-05-22 23:42:53 +00:00
rmind
9a6de984e5 Move udp6_input(), udp6_sendup(), udp6_realinput() and udp6_input_checksum()
from udp_usrreq.c to udp6_usrreq.c where they belong.  No functional change.
2014-05-22 22:56:53 +00:00
rmind
f499e20dfc - Add in_init() and move some functions, variables and sysctls into in.c
where they belong to.  Make some functions and variables static.
- ip_input.c: reduce some #ifdefs, cleanup a little.
- Move some sysctls into ip_flow.c as they belong there.

No functional change.
2014-05-22 22:01:12 +00:00
pooka
b1a03c8e0b fix build for _KERNEL 2014-05-22 16:47:31 +00:00
dholland
39b82eecb9 Use accessor functions for the tty's table of control characters.
(at least from outside the core tty sources)

Move some xon/xoff code from net/ppp_tty.c to kern/tty.c.
2014-05-22 16:31:19 +00:00
dholland
5815fa9470 Use uintptr_t so this file can be compile-tested on foreign arches. 2014-05-22 16:30:40 +00:00
dholland
44a93ea590 Define TTY_ALLOW_PRIVATE in tty.c, tty_pty.c, and tty_conf.c.
These modules are the core of the tty code that in the long term needs
access to struct tty. (It may be that in the future this can be cut
back to just tty.c; we'll see. For now I'll settle for keeping drivers
out of struct tty.)
2014-05-22 16:28:06 +00:00
uebayasi
502c621104 Put missing END() markers to set ELF symbol size. 2014-05-22 15:21:13 +00:00
uebayasi
92d1d4411b Put missing END() markers to set ELF symbol size. 2014-05-22 15:01:56 +00:00