mm/include
Anghelo Carvajal 34492a4386
Move the system heap and the framebuffers to their own segments (#1488)
* make segments for the systemheap and the framebuffers

* define in the makefile

* undefined syms

* Make segments for the pre boot buffers too

* Update spec

Co-authored-by: Parker <20159000+jpburnett@users.noreply.github.com>

* review

* Update spec

Co-authored-by: Parker <20159000+jpburnett@users.noreply.github.com>

* Update Makefile

Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>

* comments

* comment

* move comment about the hardcoded address to buffers.h

* rewrite SYSTEM_HEAP_END_ADDR in terms of other symbols

* Use `ALIGNED` on all the buffers

* Rename SYSTEM_HEAP_END_ADDR to FRAMEBUFFERS_START_ADDR

* Put ALIGNED at the right like the rest of the codebase

* merge

* gLoBuffer

* gHiBuffer

* Add a static assert to ensure the address of gHiBuffer haven't shifted without the user noticing

* smol include cleanup

---------

Co-authored-by: Parker <20159000+jpburnett@users.noreply.github.com>
Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>
2023-11-26 09:47:21 -03:00
..
PR Audio Voice Decompiled (#1490) 2023-11-17 12:29:42 +11:00
audio Introduce Audio `reverb.h` (#1511) 2023-11-24 12:03:38 +11:00
libc Move the system heap and the framebuffers to their own segments (#1488) 2023-11-26 09:47:21 -03:00
tables Gamestate table (#1354) 2023-08-12 11:44:35 -04:00
CIC6105.h Cleanup pass for CIC6105.c (#1371) 2023-09-24 19:23:44 +10:00
alignment.h Match `Environment_DrawSkyboxStarsImpl` (z_kankyo OK), introduce `rand.h` (#1476) 2023-11-10 10:28:16 +11:00
attributes.h Yet another libultra cleanup (#1384) 2023-10-26 10:44:27 -03:00
audiomgr.h AudioMgr cleanup (#1300) 2023-06-21 17:50:26 +10:00
audiothread_cmd.h Enable `-Wint-conversion` warning (#1266) 2023-11-02 10:07:38 +11:00
buffers.h Move the system heap and the framebuffers to their own segments (#1488) 2023-11-26 09:47:21 -03:00
build.h Cleanup pass for CIC6105.c (#1371) 2023-09-24 19:23:44 +10:00
carthandle.h Small boot cleanup (#1475) 2023-11-10 10:08:21 +11:00
color.h Match `Environment_DrawSkyboxStarsImpl` (z_kankyo OK), introduce `rand.h` (#1476) 2023-11-10 10:28:16 +11:00
command_macros_base.h
debug.h Move libultra function declarations to libultra headers (#1196) 2023-09-02 15:34:29 -04:00
fault.h Move libultra variables to their respective headers (#1369) 2023-09-15 11:02:27 -03:00
fault_internal.h Port OoT's docs for `fault.c` and `fault_drawer.c` (#1199) 2023-07-08 14:41:25 -04:00
fixed_point.h
functions.h Yet another header cleanup (#1508) 2023-11-23 13:55:05 +11:00
gamealloc.h Yet another header cleanup (#1508) 2023-11-23 13:55:05 +11:00
gfx.h Yet another header cleanup (#1508) 2023-11-23 13:55:05 +11:00
gfxprint.h Move libultra function declarations to libultra headers (#1196) 2023-09-02 15:34:29 -04:00
global.h
ichain.h Yet another header cleanup (#1508) 2023-11-23 13:55:05 +11:00
idle.h Idle + Main bss and cleanup (#1292) 2023-06-26 10:18:50 +10:00
irqmgr.h Move libultra function declarations to libultra headers (#1196) 2023-09-02 15:34:29 -04:00
listalloc.h PreRender.c OK (#1320) 2023-09-15 19:34:16 -03:00
loadfragment.h Enable `-Wint-conversion` warning (#1266) 2023-11-02 10:07:38 +11:00
macro.inc
macros.h Yet another header cleanup (#1508) 2023-11-23 13:55:05 +11:00
main.h Yet another header cleanup (#1508) 2023-11-23 13:55:05 +11:00
message_data_static.h
os_malloc.h Move libultra function declarations to libultra headers (#1196) 2023-09-02 15:34:29 -04:00
padmgr.h Move libultra function declarations to libultra headers (#1196) 2023-09-02 15:34:29 -04:00
padutils.h Move libultra function declarations to libultra headers (#1196) 2023-09-02 15:34:29 -04:00
prevent_bss_reordering.h
prevent_bss_reordering2.h `z64vi*.h` and `sys_cfb.h` headers (#1259) 2023-08-09 19:44:31 -04:00
rand.h Match `Environment_DrawSkyboxStarsImpl` (z_kankyo OK), introduce `rand.h` (#1476) 2023-11-10 10:28:16 +11:00
regs.h z_kankyo Decompiled (3 non-matching) (#1451) 2023-10-31 14:50:11 +11:00
scheduler.h Move libultra function declarations to libultra headers (#1196) 2023-09-02 15:34:29 -04:00
segment_symbols.h Move the system heap and the framebuffers to their own segments (#1488) 2023-11-26 09:47:21 -03:00
seqcmd.h
sequence.h Provide original sequence names for all BGM and rename some sequences (#1311) 2023-07-10 18:30:21 -04:00
sfx.h
slowly.h
stack.h
stackcheck.h
sys_cfb.h `z64vi*.h` and `sys_cfb.h` headers (#1259) 2023-08-09 19:44:31 -04:00
sys_flashrom.h Enable `-Wint-conversion` warning (#1266) 2023-11-02 10:07:38 +11:00
sys_matrix.h
system_heap.h
system_malloc.h Fix ultratypes types (#1454) 2023-11-16 16:01:42 +11:00
tha.h Enable `-Wint-conversion` warning (#1266) 2023-11-02 10:07:38 +11:00
thga.h
ultra64.h Yet another libultra cleanup (#1384) 2023-10-26 10:44:27 -03:00
unk.h
variables.h Move the system heap and the framebuffers to their own segments (#1488) 2023-11-26 09:47:21 -03:00
vt.h
z64.h Yet another header cleanup (#1508) 2023-11-23 13:55:05 +11:00
z64actor.h `z_en_test4.c` Documented (#1498) 2023-11-25 17:34:33 +11:00
z64animation.h Player doc: anim wrappers (#1434) 2023-11-18 23:55:04 +11:00
z64animation_legacy.h
z64audio.h Introduce Audio `reverb.h` (#1511) 2023-11-24 12:03:38 +11:00
z64bgcheck.h Document Player's bgcheck routine (#1275) 2023-06-24 16:39:55 +10:00
z64bombers_notebook.h Move libultra function declarations to libultra headers (#1196) 2023-09-02 15:34:29 -04:00
z64camera.h `code_80140E80` OK and preliminary documentation, Fbdemo_Wipe4 OK and documented (#1106) 2023-10-26 17:42:24 +11:00
z64collision_check.h Boss01 (Odolwa) OK and documented (#1452) 2023-10-29 08:29:43 +11:00
z64curve.h Yet another header cleanup (#1508) 2023-11-23 13:55:05 +11:00
z64cutscene.h Cutscene Camera OK (Some Docs) (#1411) 2023-10-31 12:44:36 +11:00
z64cutscene_commands.h
z64debug_display.h
z64debug_text.h
z64dma.h
z64door.h Object Cleanup (#1410) 2023-10-05 17:37:52 -03:00
z64eff_footmark.h
z64effect.h Object Cleanup (#1410) 2023-10-05 17:37:52 -03:00
z64environment.h `z_en_test4.c` Documented (#1498) 2023-11-25 17:34:33 +11:00
z64frameadvance.h Move libultra function declarations to libultra headers (#1196) 2023-09-02 15:34:29 -04:00
z64game.h Yet another header cleanup (#1508) 2023-11-23 13:55:05 +11:00
z64game_over.h
z64horse.h
z64interface.h
z64item.h Z_message (2 NON_MATCHINGS) (#1398) 2023-10-04 08:51:45 +11:00
z64jpeg.h Move libultra function declarations to libultra headers (#1196) 2023-09-02 15:34:29 -04:00
z64lib.h Yet another header cleanup (#1508) 2023-11-23 13:55:05 +11:00
z64light.h Yet another header cleanup (#1508) 2023-11-23 13:55:05 +11:00
z64malloc.h Yet another header cleanup (#1508) 2023-11-23 13:55:05 +11:00
z64map.h
z64math.h Yet another header cleanup (#1508) 2023-11-23 13:55:05 +11:00
z64message.h Fix ultratypes types (#1454) 2023-11-16 16:01:42 +11:00
z64object.h Port Proposed OoT Object Docs (#1361) 2023-10-04 14:01:04 +11:00
z64ocarina.h Audio Voice Decompiled (#1490) 2023-11-17 12:29:42 +11:00
z64player.h Move player-related function declarations to `z64player.h` (#1480) 2023-11-21 12:13:29 -03:00
z64prerender.h PreRender.c OK (#1320) 2023-09-15 19:34:16 -03:00
z64quake.h `code_80140E80` OK and preliminary documentation, Fbdemo_Wipe4 OK and documented (#1106) 2023-10-26 17:42:24 +11:00
z64rumble.h Move libultra function declarations to libultra headers (#1196) 2023-09-02 15:34:29 -04:00
z64save.h `z_en_test4.c` Documented (#1498) 2023-11-25 17:34:33 +11:00
z64scene.h Boss05 (Bio Deku Baba) OK and documented (#1510) 2023-11-23 09:37:16 -03:00
z64schedule.h `SCHEDULE_TIME` (#1438) 2023-10-22 16:52:40 +11:00
z64shrink_window.h
z64skin.h Yet another header cleanup (#1508) 2023-11-23 13:55:05 +11:00
z64skin_matrix.h Yet another header cleanup (#1508) 2023-11-23 13:55:05 +11:00
z64skybox.h
z64snap.h
z64sound_source.h
z64speed_meter.h Yet another header cleanup (#1508) 2023-11-23 13:55:05 +11:00
z64subs.h Object Cleanup (#1410) 2023-10-05 17:37:52 -03:00
z64thread.h Port OoT's docs for `fault.c` and `fault_drawer.c` (#1199) 2023-07-08 14:41:25 -04:00
z64transition.h Yet another header cleanup (#1508) 2023-11-23 13:55:05 +11:00
z64view.h Speedmeter OK (#1393) 2023-10-03 15:52:41 +11:00
z64vimode.h `z64vi*.h` and `sys_cfb.h` headers (#1259) 2023-08-09 19:44:31 -04:00
z64viscvg.h `z64vi*.h` and `sys_cfb.h` headers (#1259) 2023-08-09 19:44:31 -04:00
z64visfbuf.h `code_80140E80` OK and preliminary documentation, Fbdemo_Wipe4 OK and documented (#1106) 2023-10-26 17:42:24 +11:00
z64vismono.h `z64vi*.h` and `sys_cfb.h` headers (#1259) 2023-08-09 19:44:31 -04:00
z64viszbuf.h `z64vi*.h` and `sys_cfb.h` headers (#1259) 2023-08-09 19:44:31 -04:00
z64voice.h Audio Voice Decompiled (#1490) 2023-11-17 12:29:42 +11:00
z_en_hy_code.h Object Cleanup (#1410) 2023-10-05 17:37:52 -03:00
z_fireobj.h
z_prenmi.h
z_title_setup.h