Share to: share facebook share twitter share wa share telegram print page

Memory map

In computer science, a memory map is a structure of data (which usually resides in memory itself) that indicates how memory is laid out. The term "memory map" has different meanings in different contexts.

  1. It is the fastest and most flexible cache organization that uses an associative memory. The associative memory stores both the address and content of the memory word.[further explanation needed]
  2. In the boot process of some computers, a memory map may be passed on from the firmware to instruct an operating system kernel 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.
  3. In virtual memory implementations and memory management units, a memory map refers to page tables or hardware registers, which store the mapping between a certain process's virtual memory layout and how that space relates to physical memory addresses.
  4. In native debugger programs, a memory map refers to the mapping between loaded executable(or)library files and memory regions. These memory maps are used to resolve memory addresses (such as function pointers) to actual symbols.

PC BIOS memory map

BIOS for the IBM Personal Computer and compatibles 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:

BIOS Function: INT 0x15, AX=0xE801:[1]

This BIOS interrupt call is used to get the memory size for 64MB+ configurations. It is supported by AMI 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:

Register Value description
EAX Extended memory between 1M and 16M, in KB. (Maximum value: 0x3C00 = 15360KB).
EBX Count of 64K blocks above 16M.
ECX Configured memory 1M to 16M, in KB.
EDX Count of configured 64K blocks above 16M.

BIOS Function: INT 0x15, AX=0xE820 - GET SYSTEM MEMORY MAP:[2]

Input:

Register Value description
EAX 0x0000E820
EBX Continuation value or 0x0 to start at beginning of map.
ECX Size of buffer for result (20 bytes).
EDX 0x534D4150 (ASCII for 'SMAP')
ES:DI segment:offset location of the buffer for result.

SMAP buffer structure:

Offset Size Value description
0 QWORD (8 bytes) Base address of memory map region referred to by EBX.
8 QWORD (8 bytes) Length in bytes.
16 DWORD (4 bytes) Type of address range.

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 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.

See also

References

  1. ^ "INT 15 - Phoenix BIOS v4.0 - GET MEMORY SIZE FOR >64M CONFIGURATIONS".
  2. ^ "INT 15 - newer BIOSes - GET SYSTEM MEMORY MAP".


Read other articles:

Confédération Africaine de FootballLogo Discipline Calcio Calcio a 5 Fondazione8 febbraio 1957 GiurisdizioneAfrica Federazioni affiliate54 ConfederazioneFIFA (dal 1957) Sede 6 ottobre Presidente Patrice Motsepe Sito ufficialewww.cafonline.com Modifica dati su Wikidata · Manuale La giurisdizione del CAF La Confédération Africaine de Football (in inglese Confederation of African Football; in arabo الاتحاد الأفريقي لكرة القدم أو الكنفدرالية الأ…

Seirei Gensouki: Spirit ChroniclesSampul volume novel ringan pertama精霊幻想記(Seirei Gensōki)GenreIsekai[1] Seri novelPengarangYuri KitayamaPenerbitShōsetsuka ni NarōTerbit12 Febuari 2014 – 30 Oktober 2020[2]Volume10 Novel ringanPengarangYuri KitayamaIlustratorRivPenerbitHobby JapanPenerbit bahasa InggrisNA J-Novel ClubImprintHJ BunkoDemografiPriaTerbitOktober 2015 – sekarangVolume20 (Daftar volume) MangaPengarangYuri KitayamaIlustratortenklaPenerbitHobby JapanMajala…

Australian rules footballer Australian rules footballer Grace Egan Egan playing for Richmond's VFLW team in June 2019Personal informationDate of birth (2000-06-01) 1 June 2000 (age 23) ThursdayPlace of birth MelbourneOriginal team(s) Richmond (VFLW)Draft No. 13, 2019 national draftDebut Round 1, 2020, Carlton vs. Richmond, at Ikon ParkHeight 170 cm (5 ft 7 in)Club informationCurrent club RichmondNumber 1Playing career1Years Club Games (Goals)2020–2022 Carlton 23 (…

Các khu vực có Khí hậu cận nhiệt đới ẩm trên thế giới   Cfa   Cwa Khí hậu cận nhiệt đới ẩm (Phân loại khí hậu Köppen Cfa hoặc Cwa) là một kiểu khí hậu đặc trưng bởi mùa hè nóng và nhiệt độ ẩm, mùa đông lạnh và hanh khô hơn. Đây là kiểu khí hậu phổ biến ở khu vực Đông Á, bao gồm phần phía đông nam lục địa Trung Quốc, những khu vực nhỏ ở dọc eo biển Hàn Quố…

29 Muharam adalah hari ke-29 dalam kalender Hijriyah Peristiwa 1431 H Gerhana matahari annular paling lama bagi milenium ke-3 terjadi di sebagian Afrika, Samudra Hindia, dan Asia Banjir di Kenya merenggut 38 nyawa dan memaksa 40.000 penduduk berpindah Hari raya atau peringatan 1429 dan 1430 H – Tahun Baru Imlek lbsHari dan bulan dalam setahun HijriyahHari ini: 13 Jumadilawal 1445Muharam 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 Safar 1 2 3 4 5 6 7 8 9 10 …

Bernberg Stadt Gummersbach Koordinaten: 51° 1′ N, 7° 36′ O51.0244444444447.5997222222222256Koordinaten: 51° 1′ 28″ N, 7° 35′ 59″ O Höhe: 256 (240–320) m ü. NN Einwohner: 5152 (31. Dez. 2019) Postleitzahl: 51647 Vorwahl: 02261 Bernberg (Gummersbach) Lage von Bernberg in Gummersbach Bernberg, Siedlung am NordringBernberg, Siedlung am Nordring Bernberg ist ein Ortsteil der Stadt Gummersbach im Oberbe…

O Barão de Santa Engrácia António Esteves de Carvalho, primeiro e único barão de Santa Engrácia (25 de Maio de 1818 — 4 de Agosto 1864), foi um proprietário e negociante de grande prestígio em Lisboa.[1][2] Recebeu título concedido por decreto de D. Luís I de 5 de Novembro de 1862.[1] Foi também comendador da Ordem de Cristo, cavaleiro da Torre e Espada, comendador de São Lázaro de Itália, e ainda condecorado com a medalha da Câmara Municipal de Lisboa, criada para recompensar s…

Демофонт звільняє Етру Етра, також Ефра (грец. Αίθρα) — дочка Піттея, царя Тройзену, дружина Егея, мати Тесея. За одним із переказів, Етру викрали Діоскури, і вона стала рабинею Єлени, з якою прибула до Трої. Етра — дочка Океана, дружина Атланта, від якого в неї народилися…

أنتونيو بيناريفو معلومات شخصية الميلاد 21 أغسطس 1968 (العمر 55 سنة)برينديزي الطول 1.70 م (5 قدم 7 بوصة) مركز اللعب مدافع الجنسية إيطالي المسيرة الاحترافية1 سنوات فريق مشاركات (أهداف) (هـ.) 1986–1989 Brindisi [الإنجليزية] 76 (2) 1989–1991 بادوفا 69 (7) 1991–2004 بارما 258 (5) مجموع 327 (14) المنتخب الوطني…

Ioannis Svoronos Información personalNacimiento 27 de abril de 1863 MiconosFallecimiento 21 de septiembre de 1922 AtenasNacionalidad GriegaEducaciónEducado en Universidad de Atenas (Jurisprudencia)Universidad Humboldt de BerlínUniversidad de LondresUniversidad de París Información profesionalOcupación Arqueólogo, antropólogo, numismático y profesor universitario Área Numismática Empleador Museo Numismático de AtenasUniversidad de Atenas (1918-1920) [editar datos en Wik…

Artikel ini perlu diwikifikasi agar memenuhi standar kualitas Wikipedia. Anda dapat memberikan bantuan berupa penambahan pranala dalam, atau dengan merapikan tata letak dari artikel ini. Untuk keterangan lebih lanjut, klik [tampil] di bagian kanan. Mengganti markah HTML dengan markah wiki bila dimungkinkan. Tambahkan pranala wiki. Bila dirasa perlu, buatlah pautan ke artikel wiki lainnya dengan cara menambahkan [[ dan ]] pada kata yang bersangkutan (lihat WP:LINK untuk keterangan lebih lanjut). …

Nhà nguyện SistinaSacellum Sixtinum (tiếng Latinh)Cappella Sistina (tiếng Ý)Phía Đông của Nhà nguyện Sistine, là bức bích hoạ Sự phán xét cuối cùng (Michelangelo).Tôn giáoGiáo pháiCông giáo La MãQuậnGiáo phận RômaGiáo hội hoặc trạng thái tổ chứcGiáo hoàng oratoryLãnh đạoPhanxicôNăm thánh hiến15/08/1483Vị tríVị tríThành VaticanVị trí trên bản đồ Thành VaticanTọa độ địa lý41°54′11″B 12°27′1…

التعليم في أذربيجان مسير من طرف وزارة التربية الأذربيجانية. طلاب أذربيجانيون يدرسون في باريس عام 1920. التاريخ قبل الحكم السوفييتي، كان التعليم في أذربيجان يركز بشكل كبير على الجانب الديني خاصة للأطفال الصغار. عادة ما يبدأ التعليم في سن الخامسة وينتهي في سن العشرين، وقد كان ا

Wappen Deutschlandkarte 50.50416666666710.615833333333330Koordinaten: 50° 30′ N, 10° 37′ O Basisdaten Bundesland: Thüringen Landkreis: Hildburghausen Verwaltungs­gemeinschaft: Feldstein Höhe: 330 m ü. NHN Fläche: 20,18 km2 Einwohner: 2744 (31. Dez. 2022)[1] Bevölkerungsdichte: 136 Einwohner je km2 Postleitzahl: 98660 Vorwahl: 036873 Kfz-Kennzeichen: HBN Gemeindeschlüssel: 16 0 69 051 LOCODE: DE TMA Stad…

De Sturmgeschütz (gemechaniseerd kanon), en dan met name de Sturmgeschütz III (StuG III), was een van de meest voorkomende Duitse pantservoertuigen uit de Tweede Wereldoorlog. Totaal werden ver over de 10.000 van deze voertuigen geproduceerd. Opvallend is het daarom dat er slechts een handvol (zeven!) ingezet werden in de Noord-Afrikaanse Veldtocht. Eerste inzet StuG samen met een halfrupsvoertuig in de woestijn Er waren twee eenheden die StuG III's in Noord-Afrika hebben ingezet. De eerste wa…

9th Arkansas Infantry Battalion (Confederate)Active1861–1862CountryConfederate States of AmericaAllegianceCSA BranchInfantryEngagementsAmerican Civil War Battle of Shiloh[1] Military unit The 9th Arkansas Infantry Battalion (1861–1862) was a Confederate Army infantry battalion during the American Civil War. The battalion was formed from four companies of McCarver's 14th Arkansas Infantry Regiment. After the Battale of Shiloh, the battalion was consolidated with the 8th Arkansas Infan…

Ten artykuł należy dopracować:od 2015-01 → dodać przypisy do treści niemających odnośników do źródeł, od 2015-01 → poprawić styl – powinien być encyklopedyczny, od 2015-01 → usunąć nieencyklopedyczne treści.Dokładniejsze informacje o tym, co należy poprawić, być może znajdują się w dyskusji tego artykułu. Po wyeliminowaniu niedoskonałości należy usunąć szablon {{Dopracować}} z tego artykułu. Ten artykuł dotyczy filmu. Zobacz też: powieść o tym samym tyt…

Fictional character created by Hayao Miyazaki For the Greek character from the Odyssey, see Nausicaa. For other uses, see Nausicaa (disambiguation). This article has an unclear citation style. The references used may be made clearer with a different or consistent style of citation and footnoting. (August 2023) (Learn how and when to remove this template message) You can help expand this article with text translated from the corresponding article in French. (June 2010) Click [show] for impor…

Private university in Brownwood, Texas, United States Howard Payne UniversityFormer nameHoward Payne College (1889–1974)MottoBelieve, Belong, BecomeTypePrivate universityEstablishedJune 20, 1889; 134 years ago (1889-06-20)Religious affiliationBaptist General Convention of TexasEndowment$58.8 million (2020)[1]PresidentCory HinesStudents1170LocationBrownwood, Texas, United StatesColorsNavy blue and old gold[2]   NicknameYellow JacketsWebsitewww.hp…

The Right HonourableThe Lord KakkarKBE PCOfficial portrait, 2019Chairman of the Judicial Appointments CommissionIncumbentAssumed office 3 October 2016Preceded byChristopher StephensChairman of the House of Lords Appointments CommissionIn office1 October 2013 – 25 October 2018Preceded byThe Lord Jay of EwelmeSucceeded byThe Lord BewMember of the House of LordsLord TemporalIncumbentAssumed office 22 March 2010Life peerage Personal detailsBornAjay Kumar Kakkar (1964-04-28) 28…

Kembali kehalaman sebelumnya

Lokasi Pengunjung: 3.145.49.212