Commit Graph

204430 Commits

Author SHA1 Message Date
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
pgoyette
a4ebf89b5b Update the module command-processing routine to match the ioconf files 2011-08-25 02:27:31 +00:00
pgoyette
a948210b56 Fix the ioconf files. We can't include dev/usb/files.pci and the
attachment should be usbdevif as defined in files.usb
2011-08-25 02:07:38 +00:00
dyoung
7037600e44 Delete an unnecessary #include and an unnecessary comment. 2011-08-25 02:05:27 +00:00
dyoung
7d12941ccd Describe pci_bus_devorder(9).
TBD: symbolic link pci_bus_devorder.9 -> pci.9.
2011-08-25 02:01:32 +00:00
joerg
370cd318b5 Mark yyerror as dead. 2011-08-25 01:11:47 +00:00
elric
0a56de1dcb This file should not have been imported. 2011-08-25 00:25:47 +00:00
uwe
d4eba6a9b8 Switch sh3 to GCC 4.5. Tested on landisk (including doing build.sh on it). 2011-08-25 00:01:25 +00:00
uwe
063d3e6570 Pull the fix for GCC Bug 50068 - Invalid memory access in incr_ticks_for_insn
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50068
http://gcc.gnu.org/viewcvs?view=revision&revision=177839

        * config/sh/sh.c (sh_output_mi_thunk): Don't call dbr_schedule.
2011-08-24 21:25:01 +00:00
jym
b1c4de01e1 Protect xbdback(4) ring indexes from overflowing; leave the continuation
prematurely in case they do, to avoid looping "endlessly" (or at least
a very long time) at IPL_BIO while trying to handle requests.

This should not happen in a nominal scenario, but the ring can get
corrupted for whatever reason (memory errors, domU failures or
exploitation).
2011-08-24 20:49:34 +00:00
dyoung
a33d02a149 Add to pci_bus_devorder() an argument that tells the number of slots
available in the devs array.  Change the type of the devs array from
char to uint8_t.  Treat the return value of pci_bus_devorder() as the
number of slots that it filled.

Don't use the __PCI_BUS_DEVORDER #definition to configure the kernel
but let the linker do it.  Make pci_bus_devorder() available on all
architectures by adding a default implementation that will DTRT on
all architectures but hpcmips, the only architecture to #define
__PCI_BUS_DEVORDER.  On hpcmips, adapt the implementation to the new
calling convention.

XXX I can compile an hpcmips GENERIC kernel, but I don't have a
XXX hpcmips box to test it on.
2011-08-24 20:27:35 +00:00
reinoud
83253ad815 cpu_cache_flush doesn't exist yet or isn't included yet so comment it out 2011-08-24 20:13:56 +00:00
reinoud
2b14ae839d Implement pmap_activate() and pmap_deactivate()
Also add some debug messages

Note that the UVM area is still unprotected (for you Jared)
2011-08-24 20:13:07 +00:00
reinoud
24ee089e4e Add debug statements in copyin/copyout 2011-08-24 20:03:19 +00:00
reinoud
cfbbcdc4ec Remove two commented out and unused defines 2011-08-24 19:59:26 +00:00
jmcneill
05f1b5ea9f make room for a small msgbuf 2011-08-24 19:55:35 +00:00
veego
82fe371d7e Add the Huawei 1750 id so it change to the 3G modem mode 2011-08-24 19:42:52 +00:00
veego
bb04ce8c3d Regen for the Huawei 1750 id 2011-08-24 19:40:23 +00:00
veego
4706098c29 Add the u3g id for the Huawei 1750 stick 2011-08-24 19:39:05 +00:00
macallan
95edcce732 fix up the environment pointers to be usable in LP64 2011-08-24 19:03:02 +00:00
plunky
e2bd4b0723 -Wno-shadow is no longer needed for HAVE_PCC, here 2011-08-24 17:39:32 +00:00
matt
b26c11e6b8 Build the GDIUM64 kernel (since it tests 16KB pages). 2011-08-24 16:03:34 +00:00
matt
38b53e5ae4 Add a 64-bit GDIUM configuration. 2011-08-24 16:02:26 +00:00