Commit Graph

120965 Commits

Author SHA1 Message Date
tsutsui
96fe424ce9 Remove initialization of unused t_softc in struct tty (to make pullup easier). 2014-01-02 03:32:35 +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
christos
a791c1b86a remove commented out -fno-reorder-functions 2014-01-01 22:07:54 +00:00
christos
f211905aff Use a custom ldscript so that we can keep boot_start at 0. 2014-01-01 22:06:13 +00:00
christos
eb2d28f6ce Provide a boot ldscript that puts the text.unlikely section after the text
section so that boot_start gets placed first. We also set the entry and the
start address, although we still override them from the command line.
This is a copy of elf_i386.xbn
2014-01-01 22:05:48 +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
pgoyette
2dd4f4d91a Modularize the opencrypto components and link to the build 2014-01-01 16:06:00 +00:00
pgoyette
f45c6e8a3c Create modules for software crypto components. 2014-01-01 15:18:57 +00:00
tsutsui
51c2df58e8 Enable file-system CD9660 to make cd(4) actually usable. 2014-01-01 08:41:52 +00:00
msaitoh
b20d0e739e regen. 2014-01-01 08:33:31 +00:00
msaitoh
9d4e4bce46 Change description from ASPEED2000 to ASPEED Graphics Family because
the IP is used on AST1000,2050 and 2100, too.
2014-01-01 08:33:00 +00:00
isaki
2b1afc88b6 indent fix in a comment. 2014-01-01 05:23:40 +00:00
isaki
3eedc36da9 Fix a sign when a source or destination is either (plus/minus)zero
or (plus/minus)infinity.  Found by XM6i.
2014-01-01 05:22:22 +00:00
jnemeth
524c82e251 Welcome to 2014! 2014-01-01 00:33:34 +00:00
skrll
3546eea784 Remove unused variable.
OK rkujawa
2013-12-31 14:51:46 +00:00
tsutsui
bc63cd47b4 Use softint(9) properly to process TX/RX data between tty(4) layer.
It could cause possible locking issue to call tty(4) layer functions
from IPL_SERIAL interrupt handlers.

Changes details (mostly similar to com(4) and z8530tty(4)):
 - allocate RX buffer and put data and status into it in the interrupt handler
 - call t_linesw->l_rint from the software interrupt handler
 - set the only first byte in siottystart() and use t_outq buffer to send
   multiple TX data
 - call the next t_linesw->l_start on TX complete in the software interrupt
   handler

Also put more changes:
 - handle cnmagic(9) properly (now entering ddb(4) by console BREAK works)
 - allocate tty in the attach function as other drivers rather than first open
 - use proper variable types
2013-12-31 14:24:09 +00:00
skrll
ab8b74b3ab KASSERT that the transfer callout is not pending.
Removes a XXX
2013-12-31 09:10:43 +00:00
christos
ad495e7046 Now that our yacc supports providing yytname[] and does the name protection
automatically (as it should, unlike bison), elide the name protection hacks.
2013-12-30 22:32:45 +00:00
jakllsch
ba3004d138 Zero out on-stack 'marks' array before first use.
This is needed so the MARK_DATA index is properly filled in.
2013-12-30 21:45:51 +00:00
tsutsui
837223a076 Pull a fix of Bt458 (8bpp framebuffer) initialization from OpenBSD/luna88k.
http://marc.info/?l=openbsd-cvs&m=138838884202196
>> Correct initialization of Bt458, used in LUNA's 8bpp frame buffer.
>>
>> According to the manual, the address register does not automatically
>> increment when we access to the control registers.  Also we disable
>> overlay planes, because we do not use them.
2013-12-30 13:14:48 +00:00
martin
2e67acc4d6 Improve debugging output 2013-12-30 08:47:50 +00:00
martin
750e958278 Avoid buffer overruns (no practical difference for any sane firmware
properties, but better be safe).
2013-12-30 08:43:28 +00:00
msaitoh
a86fd0ccac regen. 2013-12-30 07:08:47 +00:00
msaitoh
a9e0b043d1 Add ASPEED AST2000. 2013-12-30 07:08:24 +00:00
christos
178126fa8a Simplify previous, don't even set the variables if they are not going to
be used.
2013-12-29 23:26:00 +00:00
christos
5aa89cd133 ifdef unused variables 2013-12-29 23:07:34 +00:00
msaitoh
bcf70d1755 Add support For I354(C2000 interna Ethernet controller):
- Add I354 support.
 - Fix SGMII+MDIO case. SGMII+I2C is not supported yet.
 - Not tested well.
 - Sprinkle "XXX" to check later.
