Skip to content

Dodać kilka interfejsów SAL API #81

@JohnAmadis

Description

@JohnAmadis

Potrzeba kilku nowych interfejsów SAL API (dmod_sal.h):

bool Dmod_IsRam(const void* address); // sprawdza czy podany adres znajduje sie w RAM
bool Dmod_IsRom(const void* address); // sprawdza czy podany adres znajduje sie w ROM
bool Dmod_IsDma(const void* address); // sprawdza czy podany adres znajduje sie w zakresie DMA
bool Dmod_IsExt(const void* address); // sprawdza czy podany adres znajduje sie w External memory
bool Dmod_IsAddressValid(const void* address); // sprawdza czy podany adres jest poprawny (RAM || ROM || DMA || EXT)

bool Dmod_DelayUs( uint64_t us ); // opoznienie w us 
bool Dmod_SleepMs( uint64_t ms); // uspienie watku w ms

Metadata

Metadata

Assignees

Labels

nice to haveA feature that would be nice to have, but is not urgent

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions