1. 14 12月, 2008 2 次提交
    • I
      console ASCII glyph 1:1 mapping · 1c55f187
      Ingo Brueckl 提交于
      For the console, there is a 1:1 mapping of glyphs which cannot be found
      in the current font.  This seems to be meant as a kind of 'emergency
      fallback' for fonts without unicode mapping which otherwise would
      display nothing readable on the screen.
      
      At the moment it affects all chars for which no substitution character
      is defined.  In particular this means that for all chars (>= 128) where
      there is no iso88591-1/unicode character (e.g.  control character area)
      you'll get the very strange 1:1 mapping of the (cp437) graphics card
      glyphs.
      
      I'm pretty sure that the 1:1 mapping should only affect strict ASCII
      code characters, i.e.  chars < 128.
      
      The patch limits the mapping as it probably was meant anyway.
      Signed-off-by: NIngo Brueckl <ib@wupperonline.de>
      Acked-by: NH. Peter Anvin <hpa@zytor.com>
      Cc: Egmont Koblinger <egmont@uhulinux.hu>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      1c55f187
    • I
      unicode table for cp437 · f75bc06e
      Ingo Brueckl 提交于
      There is a major bug in the cp437 to unicode translation table.  Char
      0x7c is mapped to U+00a5 which is the Yen sign and wrong.  The right
      mapping is U+00a6 (broken bar).
      
      Furthermore, a mapping for U+00b4 (a widely used character) is missing
      even though easily possible.
      
      The patch fixes these, as well as it provides a few other useful
      mappings.
      
      The changes are as follows:
      
        0x0f (enhancement) enables a sort of currency symbol
        0x27 (bug) enables a sort of acute accent which is a widely used character
        0x44 (enhancement) enables a sort of icelandic capital letter eth
        0x7c (major bug) corrects mapping
        0xeb (enhancement) enables a sort of icelandic small letter eth
        0xee (enhancement) enables a sort of math 'element of'
      Signed-off-by: NIngo Brueckl <ib@wupperonline.de>
      Acked-by: NH. Peter Anvin <hpa@zytor.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      f75bc06e
  2. 12 12月, 2008 1 次提交
  3. 11 12月, 2008 9 次提交
  4. 10 12月, 2008 8 次提交
  5. 09 12月, 2008 10 次提交
  6. 08 12月, 2008 2 次提交
    • Y
      x86, MSI: pass irq_cfg and irq_desc · 3145e941
      Yinghai Lu 提交于
      Impact: simplify code
      
      Pass irq_desc and cfg around, instead of raw IRQ numbers - this way
      we dont have to look it up again and again.
      Signed-off-by: NYinghai Lu <yinghai@kernel.org>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      3145e941
    • Y
      sparse irq_desc[] array: core kernel and x86 changes · 0b8f1efa
      Yinghai Lu 提交于
      Impact: new feature
      
      Problem on distro kernels: irq_desc[NR_IRQS] takes megabytes of RAM with
      NR_CPUS set to large values. The goal is to be able to scale up to much
      larger NR_IRQS value without impacting the (important) common case.
      
      To solve this, we generalize irq_desc[NR_IRQS] to an (optional) array of
      irq_desc pointers.
      
      When CONFIG_SPARSE_IRQ=y is used, we use kzalloc_node to get irq_desc,
      this also makes the IRQ descriptors NUMA-local (to the site that calls
      request_irq()).
      
      This gets rid of the irq_cfg[] static array on x86 as well: irq_cfg now
      uses desc->chip_data for x86 to store irq_cfg.
      Signed-off-by: NYinghai Lu <yinghai@kernel.org>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      0b8f1efa
  7. 06 12月, 2008 4 次提交
  8. 05 12月, 2008 4 次提交