mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-11-15 02:30:11 -08:00
* Add windows and Linux demand-mapping backends * Add exclusive file creation, sizing, flushing and replacement APIs
24 lines
504 B
C
24 lines
504 B
C
// Copyright (c) Epic Games Tools
|
|
// Licensed under the MIT license (https://opensource.org/license/mit/)
|
|
|
|
#ifndef BASE_SYSTEM_H
|
|
#define BASE_SYSTEM_H
|
|
|
|
typedef struct SystemInfo SystemInfo;
|
|
struct SystemInfo
|
|
{
|
|
U32 logical_processor_count;
|
|
U64 page_size;
|
|
U64 large_page_size;
|
|
U64 allocation_granularity;
|
|
U64 physical_memory_size;
|
|
String8 machine_name;
|
|
};
|
|
|
|
////////////////////////////////
|
|
//~ rjf: @per_os_impl System Info
|
|
|
|
internal SystemInfo *get_system_info(void);
|
|
|
|
#endif // BASE_SYSTEM_H
|