FUCKYOU
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
core/capability.o: core\capability.c include\utsm\capability.h \
|
||||
include\utsm\types.h include\utsm\status.h include\utsm\segment.h \
|
||||
include\utsm\uuid.h include\utsm\dirty.h
|
||||
include\utsm\capability.h:
|
||||
include\utsm\types.h:
|
||||
include\utsm\status.h:
|
||||
include\utsm\segment.h:
|
||||
include\utsm\uuid.h:
|
||||
include\utsm\dirty.h:
|
||||
@@ -0,0 +1,11 @@
|
||||
core/dirty.o: core\dirty.c include\utsm\dirty.h include\utsm\types.h \
|
||||
include\utsm\segment.h include\utsm\uuid.h include\utsm\status.h \
|
||||
include\utsm\capability.h include\utsm\arena.h include\utsm\config.h
|
||||
include\utsm\dirty.h:
|
||||
include\utsm\types.h:
|
||||
include\utsm\segment.h:
|
||||
include\utsm\uuid.h:
|
||||
include\utsm\status.h:
|
||||
include\utsm\capability.h:
|
||||
include\utsm\arena.h:
|
||||
include\utsm\config.h:
|
||||
@@ -0,0 +1,10 @@
|
||||
core/dmp.o: core\dmp.c include\utsm\dmp.h include\utsm\types.h \
|
||||
include\utsm\segment.h include\utsm\uuid.h include\utsm\status.h \
|
||||
include\utsm\capability.h include\utsm\dirty.h
|
||||
include\utsm\dmp.h:
|
||||
include\utsm\types.h:
|
||||
include\utsm\segment.h:
|
||||
include\utsm\uuid.h:
|
||||
include\utsm\status.h:
|
||||
include\utsm\capability.h:
|
||||
include\utsm\dirty.h:
|
||||
@@ -0,0 +1,13 @@
|
||||
core/process.o: core\process.c include\utsm\process.h \
|
||||
include\utsm\types.h include\utsm\uuid.h include\utsm\capability.h \
|
||||
include\utsm\status.h include\utsm\config.h include\utsm\drr.h \
|
||||
include\utsm\arena.h include\utsm\log.h
|
||||
include\utsm\process.h:
|
||||
include\utsm\types.h:
|
||||
include\utsm\uuid.h:
|
||||
include\utsm\capability.h:
|
||||
include\utsm\status.h:
|
||||
include\utsm\config.h:
|
||||
include\utsm\drr.h:
|
||||
include\utsm\arena.h:
|
||||
include\utsm\log.h:
|
||||
@@ -0,0 +1,14 @@
|
||||
core/segment.o: core\segment.c include\utsm\segment.h \
|
||||
include\utsm\types.h include\utsm\uuid.h include\utsm\status.h \
|
||||
include\utsm\capability.h include\utsm\dirty.h include\utsm\process.h \
|
||||
include\utsm\config.h include\utsm\arena.h include\utsm\dmp.h
|
||||
include\utsm\segment.h:
|
||||
include\utsm\types.h:
|
||||
include\utsm\uuid.h:
|
||||
include\utsm\status.h:
|
||||
include\utsm\capability.h:
|
||||
include\utsm\dirty.h:
|
||||
include\utsm\process.h:
|
||||
include\utsm\config.h:
|
||||
include\utsm\arena.h:
|
||||
include\utsm\dmp.h:
|
||||
@@ -3,13 +3,16 @@
|
||||
#include <utsm/pckc.h>
|
||||
#include <utsm/process.h>
|
||||
#include <utsm/log.h>
|
||||
#include <utsm/config.h>
|
||||
|
||||
static utsm_segment_desc g_segments[UTSM_MAX_SEGMENTS];
|
||||
static u64 g_generation = 1;
|
||||
|
||||
void utsm_init(void) {
|
||||
log_info("[UTSM] segment table reset begin");
|
||||
for (u32 i = 0; i < UTSM_MAX_SEGMENTS; i++) {
|
||||
u32 max_seg = g_utsm_max_segments;
|
||||
if (max_seg > UTSM_MAX_SEGMENTS) max_seg = UTSM_MAX_SEGMENTS;
|
||||
for (u32 i = 0; i < max_seg; i++) {
|
||||
g_segments[i].state = UTSM_SEG_FREE;
|
||||
g_segments[i].generation = 1;
|
||||
}
|
||||
@@ -24,7 +27,7 @@ void utsm_init(void) {
|
||||
}
|
||||
|
||||
utsm_segment_desc *utsm_get_segment(u32 slot) {
|
||||
if (slot >= UTSM_MAX_SEGMENTS) {
|
||||
if (slot >= g_utsm_max_segments || slot >= UTSM_MAX_SEGMENTS) {
|
||||
return NULL;
|
||||
}
|
||||
return &g_segments[slot];
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
core/utsm_init.o: core\utsm_init.c include\utsm\utsm.h \
|
||||
include\utsm\types.h include\utsm\status.h include\utsm\config.h \
|
||||
include\utsm\uuid.h include\utsm\process.h include\utsm\capability.h \
|
||||
include\utsm\segment.h include\utsm\dirty.h include\utsm\utrw.h \
|
||||
include\utsm\vmm.h include\utsm\linux_loader.h include\utsm\ipc_shm.h \
|
||||
..\utsm-ipc\ipc_proto.h include\utsm\hypercall.h include\utsm\pckc.h \
|
||||
include\utsm\crypto.h include\utsm\log.h
|
||||
include\utsm\utsm.h:
|
||||
include\utsm\types.h:
|
||||
include\utsm\status.h:
|
||||
include\utsm\config.h:
|
||||
include\utsm\uuid.h:
|
||||
include\utsm\process.h:
|
||||
include\utsm\capability.h:
|
||||
include\utsm\segment.h:
|
||||
include\utsm\dirty.h:
|
||||
include\utsm\utrw.h:
|
||||
include\utsm\vmm.h:
|
||||
include\utsm\linux_loader.h:
|
||||
include\utsm\ipc_shm.h:
|
||||
..\utsm-ipc\ipc_proto.h:
|
||||
include\utsm\hypercall.h:
|
||||
include\utsm\pckc.h:
|
||||
include\utsm\crypto.h:
|
||||
include\utsm\log.h:
|
||||
Binary file not shown.
Reference in New Issue
Block a user