mirror of
https://github.com/justinian/jsix.git
synced 2025-12-10 08:24:32 -08:00
In prep for the coming change to keep log entries as a true ring buffer, move the log buffer from bss into its own memory section. Related changes in this commit: - New vm_area_ring, which maps a set of pages twice to allow easy linear reading of data from a ring buffer when it wraps around the end. - logger_init() went away, and the logger ctor is called from mem::initialize() - Instead of an event object, the logger just has a bare wait_queue - util::counted::from template type changed slightly to allow easy conversion from an intptr_t as well as a pointer - Previously added debugcon_logger code removed - this will be added in a separate file in a followup commit
30 lines
280 B
YAML
30 lines
280 B
YAML
---
|
|
- name: linear
|
|
size: 64T
|
|
shared: true
|
|
|
|
- name: bitmap
|
|
size: 1T
|
|
shared: true
|
|
|
|
- name: heapmap
|
|
size: 32G
|
|
|
|
- name: heap
|
|
size: 32G
|
|
|
|
- name: capsmap
|
|
size: 32G
|
|
|
|
- name: caps
|
|
size: 32G
|
|
|
|
- name: stacks
|
|
size: 64G
|
|
|
|
- name: buffers
|
|
size: 64G
|
|
|
|
- name: logs
|
|
size: 2G
|