mirror of
https://github.com/simh/simh.git
synced 2026-05-05 07:23:34 +00:00
3B2: Header refactoring and cleanup
This change signficantly improves header hygiene in the 3B2 project by moving global symbols out of 3b2_defs.h and into the appropriate individual module header files. Each compilation unit now includes: - its appropriate matching .h file - any other .h files necessary for linting and compilation Each header file in turn includes 3b2_defs.h, which contains truly global symbols, and which pulls in sim_defs.h and exports global devices.
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
#ifndef _3B2_MEM_H_
|
||||
#define _3B2_MEM_H_
|
||||
|
||||
#include "sim_defs.h"
|
||||
#include "3b2_defs.h"
|
||||
|
||||
uint32 pread_w(uint32 pa);
|
||||
void pwrite_w(uint32 pa, uint32 val);
|
||||
|
||||
Reference in New Issue
Block a user