Added mm build subdir with mm.c Updated subdir.mak to build $(subdir)_all.o instead of $(subdir).o Updated main Makefile to pass SUBDIR in to subdirectory builds, add $(HOS_TOPLEVEL)/include to compiler include path, and made the linker write a map file Updated boot.asm to use the page_directory symbol from the .bss section defined in mm.o as its temporary stack area git-svn-id: svn://anubis/hos/trunk@22 5b3e749e-e535-0410-8002-a9bb6afbdfca
17 lines
279 B
C
17 lines
279 B
C
|
|
#ifndef MM_H
|
|
#define MM_H MM_H
|
|
|
|
#include "hos_types.h"
|
|
#include "hos_defines.h"
|
|
|
|
typedef u32_t pagedirectory_entry_t;
|
|
|
|
typedef pagedirectory_entry_t
|
|
pagedirectory_t[PAGE_SIZE / sizeof(pagedirectory_entry_t)];
|
|
|
|
extern pagedirectory_t page_directory;
|
|
|
|
#endif
|
|
|