Commit Graph

3795 Commits

Author SHA1 Message Date
christos
db89e006d6 kill sprintf 2014-03-26 08:04:19 +00:00
christos
b2543b9136 use cpu_{g,s}etmodel 2014-03-24 20:06:31 +00:00
christos
977edcc000 gc sprintf; reduce local static usage of interrupt strings that are only
used once for autoconf printing.
2014-03-21 16:39:29 +00:00
christos
55e6983cb7 kill sprintf 2014-03-20 20:51:40 +00:00
christos
805326e6ff Make all __ALIGNBYTES macros return the same type (size_t) 2014-03-18 17:11:19 +00:00
dholland
a68f9396b6 Change (mostly mechanically) every cdevsw/bdevsw I can find to use
designated initializers.

I have not built every extant kernel so I have probably broken at
least one build; however I've also found and fixed some wrong
cdevsw/bdevsw entries so even if so I think we come out ahead.
2014-03-16 05:20:22 +00:00
martin
25a68bc40b Allow kernels without tsciic to build. 2014-02-22 18:42:47 +00:00
jdc
ad145e06bc Add tsciic and more (commented out) DS20L i2c devices. 2014-02-21 12:24:31 +00:00
jdc
5c7ee0a0a0 Add tsciic, a driver for the DECchip 21272 Core Logic chipset I2C controller.
Tested on DS20L.
2014-02-21 12:23:30 +00:00
martin
21f00ef559 Add raid to the install kernel 2014-01-24 23:59:53 +00:00
christos
17b7583f61 undo rump workaround 2014-01-22 22:52:04 +00:00
tsutsui
b258288c6b Add pseudo-device bpfilter to use DHCP client. 2014-01-22 11:45:16 +00:00
christos
433a91548a rumpkernel needs ci_pcc_freq 2014-01-21 20:18:46 +00:00
tsutsui
bf03bc8b76 Add and enable radeonfb(4) at pci with options RADEONFB_DEPTH_32.
Requested and tested (with wsfb Xorg server) by Naruaki Etomi in PR/48431.
2014-01-20 15:32:23 +00:00
tsutsui
c0061b6a8b Check and set "is_console" property to PCI displays for framebuffer drivers.
Tested on DS15 with radeonfb(4) and XP1000 with vga(4)
by Naruaki Etomi in PR/48431.
2014-01-20 15:05:13 +00:00
tsutsui
183c2ca81d Set a proper address for PCI memspace to make bus_space_mmap(9) work correctly.
Reported and confirmed with radeonfb(4) by Naruaki Etomi in PR port-48431.
2014-01-19 03:44:13 +00:00
christos
2b043c75b6 eliminate use of bsd.sys.mk from Makefiles 2014-01-16 01:15:32 +00:00
tsutsui
50048dbc5e Revert previous. PR/48431 claims ALPHA_PHYS_TO_K0SEG() is necessary.
Actually CHIP_MEM_SYS_START(v) seems a physical address per *_mem_map()
function, but I don't think mmap() function should return K0SEG address
(it should return PA cookie IIUC) so I guess there is something wrong
in Titan's bus space functions.  I'll investigate them later.
2014-01-15 14:27:49 +00:00
tsutsui
fb53ad091b bus_space_mmap(9) function should return alpha_btop(PA), not alpha_btop(VA).
Pointed out in PR port-alpha/48431 from nullnilaki.
2014-01-13 15:48:09 +00:00
tsutsui
8c436a9898 Add empty LIBCRTI= as LIBCRT0 to build sa programs without installed DESTDIR.
XXX: probabry we should have bsd.saprog.mk or something.
2014-01-12 15:26:28 +00:00
dsl
95739e63cd Remove __HAVE_PROCESS_XFPREGS and add the extra parameter for the size
of the fp save area to all the process_read_fpregs() and
  process_write_fpregs() functions.
None of the functions have been modified to use the new parameters.
The size is set for all the writes, but some of the arch-specific reads
  just pass NULL.
The amd64 (and i386) need variable sized fp register save areas in order
  to support AVX and other enhanced register areas.
