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
uebayasi
78f86a7674
Indent.
2014-05-22 14:59:01 +00:00
uebayasi
88c3252136
Put missing END() markers to set ELF symbol size.
2014-05-22 14:38:38 +00:00
wiz
560b51ad67
gcc-4.8.3 out.
2014-05-22 14:29:55 +00:00
riastradh
c20b71f6fe
Add uao_set_pgfl to limit a uvm_aobj's pages to a specified freelist.
...
Brought up on tech-kern:
https://mail-index.netbsd.org/tech-kern/2014/05/20/msg017095.html
2014-05-22 14:01:46 +00:00
alnsn
74e580d299
Some small changes in preparation for a bigger change.
...
- typedef for ABC variables and MAX_ABC_LENGTH constant,
- cast pc->k to uint32_t in more places,
- whitespaces.
2014-05-22 13:35:45 +00:00
pooka
7b9bf19905
create /tmp at bootstrap, default TMPDIR used by some programs (e.g. ed)
2014-05-22 12:31:28 +00:00
rmind
f508318acb
tcp_usrreq: fix the previous - the assert is still not true (but PRU_SENSE
...
case will handle it); eventually, pr_usrreq should not be called without
PCB attached.
2014-05-22 00:28:32 +00:00
zafer
c7106c8e74
fix typo.
2014-05-21 23:59:03 +00:00
rmind
3acb42d55f
G/C __FreeBSD__
2014-05-21 20:46:29 +00:00
rmind
eb4d862469
raw_detach: rawpcb may be embedded, free using the real size (saved in rcb).
2014-05-21 20:43:56 +00:00
palle
c7afef53d7
Removed duplicate call to prom_map_phys()
2014-05-21 19:33:51 +00:00
rmind
f0ab7b75e9
tcp_usrreq: fix the previous correctly - restore the assert logic,
...
but move it after the PRU_SENSE check.
2014-05-21 18:41:43 +00:00
riastradh
8f9e898dc6
Unifdef the dmi hacks here too, now that we have dmi_check_system.
2014-05-21 15:40:52 +00:00
martin
944ff57caa
Use GENERIC instead of INSTALL (including the ramdisk) for this CD image
...
and mount the CD filesystem as root instead for installation.
2014-05-21 14:21:35 +00:00
riastradh
a3a8fde1c3
Unifdef the dmi hacks here, now that we have dmi_check_system.
2014-05-21 14:03:42 +00:00
abs
0b3334d19a
Add workaround for lib/48827 for vax to avoid segv in sysinst for now
2014-05-21 14:01:30 +00:00
pgoyette
432395de6f
Restore original sense of the check, and allow both inp and in6p to be
...
NULL. This case is explicitly handled below.
2014-05-21 13:21:20 +00:00
wiz
b2b90ae3db
regen
2014-05-21 13:12:19 +00:00
wiz
0a35378dc9
Use Pa for paths. Fix a couple of typos.
2014-05-21 13:11:25 +00:00
reinoud
4814c99376
Rework USB2 attachment using a dedicated usb devices locator. This allows for
...
the more tightly coupled Exynos{4,5} usb2/usb2otg/usb3 controllers to share
memory spaces and IRQs
Note, currently only USB2 host is implemented.
2014-05-21 13:02:46 +00:00
reinoud
3ec04f7eae
Add i2c as standard for ODROID-U
2014-05-21 12:24:52 +00:00
reinoud
eb4953ffed
Provide iic logic and bits for Odroid-U's exynos i2c interfaces
2014-05-21 12:24:11 +00:00
reinoud
04bd7576c9
Provide bitbanging IIC for Samsung's Exynos
2014-05-21 12:19:59 +00:00
reinoud
a44d7f7416
Don't panic if the pin is not available in pin_reserve() but return false
...
instead.
2014-05-21 12:18:24 +00:00
reinoud
8230922b1a
Make ODROID (-XU) compile again
2014-05-21 12:16:17 +00:00
wiz
e666757a15
Bump date for previous. Americanize a spelling.
2014-05-21 12:15:25 +00:00
wiz
6fb6b0763b
Bump date for previous.
2014-05-21 12:13:18 +00:00
macallan
252bc2d6b9
config goop for building 32bit sgimips64 kernels
...
works fine on my O2
( now to make the actual LP64 kernels work... )
2014-05-21 10:04:03 +00:00
dholland
d8da1d6013
avoid error path SIGSEGV
2014-05-21 05:25:34 +00:00
dholland
50e6b69835
spelling in comment
2014-05-21 04:24:40 +00:00
ozaki-r
a4164b97c6
Fix wrong instruction; mrc => mcr
2014-05-21 01:02:45 +00:00
bouyer
8ec9289dda
Sync with the ipv4 code and call ifp->if_output() with KERNEL_LOCK
...
held.
Problem reported and fix tested by njoly@ on current-users@
2014-05-20 20:23:56 +00:00
pooka
49165189ad
if_free() instead of direct call to free() to avoid diagnostic panic
...
Bug exposed by justin's Lua ljsyscall tests:
http://build.myriabit.eu:8012/waterfall
2014-05-20 19:53:50 +00:00
rmind
e401453f3f
Adjust PR_WRAP_USRREQS() to include the attach/detach functions.
...
We still need the kernel-lock for some corner cases.
2014-05-20 19:04:00 +00:00
rmind
b0558585a9
Put malloc.h back; we still need it.
2014-05-20 18:32:08 +00:00
rmind
56a73a7d30
netbt: rename some attach/detach functions to have _pcb suffix, so
...
we could use standard attach/detach naming for pr_usrreq functions.
No functional change.
2014-05-20 18:25:54 +00:00
njoly
1815fcdd2a
Fix signed vs. unsigned comparison in getgroups16() syscall. Negative
...
gisetsize values now fail with EINVAL as expected.
2014-05-20 17:31:18 +00:00
njoly
30a02d27a2
Regen for getgroups/setgroups update.
2014-05-20 17:26:04 +00:00
njoly
1085071e9f
Fix getgroups/setgroups signature.
2014-05-20 17:24:49 +00:00
martin
fc1c9b2cfa
Recognize racd* as boot device.
2014-05-20 16:02:37 +00:00
riastradh
8929297ea6
Miscellaneous little fixes for harmless issues:
...
- Fix sense of subtraction in i915_gem_restore_gtt_mappings (not
currently used, so this was harmless).
- Program gtt->gtt_scratch_map->dm_segs[0].ds_addr rather than
gtt->gtt_scratch_seg.ds_addr into the GTT for consistency with the
bus_dma API. These are currently the same, but if we ever start
using x86 iommu perhaps that may change.
- Kassert that the scratch PTE decodes into the scratch address.
2014-05-20 15:50:11 +00:00
riastradh
3e7e395e87
Miscellaneous markup, speling and grammar fix.
2014-05-20 15:31:55 +00:00
riastradh
5416492612
Split large paragraph about uobj/uoffset into a bulleted list.
...
Mention that uvm_map doesn't add a reference to uobj. Evidently this
information is important, since I just wasted countless hours over
the past months investigating kernel memory corruption arising from a
failure to notice this fact.
2014-05-20 15:23:12 +00:00
riastradh
0c6fc07d39
Oops -- drop the GEM object reference on error too.
2014-05-20 15:15:04 +00:00
riastradh
24c81ef173
Don't map the GEM uvm_aobj copy-on-write -- what was I thinking?
...
Do transfer the GEM object reference to the uvm_aobj reference --
these are not the same thing. (There's another uvm object whose
references are the same thing as the GEM object references, but
that's not the uao.)
With these changes, it looks like the GPU is no longer trying to draw
graphics all over kernel data structures. Wish I had that month of
debugging back!
2014-05-20 15:12:41 +00:00