2013-12-29 21:28:41 +00:00
pgoyette
09c7634540 Start modularizing the opencrypto framework. 2013-12-29 18:20:42 +00:00
pgoyette
77b8800e73 Re-sort in alphabetic sequence. 2013-12-29 16:32:32 +00:00
nakayama
08b2d996d1 Make buildable w/o options SUN4V. 2013-12-29 12:36:30 +00:00
pgoyette
1b0023ef9a Modularize net/zlib so it can be used by the vnd module (and, eventually,
by an opencrypto module).
2013-12-29 08:09:44 +00:00
pgoyette
1b9d1cab87 Descend into ccd 2013-12-28 19:45:13 +00:00
pgoyette
8682ae0dd0 ccd module also needs dk_subr 2013-12-28 19:44:41 +00:00
pgoyette
e5a29159a9 Make dksubr.c into a module, and make the cgd and dm modules depend on
it.

Now that cgd is completely modularized, descend into modules/cgd to
actually create the module.
2013-12-28 19:25:07 +00:00
msaitoh
575d9f62e6 Add Intel C2000 PCU SMBus 2013-12-28 11:15:43 +00:00
nakayama
9476feea60 CI_UPAID has been renamed to CI_CPUID. 2013-12-28 11:12:09 +00:00
nakayama
296c58c0d7 Add SUN4V to opt_sparc_arch.h. 2013-12-28 11:09:33 +00:00
nakayama
36e6c2c76d Make 32-bit kernel buildable again. 2013-12-28 11:08:56 +00:00
tsutsui
2098d815c2 Add preleminary support of 4bpp LUNA framebuffer.
Changes details:
- prepare and switch 4bpp rasops functions that read/write all 4 planes
  and also handle both fg and bg colors
- make 1bpp ops use first plane on write rather than common bitmap plane
  (which is prepared for multiple plane write with raster ops)
- prepare 4bpp allocattr function to handle ANSI 16 color text
- split omrasops_init() function for each bpp
- move struct hwcmap from softc to hwdevconfig to sync palette values
  on initialization
- allow mmap(2) against all available planes

Now we can use ANSI 16 color text console and also can
demonstrate mlterm-fb with color sixel graphics and wallpaper.
XXX: Xserver needs much more work.
2013-12-28 09:17:23 +00:00
matt
a49db314d1 Bump SYMTAB_SPACE 2013-12-27 22:13:32 +00:00
christos
e0f5dac1bf Remove strncat now that it is part of the kernel anyway. 2013-12-27 22:09:43 +00:00
palle
f4d9eaa0a8 a) make the hunt through the cpus list more generic b) sun4v: ensure that the interrupt stack is mapped permanently and the TSB is setup properly - parts from OpenBSD. OK martin@ 2013-12-27 21:11:19 +00:00
christos
6865ff7222 use ACPI_DEBUG not ACPI_DEBUGGER which is used internally by acpica 2013-12-27 20:55:59 +00:00
christos
8c78eb9844 fix debugging build. 2013-12-27 20:55:40 +00:00
christos
fcb25a8463 add missing debugger files. 2013-12-27 20:55:03 +00:00
christos
5e0bd251ff add strncat (for acpi) 2013-12-27 20:25:33 +00:00
christos
0a1a7e4862 Add new functions 2013-12-27 18:53:25 +00:00
christos
e9e92000ab - remove function list that was out of date
- explain magical munging so that people are not scared to update in the future.
2013-12-27 18:53:16 +00:00
christos
a76e346af4 function argument changed width 2013-12-27 18:52:16 +00:00