Knowledge

Memory map

Source 📝

362: 293:
How used: The operating system shall allocate an SMAP buffer in memory (20 bytes buffer). Then set registers as specified in "Input" table. On first call, EBX should be set to 0. Next step is to call INT 0x15. If no error, the interrupt call returns with CF clear and the buffer filled with data
134:
BIOSses dated August 23, 1994 or later. The caller sets AX to 0xE801 then executes int 0x15. If some error has happened, the routine returns with CF (Carry Flag) set to 1. If no error, the routine returns with CF clear and the state of registers is described as following:
294:
representing first region of the memory map. EBX is updated by BIOS so that when the OS calls the routine again, The next region is returned in the buffer. BIOS sets EBX to zero if all done.
68:
about memory layout. It contains the information regarding the size of total memory, any reserved regions and may also provide other details specific to the architecture.
94:
programs, a memory map refers to the mapping between loaded executable(or)library files and memory regions. These memory maps are used to resolve
122:
provides a set of routines that can be used by operating system or applications to get the memory layout. Some of the available routines are:
87:, which store the mapping between a certain process's virtual memory layout and how that space relates to physical memory addresses. 403: 427: 396: 47: 130:
This BIOS interrupt call is used to get the memory size for 64MB+ configurations. It is supported by
65: 422: 308: 389: 76: 115: 8: 342: 328: 131: 20: 119: 84: 43: 377: 369: 99: 62: 34:
is a structure of data (which usually resides in memory itself) that indicates how
27: 38:
is laid out. The term "memory map" has different meanings in different contexts.
50:. The associative memory stores both the address and content of the memory word. 373: 95: 72: 152:
Extended memory between 1M and 16M, in KB. (Maximum value: 0x3C00 = 15360KB).
416: 329:"INT 15 - Phoenix BIOS v4.0 - GET MEMORY SIZE FOR >64M CONFIGURATIONS" 35: 80: 91: 58: 54: 361: 303: 183:
BIOS Function: INT 0x15, AX=0xE820 - GET SYSTEM MEMORY MAP:
111: 57:
of some computers, a memory map may be passed on from the
212:
Continuation value or 0x0 to start at beginning of map.
265:
Base address of memory map region referred to by EBX.
236:segment:offset location of the buffer for result. 414: 343:"INT 15 - newer BIOSes - GET SYSTEM MEMORY MAP" 397: 404: 390: 176:Count of configured 64K blocks above 16M. 415: 220:Size of buffer for result (20 bytes). 106: 356: 168:Configured memory 1M to 16M, in KB. 42:It is the fastest and most flexible 126:BIOS Function: INT 0x15, AX=0xE801: 13: 14: 439: 360: 160:Count of 64K blocks above 16M. 335: 321: 228:0x534D4150 (ASCII for 'SMAP') 1: 314: 376:. You can help Knowledge by 7: 297: 10: 444: 355: 309:RAMMap by Mark Russinovich 46:organization that uses an 18: 79:, a memory map refers to 19:Not to be confused with 287:Type of address range. 242:SMAP buffer structure: 77:memory management units 428:Computer science stubs 116:IBM Personal Computer 102:) to actual symbols. 75:implementations and 254:Value description 196:Value description 144:Value description 107:PC BIOS memory map 85:hardware registers 48:associative memory 21:Memory-mapped file 385: 384: 291: 290: 276:Length in bytes. 240: 239: 180: 179: 100:function pointers 435: 406: 399: 392: 370:computer science 364: 357: 347: 346: 339: 333: 332: 325: 245: 244: 190: 189: 138: 137: 96:memory addresses 63:operating system 28:computer science 443: 442: 438: 437: 436: 434: 433: 432: 423:Computer memory 413: 412: 411: 410: 353: 351: 350: 341: 340: 336: 327: 326: 322: 317: 300: 284:DWORD (4 bytes) 273:QWORD (8 bytes) 262:QWORD (8 bytes) 109: 61:to instruct an 24: 17: 12: 11: 5: 441: 431: 430: 425: 409: 408: 401: 394: 386: 383: 382: 365: 349: 348: 334: 319: 318: 316: 313: 312: 311: 306: 299: 296: 289: 288: 285: 282: 278: 277: 274: 271: 267: 266: 263: 260: 256: 255: 252: 249: 238: 237: 234: 230: 229: 226: 222: 221: 218: 214: 213: 210: 206: 205: 202: 198: 197: 194: 178: 177: 174: 170: 169: 166: 162: 161: 158: 154: 153: 150: 146: 145: 142: 108: 105: 104: 103: 88: 73:virtual memory 69: 51: 16:Data structure 15: 9: 6: 4: 3: 2: 440: 429: 426: 424: 421: 420: 418: 407: 402: 400: 395: 393: 388: 387: 381: 379: 375: 372:article is a 371: 366: 363: 359: 358: 354: 344: 338: 330: 324: 320: 310: 307: 305: 302: 301: 295: 286: 283: 280: 279: 275: 272: 269: 268: 264: 261: 258: 257: 253: 250: 247: 246: 243: 235: 232: 231: 227: 224: 223: 219: 216: 215: 211: 208: 207: 203: 200: 199: 195: 192: 191: 188: 185: 184: 175: 172: 171: 167: 164: 163: 159: 156: 155: 151: 148: 147: 143: 140: 139: 136: 133: 128: 127: 123: 121: 117: 113: 101: 97: 93: 89: 86: 82: 78: 74: 70: 67: 64: 60: 56: 52: 49: 45: 41: 40: 39: 37: 33: 29: 22: 378:expanding it 367: 352: 337: 323: 292: 241: 186: 182: 181: 129: 125: 124: 110: 55:boot process 31: 25: 204:0x0000E820 120:compatibles 81:page tables 417:Categories 315:References 90:In native 32:memory map 98:(such as 298:See also 193:Register 141:Register 114:for the 92:debugger 59:firmware 187:Input: 53:In the 248:Offset 66:kernel 36:memory 368:This 233:ES:DI 44:cache 374:stub 304:BIOS 251:Size 118:and 112:BIOS 30:, a 225:EDX 217:ECX 209:EBX 201:EAX 173:EDX 165:ECX 157:EBX 149:EAX 132:AMI 83:or 71:In 26:In 419:: 281:16 405:e 398:t 391:v 380:. 345:. 331:. 270:8 259:0 23:.

Index

Memory-mapped file
computer science
memory
cache
associative memory
boot process
firmware
operating system
kernel
virtual memory
memory management units
page tables
hardware registers
debugger
memory addresses
function pointers
BIOS
IBM Personal Computer
compatibles
AMI
BIOS
RAMMap by Mark Russinovich
"INT 15 - Phoenix BIOS v4.0 - GET MEMORY SIZE FOR >64M CONFIGURATIONS"
"INT 15 - newer BIOSes - GET SYSTEM MEMORY MAP"
Stub icon
computer science
stub
expanding it
v
t

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.