haiku/headers/private
Ingo Weinhold dac21d8bfe * map_physical_memory() does now always set a memory type. If none is given (it
needs to be or'ed to the address specification), "uncached" is assumed.
* Set the memory type for the "BIOS" and "DMA" areas to write-back. Not sure, if
  that's correct, but that's what was effectively used on my machines before.
* Changed x86_set_mtrrs() and the CPU module hook to also set the default memory
  type.
* Rewrote the MTRR computation once more:
  - Now we know all used memory ranges, so we are free to extend used ranges
    into unused ones in order to simplify them for MTRR setup.
  - Leverage the subtractive properties of uncached and write-through ranges to
    simplify ranges of any other respectively write-back type.
  - Set the default memory type to write-back, so we don't need MTRRs for the
    RAM ranges.
  - If a new range intersects with an existing one, we no longer just fail.
    Instead we use the strictest requirements implied by the ranges. This fixes
    #5383.

Overall the new algorithm should be sufficient with far less MTRRs than before
(on my desktop machine 4 are used at maximum, while 8 didn't quite suffice
before). A drawback of the current implementation is that it doesn't deal with
the case of running out of MTRRs at all, which might result in some ranges
having weaker caching/memory ordering properties than requested.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35515 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-18 13:52:43 +00:00
..
app Fixed various errors/warnings reported by cppcheck: 2010-02-08 22:50:38 +00:00
audio
binary_compatibility * Added a basic tool tip API, and implementation. 2009-08-03 14:47:41 +00:00
bluetooth - Move bluetooth net_device module to a independent module HCI, remake API interfaces 2010-01-17 15:46:36 +00:00
debug Added BDebugEventInputStream::Seek() to seek in the stream. Works for data 2009-07-28 18:51:38 +00:00
device Fix Device Kit build in debug mode. 2009-09-13 01:30:38 +00:00
drivers I am trying to help a bit with the transition from IDE to ATA stack. 2009-05-10 17:04:04 +00:00
firewire wakeup() means wake any waiting threads, so we use the relevant flags. this gives a reliable dv receive stream here. 2009-05-24 23:15:04 +00:00
fs_shell * Removed the O_* modes that we currently don't and probably won't support 2009-11-26 14:17:46 +00:00
graphics Fixed various errors/warnings reported by cppcheck: 2010-02-08 22:50:38 +00:00
haiku_package Implemented a tool ("package") that implements creation and extraction of 2009-11-13 13:45:49 +00:00
input * Removed the pretty useless "Multifinger scrolling" option - it's now always 2009-10-06 14:30:57 +00:00
interface * Replace the truncate_string() helper function with a new, simplified version. 2010-02-01 18:43:03 +00:00
kernel * map_physical_memory() does now always set a memory type. If none is given (it 2010-02-18 13:52:43 +00:00
libroot * This fixes the remaining warnings in exit.c 2009-11-26 17:00:09 +00:00
locale * Improve the test for TimeFormat (style and error checking) 2010-02-17 15:35:28 +00:00
mail Preparations for removing __BEOS__ from the compiler defines. 2008-10-23 21:46:26 +00:00
media Fixed various errors/warnings reported by cppcheck: 2010-02-08 22:50:38 +00:00
midi
mount * Removed now obsolete notification (this was not even used in Tracker 2009-10-07 19:31:57 +00:00
net * Removed the interface fallback from the datalink module's is_local_address(). 2009-12-03 14:31:39 +00:00
print
runtime_loader Removed unused elf_version_info::hidden field. 2009-05-21 13:11:54 +00:00
screen_saver Fixed various errors/warnings reported by cppcheck: 2010-02-08 22:50:38 +00:00
shared * BReference no longer uses the deprecated API. 2010-02-14 22:22:17 +00:00
storage * Construct the MIME data base directories lazily. 2009-12-01 08:52:13 +00:00
support More style guide fixes. Removed a lot of preprocessing / conditional building, with intent to fix or remove. Moved urlwrapper class declaration to its header file. Renamed things for clarity. Removed 5 extra mimetypes for IE shortcuts. (We have one, with sniffing rule and extension.) Moved the UnurlString() back to urlwrapper.cpp and renamed it _DecodeUrlString(). Tweaked copyright clauses. A lot more needs fixing, esp. in urlwrapper but also in BUrl, and I intend to keep working on this until we're satisfied. Let me know of any remaining/added style violations! Feedback welcome. 2009-05-13 22:19:42 +00:00
syslog_daemon
system Added support for I/O scheduling events to the system profiler interface. 2009-12-19 14:33:29 +00:00
textencoding
tracker Overlooked this with my previous Trash-related changes: updated NavMenu to be 2010-01-17 17:35:06 +00:00
usb_vision
userlandfs Haiku defines B_BEOS_VERSION_5, so the code didn't work as intended. On Haiku, 2010-01-14 21:50:50 +00:00
vmdk Moved vmdkimage.h to a shareable place, cleaned it up a bit, and renamed it to 2009-10-01 03:08:46 +00:00