Commit Graph

204452 Commits

Author SHA1 Message Date
reinoud
336984324e Move debug -> verbose 2011-08-25 19:54:30 +00:00
jakllsch
3c644b8a5a Bring mount_psshfs user/host/path argument processing in line with sftp(1). 2011-08-25 19:49:05 +00:00
reinoud
f6a2add8fe On a verbose kernel boot show why executables are denied due to their start
adresses. This will hardly ever occure in real-life.
2011-08-25 19:14:07 +00:00
dyoung
199cc6c15a Add tests for ppath(3).
TBD: hook into build and update set lists.
2011-08-25 19:09:46 +00:00
reinoud
6d2b20cf95 When this debug printf is enabled, please also tell WHAT address one is using
for read/write.
2011-08-25 19:08:35 +00:00
reinoud
18218b2d70 Cleanup debug messages in copy.c 2011-08-25 19:07:45 +00:00
reinoud
ecc186f568 Implement pmap_deactivate() and most importantly, share changes! i.e. it
should map in the SAME page and not a COW clone of the origional.
2011-08-25 19:06:58 +00:00
reinoud
45a36452c5 A trap is now allways asked for RW access... that needs to be fixed but thats
later care.
2011-08-25 19:06:03 +00:00
hannken
92eca745a6 t_fd/sigio: pass test if we receive at least one SIGIO signal.
While a real kernel collects these signals until the connect() returns and
then delivers one signal rump delivers every signal so we get more than one.

Ok: Antti Kantee <pooka@netbsd.org>
2011-08-25 18:46:01 +00:00
joerg
d24dcc0dc7 Uses non-literal format strings 2011-08-25 18:20:22 +00:00
joerg
ef4c662073 -Wno-format-nonliteral for msg_defs.c 2011-08-25 17:39:58 +00:00
joerg
cd277335a0 Move -Wno-comment for clang to CPPFLAGS, so that mkdep runs are silent. 2011-08-25 17:05:45 +00:00
christos
8da9796673 fix non-literal format strings 2011-08-25 17:00:55 +00:00
christos
d30a63af7f fix non-literal format string 2011-08-25 16:54:58 +00:00
joerg
1c874f86e1 Use of non-literal format string 2011-08-25 16:53:25 +00:00
christos
1598a84d98 fix non-literal format string 2011-08-25 16:51:48 +00:00
joerg
9c4f17f60e Use of non-literal format strings 2011-08-25 16:47:20 +00:00
christos
572b078924 document non-literal format string use for many md files 2011-08-25 16:47:16 +00:00
joerg
86490d7b50 Avoid non-literal format strings by replacing asprintf with putc. 2011-08-25 16:41:51 +00:00
joerg
0855702cc7 Use of non-literal format strings 2011-08-25 16:29:39 +00:00
joerg
21f7e41a91 Use of non-literal format string. 2011-08-25 16:22:43 +00:00
joerg
45e9b5a831 Avoid using non-literal format strings. Fix verbose option -- va_list is
passed by reference and vprintf would have processed all arguments
already.
2011-08-25 16:19:23 +00:00
christos
df7b0db034 add printf attributes. 2011-08-25 16:18:28 +00:00
joerg
dbf6e7953c Avoid magic manipulation of the format string. 2011-08-25 16:17:58 +00:00
dyoung
c3c79645b1 Add ppath/ headers that I had overlooked. 2011-08-25 16:15:29 +00:00
joerg
cf30c8e1b5 main.c uses non-literal format strings. 2011-08-25 16:12:37 +00:00
joerg
6e9533bc30 Uses non-literal format strings 2011-08-25 15:50:45 +00:00
joerg
0bb547d3b0 Uses non-literal format strings in err.c 2011-08-25 15:44:51 +00:00
kiyohara
3137e2afff bebox not support md_post_newfs() and md_post_disklabel() now. Change null-func. 2011-08-25 15:42:33 +00:00
joerg
5cfa560df9 Avoid using non-literal format strings and optimizing code a bit at the
same time.
2011-08-25 15:37:00 +00:00
dyoung
96aa1a27a7 Set-list repair: remove the 'gcccmds' tag from lines where it does not
belong.
2011-08-25 15:34:05 +00:00
joerg
cc096ecebe msg.c uses non-literal format strings 2011-08-25 15:30:54 +00:00
dyoung
485105d4dc Set-list repair: add 'nls' tag to some files that need it, sort some
firmware files, move some graphics-adapter firmware into the syspkg
base-firmware-root.
2011-08-25 15:29:04 +00:00
wiz
181321739b Fix Nd argument. 2011-08-25 15:14:43 +00:00
dyoung
6c6cb72d7f Use VMEM_ADDR_MIN and VMEM_ADDR_MAX. 2011-08-25 15:14:19 +00:00
wiz
b6947e90c0 Fix Dt argument, remove trailing whitespace, fix formatting nit. 2011-08-25 15:12:38 +00:00
dyoung
f05aa184df Initialize bst_exists in bus_space_tag_create(9). Use it to avoid
walking the chain of ancestor tags to see if a bus_space(9) routine was
overridden.
2011-08-25 15:08:49 +00:00
dyoung
73b6a5effa Add to x86 bus_space_tag_t a member, bst_exists, that tells whether a
routine is overridden by this tag or by any ancestral tag.
2011-08-25 15:06:10 +00:00
reinoud
a5e836ce39 For all virtual to logical page translations we need to substract
VM_MIN_ADDRESS first! I forgot to add this to pmap_remove().