These functions are rarely called - so the extra argument won't matter.
2014-01-04 00:10:02 +00:00
matt
ab1f27dd20 Define kernel_pmap_store as a pmap followed by ALPHA_MAXPROCS pmap_asn_info.
kernel_pmap_ptr now points to the pmap in kernel_pmap_store.
2014-01-01 22:35:54 +00:00
dsl
be74e0a9c9 Change the type of the 'cookie' that holds the state of the core dump file
from 'void *' to the actual type 'struct coredump_iostate *'.
In most of the code the contents of the structure are still unknown.
This just stops the wrong type of pointer being passed to the 'void *'
parameter.
I hope I've found everything, amd64 GENERIC and i386 GENERIC & ALL compile.
2014-01-01 18:57:15 +00:00
matt
d2a0d9efc4 Fix PMAP_SIZEOF() to deal with that the pmap has 0 pmap_asn_info now.
Addresses PR/48488.
2014-01-01 16:09:04 +00:00
skrll
c6f4b22b79 Revert previous commit. It was an accident. 2013-12-23 13:08:00 +00:00
skrll
cfac49f5f3 Silence gcc 4.8 2013-12-18 12:43:59 +00:00
christos
abc81f7c5e use __unused instead of __USE and void cast to mark iterator variable unused
where needed (from phone)
2013-11-10 00:50:13 +00:00
christos
248f03693b convert to flex array 2013-11-04 19:57:29 +00:00
christos
97930220bf move ifdef'ed out code inside if 0 2013-11-04 16:58:33 +00:00
christos
c91492fbb7 mark variables used 2013-11-04 16:58:14 +00:00
christos
0a5c8333ce remove unused variable 2013-11-04 16:57:41 +00:00
christos
f49d21d09a mark variable __diagused 2013-11-04 16:57:32 +00:00
christos
1a89b43e69 make volatile variable as __USED() 2013-11-04 16:56:50 +00:00
christos
0668187f04 remove unused variable 2013-11-04 16:56:17 +00:00
christos
b60f447328 remove unused code 2013-11-04 16:55:31 +00:00
christos
d8965a7292 use __USE() in the iterator variable 2013-11-03 01:12:16 +00:00
christos
6527ec4ecd move unused variable inside if 0 2013-11-03 01:02:37 +00:00
christos
5f76667e10 more unused inside 0 2013-11-03 00:59:03 +00:00
christos
4049e610ff move unused code inside if 0 2013-11-03 00:53:11 +00:00
jdc
d1c24d7b7e Add devices:
ISA soundblaster (#sb* at isapnp? tested on PC164LX)
  Broadcom 570x ethernet (supported cards in DS20L, etc.)
  ALI M7101 SMBus controller (found in DS20L)
  (commented out) LM81/LM87 enviromental monitoring (found in DS20L)
2013-10-15 19:27:48 +00:00
jdc
b147a05074 Add sysmon (required for the envsys framework). 2013-10-15 19:22:42 +00:00
tsutsui
484536aaae KNF and TAB/space cleanup. 2013-09-23 16:50:12 +00:00
tsutsui
9b9e928d10 Remove a 'register' declaration. Noted in PR port-alpha/48148. 2013-09-23 16:44:30 +00:00
tsutsui
ebd1d58295 Add support for AlphaStation DS15.
Ported from OpenBSD via PR port-alpha/48148 by nullnilaki.
Note support for the secondary PCI bus still needs more improvements.
2013-09-23 16:41:56 +00:00
drochner
69aeb16c07 -extend the pcu(9) API by a function which saves all context on the
current CPU, and use it if a CPU is taken offline
-add a bool argument to pcu_discard which tells whether the internal
 "LWP has used the coprocessor" flag should be set or reset. The flag
 is reported by pcu_used_p(). If set, future accesses should use the
 state stored in the PCB. If reset, it should be reset to default.
 The former case is useful for setmcontext().
 With that, it should not be necessary anymore to manage the "FPU used"
 state by an additional MD variable.

approved by matt
2013-08-22 19:50:54 +00:00
matt
3cb099121d Add a RCSID macro for non _KERNEL use 2013-07-11 19:50:55 +00:00
rmind
666e919182 G/C PFIL_HOOKS from the kernel configs. 2013-06-30 21:38:55 +00:00
christos
fc6be43550 don't forget to insert the io to the list
http://M00nBSD.net/ae123a9bae03f7dde5c6d654412daf5a.html
2013-06-27 21:21:05 +00:00
matt
95e5ad1b41 Use sy_invoke 2013-06-26 15:09:59 +00:00
christos
e46f5f0078 remove obsolete networking options 2013-06-05 23:07:59 +00:00