Skip to content

Commit 0310ae0

Browse files
committed
wip
1 parent 716a2d3 commit 0310ae0

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

enclave_apps/oak_echo_raw_enclave_app/src/main.rs

+3
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,13 @@ const MESSAGE_SIZE: usize = 1;
3333
// them back.
3434
#[entrypoint]
3535
fn start_echo_server() -> ! {
36+
log::info!("suo");
3637
let mut channel = FileDescriptorChannel::default();
38+
log::info!("channel");
3739
loop {
3840
let bytes = {
3941
let mut bytes: Vec<u8> = vec![0; MESSAGE_SIZE];
42+
log::info!("allocated bytes");
4043
channel.read_exact(&mut bytes).expect("couldn't read bytes");
4144
bytes
4245
};

enclave_apps/oak_orchestrator/src/main.rs

+1
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,6 @@ fn start() -> ! {
5252

5353
let pid = syscall::unstable_create_proccess(attested_app.elf_binary.as_slice())
5454
.expect("failed to create app process");
55+
log::info!("created application with pid: {}", pid);
5556
syscall::unstable_switch_proccess(pid)
5657
}

oak_restricted_kernel/src/mm/page_tables.rs

+1
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,7 @@ impl CurrentRootPageTable {
293293
/// Safety: The new page tables must keep the identity mapping at -2GB
294294
/// (kernel space) intact.
295295
pub unsafe fn replace(&mut self, pml4_frame: PhysFrame) -> Option<RootPageTable> {
296+
log::info!("new pml4 {:?}", pml4_frame);
296297
// This validates any references that expect boot page tables to be valid!
297298
// Safety: Caller must ensure that the new page tables are safe.
298299
unsafe {

0 commit comments

Comments
 (0)