Now we are here, mark the lines with V->L or L->V.l
2011-08-25 15:06:09 +00:00
reinoud
945b6ce138 Check if we pee'd outside the box! 2011-08-25 15:02:54 +00:00
dyoung
33ce21e27d Add sources, Makefiles, and manual pages for ppath(3), a
property-container path library that is usable from both userland and
the kernel.

TBD: hook this into the build, update set lists, and add automated
tests.
2011-08-25 14:55:36 +00:00
reinoud
6be9d1e864 Update and claim copyright 2011-08-25 14:38:56 +00:00
reinoud
480ec9befc Implement first generation of memory access handler for the kernel. 2011-08-25 14:37:57 +00:00
reinoud
8239013847 Add trapframe and extent pcb for NetBSD/usermode; both mere dummies since
there are no traps delivered nor a process has ever been started...
2011-08-25 14:24:48 +00:00
jmcneill
49dc720500 - build thunk code with warnings
- add option SDL which pulls in thunk_sdl code and links the kernel to libSDL
- add an experimental framebuffer driver based on thunk_sdl, enable with:
    options SDL
    genfb* at mainbus?
    wsdisplay* at genfb?
    options WS_KERNEL_FG=WSCOL_GREEN
    options WSEMUL_VT100
- reserve a major # for wsdisplay
- add thunk_getenv()
2011-08-25 11:45:25 +00:00
jmcneill
e753c7b915 - build thunk code with warnings
- add option SDL which pulls in thunk_sdl code and links the kernel to libSDL
- add an experimental framebuffer driver based on thunk_sdl, enable with:
    options SDL
    genfb* at mainbus?
    wsdisplay* at genfb?
    options WS_KERNEL_FG=WSCOL_GREEN
    options WSEMUL_VT100
- reserve a major # for wsdisplay
- add thunk_getenv()
2011-08-25 11:06:29 +00:00
jmcneill
0a0e59605c add bus_addr_t typedef 2011-08-25 11:02:57 +00:00
reinoud
efcc946705 Indent debug aprint_debug()'s 2011-08-25 10:46:59 +00:00
dyoung
bf9e39452b Use humanize_number() instead of the buggy code that GCC 4.5 caught.
Compiles.  Not tested.
2011-08-25 02:36:03 +00:00
pgoyette
caf255902b Remove some debugging code that was accidentally committed 2011-08-25 02:29:08 +00:00